Exception Breakpoint Property Sheet
See Also
You can view the properties of an exception breakpoint by right-clicking
its name in the Breakpoints view of the Debugger window and choosing Properties.
An exception breakpoint has the following properties:
- Condition. Specifies a Boolean expression that triggers the breakpoint when the expression evaluates to True. For information on the syntax rules for setting a condition, see Setting a Condition on a Breakpoint.
- Enabled. If True, stops the program when the program reaches the
breakpoint. If False, removes the breakpoint from your source code but saves the breakpoint for later use.
- Exception Class Name. Shows the name of the class or superclass of the exception.
- Print Text. Specifies the text to print in the Debugger Console view of the Output window when the breakpoint is reached. For information on the tags you can include in the message, see Printing a Breakpoint Message.
- Stop On. Specifies the action that triggers the breakpoint. You can stop the debugger only on exceptions that are caught, only on exceptions that are not caught, or on all exceptions.
-
Suspend Debugging. If True, temporarily stops all threads in the debugging session when the program reaches the breakpoint.
-
Valid. The debugger sets this property. If True, the breakpoint has been successfully set in
the debugged virtual machine. This action happens when the breakpoint's class is loaded and the chosen line exists and contains some instructions. If False, one of the conditions has not been satisfied.
One reason why Valid might be False is that the source is out of sync with the debugged class.
Legal Notices