Go to documentation repository
TheAxxon PSIM software package officially officially supports debugger Microsoft Visual Studio 2005 debugger.
TheAxxon PSIM software package 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 as they don't provide full compatibility with the with Axxon PSIM software, and . The use of third-party debuggers may lead to failure of the Axxon PSIM software. |
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");
} |