New submission from Brian Curtin <br...@python.org>:

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.

----------
assignee: brian.curtin
components: Tests
files: attach.diff
keywords: patch
messages: 133559
nosy: brian.curtin
priority: normal
severity: normal
stage: patch review
status: open
title: Add option to pause regrtest to attach a debugger
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file21625/attach.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11832>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to