Commits

Author Commit Message Labels Comments Date
Antonio Cuni
don't crash if the pylib is not installed
Antonio Cuni
handle nicely "edit foo", where foo has been generated inside py.code.Source()
Antonio Cuni
fix this annoying bug that made "ll" to show the wrong lines when doing set_trace at module level
Antonio Cuni
add the possibility to do "edit <obj>", and get the editor open at the position where obj is defined (for functions and methods)
Antonio Cuni
the co_filename.__source__ hack is no longer needed with newer pylib versions
Antonio Cuni
ops, we cannot disable capturing during the tests, else they fail!
Antonio Cuni
fix the really annoying interatction between py.test and pdb: now, if you invoke pdb when py.test is capturing the output, the capturing is suspended and you can get your nice pdb prompt :-)
Antonio Cuni
implement a new, object-oriented API for wmctrl
Antonio Cuni
revert r76276, it didn't work too well and breaks pp if pygments is not installed
Antonio Cuni
fix the test
Antonio Cuni
change "ring_if_not_active" into "exec_if_unfocused", so that you can customize the command to run
Antonio Cuni
colorize "pp" output
Antonio Cuni
various editing that were lying in my wc
Armin Rigo
Add an option to ignore pygments even if it is installed. I personally prefer my source code to be that way :-)
Antonio Cuni
new pdb++ feature: allow to programmaticaly enable() and disable() pdb
Antonio Cuni
small changes that had been laying in my wc for ages
Antonio Cuni
if the current context contains a variable named args, disable the pdb 'args' command and simply show the value of the variable
Antonio Cuni
try to not include side-effects free statements into "put"
Antonio Cuni
put the text directly before the pdb.set_trace(), not after
Antonio Cuni
- add the new 'put' command, which tries to open your editor at the line where pdb started and automatically inserts all the expressions you evaluated (with the correct indentation) - play a sound when the pdb prompt is displayed, if the windows is not currently focused
Maciej Fijalkowski
don't crash with assertion error when there is a problem running pdb
Antonio Cuni
add a test for do_edit, and fix a bug
Antonio Cuni
add a new dummy function set_tracex, which is absolutely useless for normal python users, but can be used as a hook for breakpoints in rpython programs compiled to CLI
Antonio Cuni
calculate the lenght of the lines *before* doing the highlighting, else the escape sequences are counted as well; make the truncation of long lines optional
Armin Rigo
(antocuni, arigo) Port the py.test.custompdb fix to this version of pdb, allowing the "up" command to go past generator frames.
Armin Rigo
* use the terminal size to improve the display of _print_lines() * in sticky mode, show the return value or exception when leaving a function * in sticky mode, "up" and "down" refresh the sticky display
Antonio Cuni
add a new useful command to pdb++: 'edit' (or 'ed'), which opens your favorite editor visiting the current file at the current line
Antonio Cuni
try harder to make 'l' an alias to 'll'. This way it works also with py.test.custompdb
Antonio Cuni
make Pdb.__init__ compatible with extra arguments which are present in python 2.5. Note that the 'completekey' parameter is overridden by the config value, though
Antonio Cuni
add an optional arg to sticky, which allows to select the range of lines to display
  1. Prev
  2. Next