[IPython-dev] Patches to use pydb instead of pdb for debugging
Ville M. Vainio
vivainio at gmail.com
Sat Oct 7 06:14:19 EDT 2006
On 10/6/06, R. Bernstein <rocky at panix.com> wrote:
> ??object here). This could either be done inside pydb code, but maybe
> it would be neater to do inside ipython since it looks like there are
> routines already for decorating debugger commands. Suggestions on
> where to look to hook into '?' and '??'?
Now they are handled by "handle_help" in iplib.py, but you should
create an input_prefilter hook function that catches the ? commands
and translates them to something you want, e.g. ??foo ->
_pydb.detailedhelpcommand("foo"). see ext_rescapture.py on how to
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-dev