You can attach the knowledge debugger to a 3DEXPERIENCE session from the Knowledge
Monitor. The code that 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 Knowledge Essentials section of the action bar, click
Knowledge Monitor
Debug
-
Select your options and click OK.
-
Run the script that you want to debug.
-
Click Open Knowledge Monitor.
-
In the Knowledge Monitor window,
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.