Download User`s Manual

Transcript
MODSIM User’s Manual
3.12 Animating Code Execution
To watch source code as your program is executing, simply issue a step command with a
large argument (e.g. 1000). The debugging display window will indicate every context
change and each line of source code as it is being executed.
3.13 Displaying Methods of an Object Type
Use the print command to display all of the methods of an object type. For example, if
there is an object type myObjectType in your program, enter the command print
myObjectType.
3.14 Displaying Fields of an Object Instance
The fields window is constantly updated with the fields of the object that is currently executing or with the object which is in focus as a result of selecting another method on the
call stack. Use the show fields command to print all of the fields of an object instance
to the transcript window. The print command can be used to display the fields of an object that is in the scope of the current context. For example, print myObject will print
all of the fields of myObject, if it is a local variable, a field of the object that is currently
executing, or a global variable. print SELF will generate the same result as show
fields.
54