Target Language Compiler    

Using TLC Code Coverage to Aid Debugging

Objective: Learning to use TLC coverage statistics to help identify bugs in TLC code.

Example directory: tlctutorial/tlcdebug

This exercise teaches you how to determine if your TLC code is being executed as expected. Here it uses the same model as for the previous exercise. As you focus on understanding flow of control in processing TLC files, you won't need to compile and execute a stand-alone model, only to look at code. The exercise proceeds as follows:


  Fix the Bug and Verify the Fix Getting Started