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

Module breakpoints

source code

Breakpoint Objects

Classes [hide private]
  Breakpoint
Breakpoints in Vtrace are platform independant objects that use the underlying trace objects to get things like the program counter and the break instruction.
  TrackerBreak
A breakpoint which will record how many times it was hit (by the address it was at) as metadata for the tracer.
  OneTimeBreak
This type of breakpoint is exclusivly for marking and code-coverage stuff.
  StopRunForeverBreak
This breakpoint will turn off RunForever mode on the tracer object when hit.
  StopAndRemoveBreak
When hit, take the tracer out of run-forever mode and remove this breakpoint.
  CallBreak
A special breakpoint which will restore process state (registers in particular) when it gets hit.
  SnapshotBreak
A special breakpoint type which will produce vtrace snapshots for the target process when hit.
  NiceBreakpoint
Calls the underlying breakpoint constructor with the correct constructor automagically by checking the type you passed in (int vs other).
  HookBreakpoint
A special breakpoint that allows pre/post handlers to be registered on a bp for a function.
  PostHookBreakpoint
Functions [hide private]
 
addHook(trace, expr, pre_callback, post_callback=None, cc=None, argc=None)
Adds the specified pre and post callbacks to the specified expression.
source code