The .break token behaves like the break keyword in C.

    .for (...) { ... ; .if (Condition) .break ; ...} 

.while (...) { ... ; .if (Condition) .break ; ...} 

.do { ... ; .if (Condition) .break ; ...} (...) 

Additional Information

For information about other control flow tokens and their use in debugger command programs, see Using Debugger Command Programs.


The .break token can be used within any .for, .while, or .do loop.

Since there is no control flow token equivalent to the C goto statement, you will usually use the .break token within an .if conditional, as shown in the syntax examples above. However, this is not actually required.



Send comments about this topic to Microsoft