Keil Logo

µVISION DEBUGGER: LOGGING A TRACE RECORDING TO A FILE


Information in this article applies to:

  • µVision Version 2.30

QUESTION

I would like to record the trace buffer to a file so that I can view it later. Can this be accomphlished with a uV debugger command?

ANSWER

No specific uV debugger command exists for that log feature. However, the copy to clipboard and find functionality for the Disassembly Window and output has been added in µVision2.30 . The trace buffer is combined with the disassembly window and therefore you can copy to clip board and then save the clipboard to a file using MSWordpad. Use the following procedure;

1)  In the debug with simulator mode.
2)  View  - Dissassembly window
3)  View - Debug Toolbar
4)  Start from cursur
5)  Set breakpoint
6)  From Debug Toolbar -  Enable Trace Recording
7)  From Debug Toolbar -  Run (till Breakpoint)
8)  From Debug Toolbar -  View Trace Recording
9)  Move cursor in Disassembly/Trace window and highlight the lines of the Trace buffer to copy.
10) Edit - Copy
11) Start MSWordpad
12) Contol V - to Paste into MSWordpad
13) Save MSWordpad as an ASCII Text file.

The Trace function is still only available in the simulator and not the target level debugger (MON51).

MORE INFORMATION

  • See Also Getting Started with µVision, Chapter 5, Testing Programs

SEE ALSO

Last Reviewed: Friday, May 27, 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.