The SET TRACE command has six forms:
Pdb > SET TRACE
Pdb > SET TRACE object_class
Pdb > SET TRACE object_class subclass
Pdb > SET TRACE object_class list_of_objects
Pdb > SET TRACE STEP
Pdb > SET TRACE SCHEDULESimilar to the LIST and SHOW commands, the SET TRACE command can be started on all system objects or restricted to only specified objects. The rules of naming object classes, subclasses and object lists are the same as in the LIST and SHOW commands.
sets a trace for all internal events and conditions.
sets a trace for sampling and all its substates, all states beginning with the letter “c” and the state
disconnected
.The Debugger displays trace messages on the terminal screen and/or stores them in a file (when used in conjunction with the SET FILE command).