For testing and manipulating scripts, you use the Console
tab. This simplified version of the ACT Console allows
you to execute commands and edit variables. For example, if the local variable
extension
has been set, you can type
extension.Name
in the command line and press the
Enter key to return the name of the extension:
For the extension DebuggerDemo
, assume that after
completing the update to the Pre-Geometry cell, you inserted a
breakpoint at line 50 of the script main.py
. When you
right-click this same cell in the Project Schematic and select
Edit, the debugger listens as the extension executes,
pausing execution at line 50.
In the Console tab, you can access the available local
variables and change values. For example, typing system1
and
pressing the Enter key accesses your system:
Entering system1.HeaderText="My System"
and then
system1.DisplayText="MySystem"
changes the system header
and display text in the Project Schematic to My
System.
As you execute commands in the console, the debugger reevaluates entries in both the Locals and Watch Expressions tabs.