[issue26728] make pdb.set_trace() accept debugger commands as arguments and run them after entering the debugger

2016-04-10 Thread SilentGhost
Changes by SilentGhost : -- components: +Extension Modules, Library (Lib) -Interpreter Core nosy: +georg.brandl ___ Python tracker

[issue26728] make pdb.set_trace() accept debugger commands as arguments and run them after entering the debugger

2016-04-10 Thread irdb
New submission from irdb: I usually insert the following line in the middle of code to start the debugger from there: import pdb; pdb.set_trace() More often than not, I need to run some commands immediately after entering the debug mode, e.g. watch (display) some variables, create some