Go to documentation repository
The Intellect software package officially supports debugger Axxon PSIM officially supports Microsoft Visual Studio 2005 debugger.
The Intellect software package Axxon PSIM allows using third-party debuggers for processing JScript scripts. These programs may have the functionality that is not included in the Editor-Debugger utility, for example, step-by-step script execution, watching script variables during script execution, etcand so on.
Info | ||
---|---|---|
| ||
We do not recommend using You must use third-party debuggers with caution, since they do not provide full compatibility with the Intellect software, and as they don't provide full compatibility with Axxon PSIM. The use of third-party debuggers may lead to failure of the Intellect software Axxon PSIM. |
We strongly recommend introducing the breakpoint in the script when using third-party debuggers. To insert the breakpoint, add the following line debugger; command to the script: “debugger;”. The script execution will pause at this linethe place specified by the debugger; command, and the debugger will start automatically.
Info | ||
---|---|---|
| ||
In programming, a breakpoint is a deliberate interruption of program execution at which a debugger call is made. |
When you use a third-party debugger is used, scripts can be started with test events only.
To start the script using a third-party debugger, do the following:
Example. A script with the use of the breakpoint when after Macro 1 starts.
Code Block | ||
---|---|---|
| ||
if (Event.SourceType== "MACRO" && Event.SourceId=="1" && Event.Action == "RUN"); //start Macro 1 { debugger; // breakpoint DebugLogString ("Hello world"); } |