debugger highliteing question

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

What does it mean when a line is highlighted in green color when you are
broken at a line of code? I've never noticed it green until today, I always
saw it yellow before.
 
You often see this green line when your code is not the top frame in the
call stack. Actually, the green line is the line of code contains the IP
where a function call will return to.

So, if it is a simple line to call subroutine, you might often see the
green line is actually the next line of the code which is expected to run
after the subroutine finished.

If current line contains more stuff to do, the green line could be on the
line itself. (Because the current line still contains the IL (or machine)
instruction where CPU will go after the function returns).

(BTW, the yellow line is the line of code containing current IP of the
thread)

Hope it helps
Lifeng
MS VB team
 
Back
Top