ARM Technical Support Knowledge Articles

STARTING AND STOPPING TRACE CAPTURE

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

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.

ANSWER

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.

SEE ALSO

Article last edited on: 2005-05-28 22:44:21

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential