32 Using the Debugger (Mobile)
This chapter is also available as a video at 'Using the Debugger'.
In this chapter you will learn how to use the intuitive debugger integrated into QF-Test. Those of you already familiar with other IDEs like Eclipse will notice similarities in the functionality and usefulness of the debugger.
We will cover the following debugger features:
- Setting a Breakpoint via Ctrl+F8 (on macOS: ⇧+⌘+B).
-
Pausing test execution
via the Pause button
or
the keyboard shortcut to interrupt test execution ("Don’t Panic" key) Alt+F12.
-
Stepping through Execution via "Step in"
,
"Step over"
and "Step out"
.
-
Skipping nodes via "Skip over"
and "Skip out"
.
- Activating debugger mode on error or exception.
- Resolving problems from the run log.
- Jump directly to the current error in the run log via Ctrl+J. (Jump to run log in chapter "Resolving problems from the run log").
Note Instead of using the buttons you can also trigger commands via the menu bar or keyboard shortcuts. Shortcuts are listed in the QF-Test menus where applicable. A complete overview of keyboard shortcuts used by QF-Test can be found in the appendix Keyboard shortcuts of the manual. There you will also find a small helper for the function key layout of QF-Test to attach to your keyboard.
There are additional debugger features such as
-
"Locate current node"
(Locate current node
in "Advanced Debugging Using the "Variable bindings" Table"),
- "Continue execution from here" via the popup menu of the respective node ("Continue execution from here"),
-
"Rethrow exception"
,
- the table of variable definitions ("Advanced Debugging Using the "Variable bindings" Table"),
which we will discuss in later chapters.