Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In visual studio, some lines of code have light grey background while debugging

What does it mean? I am debugging C# code.

like image 323
malay Avatar asked Jul 28 '09 08:07

malay


2 Answers

Grey lines are statements which are on the call stack, including other threads' call stacks. In other words, statements which started, but have not yet finished executing, are greyed. Try clicking on various functions listed in the call stack + switching to other threads and clicking.

like image 59
Anton Tykhyy Avatar answered Nov 14 '22 23:11

Anton Tykhyy


Those are the lines comprising the call stack other than the line for the current frame. Here's a picture:

Call Stack Highlighting
(source: 280z28.org)

like image 24
Sam Harwell Avatar answered Nov 15 '22 00:11

Sam Harwell