I fairly often get to a state in VS (C#) debug breakpoint or exception where I want to exit out of several levels of method to a caller a few levels up the stack. I can then patch up/retry/etc.
In simple cases I can [1] find the end of the current method, [2] set next statement, and [3] step out. Then repeat 1/2/3 working my way up the calling stack till I get where I want to be. However, this is a decided pain ....
Can anyone suggest any automation to help this? In order of preference ....
(I've tried searching, but all the terms I can think of are so generic that I haven't got any useful answers).
Shift-F11
steps out of current method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With