Package vtrace :: Module breakpoints :: Class CallBreak
[hide private]
[frames] | no frames]

Class CallBreak

source code

Breakpoint --+
             |
            CallBreak

A special breakpoint which will restore process state (registers in particular) when it gets hit. This is primarily used by the call method inside the trace object to restore original state after a successful "call" method call.

Additionally, the endregs dict will be filled in with the regs at the time it was hit and kept until we get garbage collected...

Instance Methods [hide private]
 
__init__(self, address, saved_regs) source code
 
notify(self, event, trace)
Breakpoints may also extend and implement "notify" which will be called whenever they are hit.
source code

Inherited from Breakpoint: __repr__, activate, deactivate, getAddress, getBreakpointCode, getId, getName, inittrace, isEnabled, resolveAddress, resolvedaddr, setBreakpointCode, setEnabled

Class Variables [hide private]

Inherited from Breakpoint: bpcodeobj

Method Details [hide private]

__init__(self, address, saved_regs)
(Constructor)

source code 
Overrides: Breakpoint.__init__

notify(self, event, trace)

source code 

Breakpoints may also extend and implement "notify" which will be called whenever they are hit. If you want to continue the ability for this breakpoint to have bpcode, you must call this method from your override.

Overrides: Breakpoint.notify
(inherited documentation)