Package conary :: Package lib :: Module epdb
[hide private]
[frames] | no frames]

Module epdb

source code

Extended pdb

Classes [hide private]
  Epdb
Functions [hide private]
 
beingTraced() source code
 
set_trace_cond(*args, **kw)
Sets a condition for set_trace statements that have the specified marker.
source code
 
stc(*args, **kw)
Sets a condition for set_trace statements that have the specified marker.
source code
 
reset_trace_count(marker='default')
Resets the number a set_trace for a marker has been seen to 0.
source code
 
set_trace(marker='default')
Starts the debugger at the current location.
source code
 
st(marker='default')
Starts the debugger at the current location.
source code
 
post_mortem(t, exc_type=None, exc_msg=None) source code
 
matchFileOnDirPath(curpath, pathdir)
Find match for a file by slicing away its directory elements from the front and replacing them with pathdir.
source code
 
_removeQuotes(line) source code
 
_removeQuoteSet(line, quote1, quote2) source code
Variables [hide private]
  hasReadline = True
Function Details [hide private]

set_trace_cond(*args, **kw)

source code 
Sets a condition for set_trace statements that have the specified marker. A condition can either callable, in which case it should take one argument, which is the number of times set_trace(marker) has been called, or it can be a number, in which case the break will only be called.

stc(*args, **kw)

source code 
Sets a condition for set_trace statements that have the specified marker. A condition can either callable, in which case it should take one argument, which is the number of times set_trace(marker) has been called, or it can be a number, in which case the break will only be called.

set_trace(marker='default')

source code 
Starts the debugger at the current location. Takes an optional argument 'marker' (default 'default'), that can be used with the set_trace_cond function to support turning on and off tracepoints based on conditionals

st(marker='default')

source code 
Starts the debugger at the current location. Takes an optional argument 'marker' (default 'default'), that can be used with the set_trace_cond function to support turning on and off tracepoints based on conditionals

matchFileOnDirPath(curpath, pathdir)

source code 
Find match for a file by slicing away its directory elements from the front and replacing them with pathdir. Assume that the end of curpath is right and but that the beginning may contain some garbage (or it may be short) Overlaps are allowed: e.g /tmp/fdjsklf/real/path/elements, /all/the/real/ => /all/the/real/path/elements (assuming that this combined path exists)