Related Topics:| Setting a Custom On Condition Breakpoint | Breakpoints Window |
| Examples of Setting Custom Breakpoint Actions |
The action CUSTOM allows you to automatically execute one or more debugging commands each time your program reaches a specified event. This functionality is equivalent to the when command in dbx.
Use a Korn-shell script to include the debugging commands you want to execute. If you want program execution to stop, enter stop as the last command.
To create a breakpoint with a custom action:
Breakpoints or Execute
Set Breakpoints.
CUSTOM and enter a Korn-shell script that includes the debugging commands you want to execute.