Debugger options

These options modify the behavior of the debugger.

Debugger options
Figure 38.33:  Debugger options
Enable debugger (User)

By default the debugger is disabled unless this option, which can also be modified through the menu item »Debugger«-»Enable debugger«, is activated.

If a test is interrupted by a breakpoint or be pressing the "Pause" button, the debugger is activated automatically. Similarly, starting a test-run with "Step in" or "Step over" will activate the debugger for the duration of that test-run.

Always open debugger window (User)

When test execution is halted and the debugger entered QF-Test can optionally open a separate window for the debugger. This option determines whether debugging should happen in a separate window or the normal test-suite window.

Show variable bindings automatically (User)

When test execution is halted and the debugger entered QF-Test can display the current variable bindings in the workbench window. If this option is active the variables are shown automatically each time a test-run first enters the debugger. Alternatively the variables can be viewed in the debugger window or shown in the workbench window via the menu »Debugger«-»Show variables«.

Automatic breaks (User)

These options describe the situations in which execution of a test will be suspended and the debugger entered:

Break on uncaught exception
The debugger will break if an exception is thrown that will not be handled by a 'Catch' node.
Break on error
The debugger will break if an error occurs.
Break on warning
The debugger will break if a warning occurs.