This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Keyword or function to invoke pdb programmatically
Type: enhancement Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, kbdavidson
Priority: normal Keywords:

Created on 2003-12-03 20:44 by kbdavidson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg61146 - (view) Author: Keith Davidson (kbdavidson) Date: 2003-12-03 20:44
We frequently insert the line "import pdb;pdb.Pdb
().set_trace()" into our code while debugging to do a 
programmatic invokation of pdb.  This allows us to stop 
inside conditional checks, etc.

It would be great if Python had a standard keyword or 
global function (e.g. "start_debugger()") that did this in 
a more intuitive manner.
msg65414 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-04-12 20:19
I don't think this is going to happen any time soon.
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39657
2008-04-12 20:19:14benjamin.petersonsetstatus: open -> closed
resolution: rejected
messages: + msg65414
nosy: + benjamin.peterson
2003-12-03 20:44:06kbdavidsoncreate