Breakpoints

Breakpoints are temporary markers that you place in your executable program to tell the debugger to stop your program at a given point. For example, if problems are occurring at a particular line in your program, you can set a breakpoint at that line, then run your program.

When a breakpoint is encountered, execution suspends at the breakpoint before the statement is executed, at which point you can see the stack for the thread and check the contents of variables. You can then step over (execute) and see what effect the statement has on the argument.

You can set one or more of the following types of breakpoints when you are debugging SQLJ:

With the debugger, setting breakpoints is easily accomplished by way of click actions or pop-up menus in the source editor, or menus in the Variables and Outline views. Once set, you can configure breakpoint properties, and you can disable them so that they do not suspend execution and then, later, enable them again.

Related tasks
Using SQLJ breakpoints
Setting a line breakpoint
Setting a method breakpoint
Setting a watchpoint
Viewing and configuring breakpoint properties
Enabling and disabling SQLJ breakpoints
Removing SQLJ breakpoints

Feedback