Class program_object is the super-class of all classes that form PCE's "program world": classes, methods, variables, types and executable objects representing statements (class code).
This class defines the tracing capabilities of PCE using the methods:
->trace
Set a (conditional) trace-point on this object. Entry and exit to this
executable object will be printed.
->break
Set a (conditional) break-point on this object. The interactive tracer
will be trapped when the object is executed.
get(ProgramObject, dflags, Flags), <various trace/break operations> send(ProgramObject, dflags, Flags).
->trace).
After printing the entry or completion of the execution of an object it
prompts the user how to continue.
At this prompt, the user may examine various stacks, set new trace or break-points, etc.
->trace: @default
and program_object->break: @default
(i.e. inherit the value). If the
program_object is created by a goal running in system mode, the program_object<-system
flag is set to @on.<-object.system-mode, which
implies that trace- and break-points reached during the execution will
only be printed if pce<-trace equals always.The arguments are:
on/off / inherit
full Trace all ports (enter, exit and fail) enter Only trace entry exit Only trace successful completion fail Only trace completion with failure
@receiver Receiver of the action @selector Selector of the action @arg1 ... The arguments.
->break->system->trace