|ARM Technical Support Knowledge Articles|
Applies to: uVision Debugger
Information in this article applies to:
Is there a way in the µVision Debugger to start and stop trace recording dynamically as my program runs? There are only a few places where I want to record the instructions that are executed.
Yes. The µVision Debugger has a System Variable named itrace that you may use to enable or disable trace recording. This trace only works for the simulator and not the monitor debugger (mon51, mon166, mon251). For example:
itrace = 1; /* Enable Trace Recording */ itrace = 0; /* Disable Trace Recording */
You may download the µVision Simulator C166 Trace Memory Example attached to this article for a more complete example.
Article last edited on: 2005-05-28 22:44:21
Did you find this article helpful? Yes No
How can we improve this article?