Introduction to the Debugger |
The GuiXT Script Editor Pro debugger is a powerful tool that allows you to step through
InputScripts.
It enables you to set breakpoints to pause the script execution at specific points and analyze
its current state.
The debugger allows you to monitor variables in real time, verify their values, and track changes. It is specifically designed to efficiently identify and fix issues or errors in InputScripts. Note: The debugger works exclusively with InputScripts, as they represent the logical programming layer in GuiXT. Standard GuiXT scripts that only modify the layout cannot be debugged. Key features include:
|
Activating the Debugger |
If GuiXT is running and an appropriate SAP screen is open, the debugger can be activated by
pressing the "Debug" button.
This opens a dialog for monitoring variables.
![]() Once an InputScript is started on the SAP screen, debugging is automatically activated. You can step through the script to analyze its execution. Additionally, you can set breakpoints to pause at specific points and review the current state. You can also jump to any line in the script. |
Breakpoints |
Breakpoints can be set or removed in several ways:
![]() |
Step-by-Step Execution (Stepping) |
During debugging, several stepping options are available:
Additionally, the following commands are available:
By right-clicking on a line and selecting "Set Next Statement", you can directly set the next line to be executed. This can also be a line earlier than the currently executed one. |
Variable Inspector |
The debugger dialog provides a convenient way to monitor variables.
Variables can be added or viewed as follows:
![]() Breakpoints for Variables:
![]() Filter Option:
![]() |