Mercurial > hg
diff mercurial/hbisect.py @ 19640:472fa3b782b1
dispatch: add ability to specify a custom pdb module as a debugger
This adds the ability to specify a config option, ui.debugger, to a custom pdb
module, such as ipdb, and have mercurial use that as its debugger. As long as
the value of ui.debugger is a loadable module with the set_trace and
post_mortem functions, then dispatch will be able to use the custom module.
Debugging _parseconfig is still available in the case of an error since it will
be caught with a default the value of pdb.post_mortem.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Thu, 25 Jul 2013 22:28:34 -0500 |
parents | 07771e233cf1 |
children | 1e5b38a919dd 06ef32c3b4bb |