Skip to main content
Skip table of contents

Configuring the Run/Debug Mode

You can define how processes behave when running in run or debug mode in the X4 Designer.

How to configure the run/debug mode

  1. Select Tools > Options.

  2. Double-click X4 Designer on the left and select Run/Debug.

  3. Define the desired settings:

Option

Description

Enable debug steps delay:

With this option, you define the delay (in milliseconds) between each process step executed in debug mode in Debug steps delay.

The delay occurs only when the process is resumed via Resume.

Debug Stepping Mode:

This option defines the default display behavior when debugging the process steps:

  • Step Over: Steps are executed and each subprocess is debugged as a process step.

  • Step Into: Steps are executed, debugging jumps into subprocesses, and their steps are also displayed.

Break on Entry (Main Process only):

If you select the checkbox, debugging stops after the first process step.

Save automatically on Debug:

If you select the checkbox, the process is automatically saved before starting the debug mode.

Save automatically on Run:

If you select the checkbox, the process is automatically saved before starting run mode.

When starting another debug session:

This option defines the behavior of the debugger when another debugging session is already running:

  • Always abort active debug session: The active debugging session is always aborted and debugging begins immediately.

  • Never abort active debug session: The active debug session is never aborted. The user must manually cancel the active session.

  • Always prompt: When starting the debug mode, the user may be asked if the active session should be aborted.

Debugging can also be restarted using the F4 key.

  1. Click Apply and Close to save the settings and close the window.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.