Python Debugger Improved

Use

pdbi is an improvment on ipdb which is a Python Debugger that exports IPython functionality.
The improvements are aimed at more powerful debugging as well as fixing useless commands.

Example usage:

import pdbi; pdbi.set_trace()

Features

‘cf’ command (continue forever) will continue execution until the end of the program.

‘c’ command argument that allows to decide the number of breakpoints to continue over. ‘c 2’

‘n’ command argument that allows to decide the number of lines to execute. ‘n 2’ [Stops when a frame returns]

New ‘e’ command that will open an editor (Notepad++ on Windows, VIM or VI on Unix) on the current debugger line, then when the editor is closed, the debugger shows the difference and restarts the program (Based on sys.argv).