Optional breakpoint parameters are used to control the behavior of breakpoints. You can set the following parameters when you set a breakpoint:
Optional breakpoint parameter | Description | Type of breakpoint supported | ||||||
---|---|---|---|---|---|---|---|---|
Threads | ![]() This selection list lets you choose what threads to set the breakpoint in. To select a thread ID from the list, highlight the thread where you want to set the breakpoint. This list is available only on platforms that support multithreaded programs. |
This parameter is supported by all breakpoint types. | ||||||
Frequency | ![]() Use the Frequency controls to tell the debugger when to stop on a breakpoint and when to skip it. The debugger keeps track of how many times each breakpoint is encountered. The fields in this section tell the debugger on which encounter of a breakpoint the debugger should first stop, how often it should stop, and on which encounter the debugger should no longer stop. The following parameters are used to set the breakpoint frequency:
|
This parameter is supported by all breakpoint types. | ||||||
Expression | You can enter an expression into this field. The execution of the program
stops at the breakpoint only if the condition specified in this field tests true. For example, if you are debugging a C++ program you could type the following: (i==1) || (j==k) && (k!=5) |
Line, function or method | ||||||
Defer | Select this check box if you want to set a breakpoint in a program module
that is not currently loaded. If you enter an incorrect source, file, function, or program unit, the debugger will not be able to activate the breakpoint when the program is loaded, and the breakpoint will remain in the deferred state. Restriction: You cannot set a deferred breakpoint in a preloaded DLL or dynamically called routine, but you can set one in a program that has some preloaded DLLs or dynamically called routines and some dynamically loaded ones. |
Line, function or method |
C/C++ supported data types
C/C++ supported expression operands
C/C++ supported expression operators
Supported expressions for Interpreted Java programs