microsoft / microsoft/PTVS

Unable to disable python exceptions

Open
#7,733 0 comments 0 reactions 1 assignee View on GitHub

@int19h is already working on this.

Since Dec 12, 2023.

debugging
Dominant language
C#
Stars
2.6k
Forks
680
Avg merge
39m
Merged PRs (30d)
1

Description

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work] [regression] [worked-in:vs2019]
In VS2022, I'm unable to disable any python exceptions.
If a debugger is attached, it will break on every single exception even the benign ones. Which makes debugging impossible with certain scripts that use exceptions part of non-erroneous executions.
I tried disabling/enabling all in the exceptions window. No impact either way.
I tried different python versions. no impact.
I tried unchecking the "new exception helper". I get a different exception window (btw, much more helpful than the "new" one), but the "break when ..." is greyed out. So I can't disable an exception from there either.
I played with other options, no luck.

Vs2019 had a similar issue, but if i remember correctly, it had a "use legacy debugger" option, which I think ended up resolving this issue. Unfortunately, you removed that option.


Original Comments
Feedback Bot on 10/12/2023, 04:02 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.