WinDbg go up (gu) without hitting any other breakpoint.
Today I defined hundreds of breakpoints, including breakpoints in functions A, B and C.
When I break into function A, I want to go up (run until the current function returns) without breaking into other breakpoint.
MyApp!A <--- First break.
MyApp!main <--- I want to go back to main without breaking anywhere else.
Unfortunately, function A calls B and B calls C. So I have to break into B:
MyApp!B <--- Second break.
MyApp!A
MyApp!main
And then into C:
MyApp!C <--- Third break.
MyApp!B
MyApp!A
MyApp!main
Before coming back to main.
And easy solution to this problem is to disable all breakpoints, go up, and re-enable all breakpoints, i.e.:
bd *; gu; be *;
You don't have to remove B and C breakpoints and define them again after going up.