Skip to content

[Feature Request] Allow the debugger to ignore specific raised exceptions #5584

Closed
@majode

Description

@majode

Given that Python uses iterators basically everywhere and that normal iterator behavior throws a StopIteration exception to signal reaching the end of the iteration, it would be rather useful to be able to specify a set of exceptions to ignore during debugging when breaking on Raised Exceptions is enabled. Even just the ability to ignore StopIteration exceptions would be incredibly useful.

VS Code: Version 1.33.1
ms-python.python extension: Version 2019.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions