.leave
The .leave token is used to exit from a .catch block.
.catch { ... ; .if (Condition) .leave ; ... }
Additional Information
For information about other control flow tokens and their use in debugger command programs, see Using Debugger Command Programs.
Remarks
When a .leave token is encountered within a .catch block, the program exits from the block, and execution resumes with the first command after the closing brace.
Since there is no control flow token equivalent to the C goto statement, you will usually use the .leave token within an .if conditional, as shown in the syntax examples above. However, this is not actually required.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for