This is a derived class to provide a child process specifically
for PyDebug with a built-in filter on the output pipe.
The child process for PyDebug is some compiled-language debugger,
like gdb.
Methods
|
|
__init__
transferIstr
|
|
__init__
|
__init__ (
self,
proc_name,
app_name,
breakcmds,
)
This method is the constructor for PyDebugGdbChild.
Arguments
proc_name a string containing the name of the debugger (e.g. gdb)
app_name a string containing the name of the application to
be debugged (e.g. python)
breakcmds a dictionary of break commands and associated on/off flags
returns none
|
|
transferIstr
|
transferIstr (
self,
istr,
myLock,
)
This derived method listens to output from the child and filters it,
and sends the screen if appropriate
Arguments
istr A pipe attached to the child process (the compiled-language
debugger in this case)
myLock A thread lock (in case reading from a file)
returns none
|
|