Keil Logo

µVISION DEBUGGER: SOURCE LEVEL DEBUG DOES NOT WORK IN FLASH


Information in this article applies to:

  • µVision Version 2
  • µVision Version 3

QUESTION

My application is downloaded to Flash before I start debugging. When I start the debugging mode, I can only work in the disassembly window. It is not possible to set breakpoints in the source modules or see any variable in the watch window.

ANSWER

Most likely you have not loaded the application into the µVision debugger. If the application is not loaded, there is no debugging information available. To enable it, go to Options for Target — Debug and check the box Load Application at Startup below your target driver's name. After restarting the debugger, you should be able to see a dark gray coloring to the left of each downloaded source line.

Note: The option Load Application at Startup does not handle the flashing process.

If you want the application to be downloaded to flash automatically before debugging, go to Options for Target — Utilities and check Update Target before Debugging.

MORE INFORMATION

  • Refer to Debug in the µVision3 User's Guide.

SEE ALSO

Last Reviewed: Friday, February 24, 2017


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.