I apologize if this is a duplicate post, but I couldn't find the answer in any other thread.
I am aware I could step into my application by starting the debugger with F10 or F11. I am also aware that I could set a breakpoint on certain GUI events. However - this is not what I want.
I would like to be able to press a button somewhere in VS, and have it kick into "step-into" mode so that the next piece of user code that gets triggered is stepped through. I want to do this so I don't have to set breakpoints all over in my code. It would save me a lot of time to be able to get the application in a certain state, manually turn on step-into mode, and then do something to trigger code to run that I want to step through.
Any ideas?
Edit:
Here's a step by step since I didn't explain it very well. There are two suggestions to use the Break All, but this still occurs before what I'm trying to do.
My goal:
- Launch Application
- Manipulate Application without breakpoints/step-through
- Manually Turn on Step-Through
- Trigger code (click a button, hover over something, change focus, etc.)
- Be in step through mode at the code that was triggered by my action.
As you can see - the Break All command occurs as does not allow me to trigger step 4. It immediately halts the program, and I'm still left finding the code that will trigger when I perform an action.
I understand this may not be possible; I just want to hear that from the experts so I can stop looking for it.