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

Class WindowsDebugger

source code


Windows debugger monitor. Uses PaiMei pydbg module

Instance Methods [hide private]
 
__init__(self, args)
Constructor.
source code
 
_StartDebugger(self) source code
 
_StopDebugger(self) source code
 
GetProcessIdByName(self, str)
Try and get pid for a process by name.
source code
 
OnTestStarting(self)
Called right before start of test.
source code
 
OnTestFinished(self)
Called right after a 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
 
StopRun(self)
Return True to force test run to fail.
source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, run, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

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: object.__init__
(inherited documentation)

OnTestStarting(self)

source code 

Called right before start of test.

Overrides: agent.Monitor.OnTestStarting

OnTestFinished(self)

source code 

Called right after a test.

Overrides: agent.Monitor.OnTestFinished

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

StopRun(self)

source code 

Return True to force test run to fail. This should return True if an unrecoverable error occurs.

Overrides: agent.Monitor.StopRun
(inherited documentation)