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.

Author brian.curtin
Recipients brian.curtin
Date 2011-04-12.03:23:47
SpamBayes Score 0.0183381
Marked as misclassified No
Message-id <1302578628.99.0.388714550632.issue11832@psf.upfronthosting.co.za>
In-reply-to
Content
Patch to add -a/--attach option to Lib/test/regrtest.py to pause before beginning test runs. This would allow a user to attach Visual Studio or some other debugger. Very simply, this option just blocks waiting for a keystroke during argument parsing - once you're ready, hit any key.

My use case is with Visual Studio, where I've wanted to debug C code used by tests and would prefer to attach to an external command prompt, rather than have to initiate the test from within VS.
History
Date User Action Args
2011-04-12 03:23:49brian.curtinsetrecipients: + brian.curtin
2011-04-12 03:23:48brian.curtinsetmessageid: <1302578628.99.0.388714550632.issue11832@psf.upfronthosting.co.za>
2011-04-12 03:23:48brian.curtinlinkissue11832 messages
2011-04-12 03:23:48brian.curtincreate