image

Temporary Breakpoints

image

A temporary breakpoint is a breakpoint which automatically removes itself when encountered by the path of execution.

Thus, we will pause there, but only once; after that, the breakpoint will be gone. This is convenient, for example, to pause the first time through a certain loop but not on subsequent iterations, or the first time a certain handler is called.

To set a temporary breakpoint:

An enabled temporary breakpoint marker is shown in yellow.

image

Disabling a temporary breakpoint also turns it into a normal breakpoint. There is no such thing as a disabled temporary breakpoint.

Option-clicking an existing normal breakpoint turns it into a temporary breakpoint. Option-clicking an existing temporary breakpoint turns it into a normal breakpoint and also disables it.



Execute to Here
image