Enable or disable method tracing
etrace level level-number et level level-number
This command enables or disables method tracing, depending
on the value of level
:
Level | Description |
---|---|
| Turn tracing off. |
| Trace model methods. |
| Trace model and system methods. |
| Trace model, system, and block methods. |
When method tracing is on, the debugger prints a message at the command line every time a method of the specified level is entered or exited. The message specifies the current simulation time, whether the simulation is entering or exiting the method, the method id and name, and the name of the model, system, or block to which the method belongs.