Peach :: Agent :: debugger :: UnixGdb :: Class UnixGdb
[hide private]

Class UnixGdb

source code



Unix GDB monitor.  This debugger monitor uses the gdb
debugger via pygdb wrapper.  Tested under Linux and OS X.

        * Collect core files
        * User mode debugging
        * Capturing stack trace, registers, etc
        * Symbols is available

Instance Methods [hide private]
 
__init__(self, args)
Constructor.
source code
 
_StartDebugger(self) source code
 
_StopDebugger(self) source code
 
_IsDebuggerAlive(seld) source code
 
OnTestStarting(self)
Called right before start of test.
source code
 
GetMonitorData(self)
Get any monitored data.
source code
 
DetectedFault(self)
Check if a fault was detected.
source code
 
OnFault(self)
Called when a fault was detected.
source code
 
OnShutdown(self)
Called when Agent is shutting down.
source code

Inherited from agent.Monitor: OnTestFinished, StopRun

Method Details [hide private]

__init__(self, args)
(Constructor)

source code 

Constructor. Arguments are supplied via the Peach XML file.

Parameters:
  • args - Dictionary of parameters
Overrides: agent.Monitor.__init__
(inherited documentation)

OnTestStarting(self)

source code 

Called right before start of test.

Overrides: agent.Monitor.OnTestStarting

GetMonitorData(self)

source code 

Get any monitored data.

Overrides: agent.Monitor.GetMonitorData

DetectedFault(self)

source code 

Check if a fault was detected.

Overrides: agent.Monitor.DetectedFault

OnFault(self)

source code 

Called when a fault was detected.

Overrides: agent.Monitor.OnFault

OnShutdown(self)

source code 

Called when Agent is shutting down.

Overrides: agent.Monitor.OnShutdown