Reputation: 1498
When I am debugging my code, sometimes I need to look at another method or class. When I want to turn back to yellow arrow, I have to navigate between files and search the yellow arrow. I can use Step Over (F10), but I don't want to do that. I need the current status. Is there an easy way to jump to yellow arrow?
Upvotes: 2
Views: 3792
Reputation: 4977
In Visual Studio, the command is Debug.ShowNextStatement
and it's bound to Alt+Num *
by default if you're using the "Visual C#" settings. Of course, you can bind it to just about anything else you want by going to Tools > Options... > Environment / Keyboard
.
Upvotes: 6
Reputation: 109210
The yellow arrow marks the current point of execution.
There are several ways to return to this point in the editor. Perhaps the simplest is to double click on the top of the current execution stack.
Where multiple threads are involved you can double click on a thread in the threads tool window to return to the point of execution for that thread.
Upvotes: 4