Keil Logo

µVISION DEBUGGER: STARTING AND STOPPING TRACE CAPTURE


Information in this article applies to:

  • µVision Version 2.06

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

ATTACHED FILES

Request the files attached to this knowledgebase article.

Last Reviewed: Saturday, May 28, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.