This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Meaning of shading in source code margin debug window

I would like to know what the shading means in the left margin of the source code window in debug. It is mostly a very light gray but certain parts of it are a darker gray so it look like a bunch of little dark gray blocks. I can't for the life of me figure out if it relates to comments or blocks of code or what. Since I am troubleshooting some code that does not seem to be getting executed it would be helpful to know. I am using uVision MDK-Lite V4.72.10.0 for a STM32F0 processor.

Thanks.

Mike

Parents
  • Dark gray blocks indicate that debug line numbers for the
    statements are available - that is, they relate to executable
    code. You can set breakpoints at the dark gray marked statements,
    you cannot on the light gray areas (no executable code).
    Also, the context menu items 'Run to cursor line',
    'Set PC at current line' are enabled only in 'dark gray' ranges.

Reply
  • Dark gray blocks indicate that debug line numbers for the
    statements are available - that is, they relate to executable
    code. You can set breakpoints at the dark gray marked statements,
    you cannot on the light gray areas (no executable code).
    Also, the context menu items 'Run to cursor line',
    'Set PC at current line' are enabled only in 'dark gray' ranges.

Children