Search code examples
visual-studio-2010.net-4.0breakpoints

Which line in the code


Is there any way to get which line of the code is running?

E.g. in some method I ran another programm and I'm waiting to ending. Now I want to know which line called this program without using breakpoints


Solution

  • If you hit the "pause" button in the debugger, navigate to the right thread if necessary, and look at the stack, you'll see where you are. If that's not what you're looking for, please clarify your question.