µVISION DEBUGGER: SOURCE LEVEL DEBUG DOES NOT WORK IN FLASH
Information in this article applies to:
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.
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.
Last Reviewed: Friday, February 24, 2017
of your data.