[New-bugs-announce] [issue11832] Add option to pause regrtest to attach a debugger

Brian Curtin report at bugs.python.org
Tue Apr 12 05:23:48 CEST 2011


New submission from Brian Curtin <brian at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11832>
_______________________________________


More information about the New-bugs-announce mailing list