Go to Glossary Go to Search Go to IBM C and C++ Compilers Help Home Page Go to IBM Software WWW Site

Defer Breakpoint

Select the Defer breakpoint check box if you want to set a function breakpoint in a DLL that is not currently loaded.

If you set a deferred function breakpoint on a C++ function, and that function is overloaded, the debugger sets the breakpoint in all of the overloaded functions when the DLL is loaded.

When a DLL in which you have set a deferred breakpoint is loaded, the breakpoint state changes from deferred to active. When the DLL is freed, the breakpoint state changes back to deferred.

If you enter an incorrect source, file, or function, the debugger will be unable to activate the breakpoint when the DLL is loaded, and the breakpoint will remain in the deferred state.

Note: You cannot set a deferred breakpoint in a preloaded DLL, but you can set one in a program that has some preloaded DLLs and some dynamically loaded ones.