You can attach the knowledge debugger to a
3DEXPERIENCE
session from the
Knowledge Monitor. The code you want to debug
must have been run at least once before launching the knowledge debugger.
This method lets you add
scripts to the list of debuggable objects and add breakpoints to your scripts.
For example, it can be useful if the action is launched by a rule pointing this
action using the
action->Run()
expression.
-
From the
Tools section, click
Knowledge Monitor
Debug
-
Select your options and click
OK.
-
Run the script you want to debug.
-
Click
Open Knowledge Monitor.
-
In the
Knowledge Monitor window, right-click the
object you want to debug in the left tree and select
Add to Debuggable Objects.
The objects are added to the knowledge debugger.
-
Add breakpoints to your code and run it using the debugger
commands as shown in the scenario above.