Debugging Safe X3 files
In this section, you will learn how to debug Safe X3 files. You will also learn about some of the basic Safe X3 Debugger features.
- Open an existing Safe X3 project if you have not done it yet.
- Open the Script explorer view and double click on a Safe X3 file in the tree.

- Click on [
] button to Compile and Debug your script.
Then, your script is starting running in debug mode. The execution thread is just stopped in AECLIRDV
script. This script is an internal tool, you don't have to pay attention to it. Just press F6 key to enter
your script.
An X3 Client matching the script project (same machine, port and folder) must be running in front of your Safe X3 Studio.
If no X3 Client is already launched (or if there is one but in a busy state), a corresponding one will be launched automatically.
- Now just carry on debugging your script by choosing Step or Resume actions
depending on what you want to do. Adding breakpoints help you to halt script execution where you want.
You can also evalue expressions and variables to get their contents.
Take a look at Variables view
and Expression view to get more details about evaluation.
This is one way for invoking Debugger. See Debugging section
for more details about differents way to invoke Debugger.

Safe X3 Debugger
Debugging
Breakpoints
Safe X3 views