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

Multiple "Next Statement" Arrows in Debug Session

I'm working with some code running on an LPC2378-based board. I'm attempting to JTAG debug the target using uLink2. When I'm stepping through code, however, program flow doesn't seem to follow the path I think it should and multiple "next instruction" arrows are often shown (though one is yellow and one is light blue). I've tried looking through the uVision4 documentation, but can't find any reference to a light-blue arrow or any hint at its meaning.

I've used DK-8051 previously for some 8-bit work and never seen this behavior. I'm new to MDK-ARM and have been foiled a bit in trying to figure out what's going on. Any insight would be greatly appreciate.

Parents
  • In my experience that blue arrow is not "next instruction". That arrow indicates the relation between the disassembly window and the C source. I.e. if you click on an active source line (one that code was actually generated for) while the disassembly window is open, the focus will move to the disassembly, and the blue arrow will be on the line you clicked on. Likewise if you click on a line in the disassembly, the blue arrow will move to the source line(s) corresponding to it.

Reply
  • In my experience that blue arrow is not "next instruction". That arrow indicates the relation between the disassembly window and the C source. I.e. if you click on an active source line (one that code was actually generated for) while the disassembly window is open, the focus will move to the disassembly, and the blue arrow will be on the line you clicked on. Likewise if you click on a line in the disassembly, the blue arrow will move to the source line(s) corresponding to it.

Children