Package vtrace :: Module watchpoints :: Class Watchpoint
[hide private]
[frames] | no frames]

Class Watchpoint

source code


The basic "break on access" watchpoint. Extended from Breakpoints and handled almost exactly the same way...

Instance Methods [hide private]
 
__init__(self, addr, expression=None, size=4, perms="rw") source code
 
inittrace(self, trace)
A callback to do housekeeping at the time the breakpoint is added to the tracer object.
source code
 
resolvedaddr(self, trace, addr)
An initialization callback which will be executed when the actual address for this breakpoint has been resolved.
source code
 
getName(self) source code
 
activate(self, trace) source code
 
deactivate(self, trace) source code

Inherited from breakpoints.Breakpoint: __repr__, getAddress, getBreakpointCode, getId, isEnabled, notify, resolveAddress, setBreakpointCode, setEnabled

Class Variables [hide private]

Inherited from breakpoints.Breakpoint: bpcodeobj

Method Details [hide private]

__init__(self, addr, expression=None, size=4, perms="rw")
(Constructor)

source code 
Overrides: breakpoints.Breakpoint.__init__

inittrace(self, trace)

source code 

A callback to do housekeeping at the time the breakpoint is added to the tracer object. This should be used instead of activate for initialization time infoz to save on time per activate call...

Overrides: breakpoints.Breakpoint.inittrace
(inherited documentation)

resolvedaddr(self, trace, addr)

source code 

An initialization callback which will be executed when the actual address for this breakpoint has been resolved.

Overrides: breakpoints.Breakpoint.resolvedaddr
(inherited documentation)

getName(self)

source code 
Overrides: breakpoints.Breakpoint.getName

activate(self, trace)

source code 
Overrides: breakpoints.Breakpoint.activate

deactivate(self, trace)

source code 
Overrides: breakpoints.Breakpoint.deactivate