Skip to content

Commit

Permalink
Add tooltips for exception breakpoint filters. (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Minaev authored and int19h committed Dec 9, 2021
1 parent cf0d684 commit baf6121
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/debugpy/adapter/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,23 @@ def initialize_request(self, request):
self._initialize_request = request

exception_breakpoint_filters = [
{"filter": "raised", "label": "Raised Exceptions", "default": False},
{"filter": "uncaught", "label": "Uncaught Exceptions", "default": True},
{
"filter": "raised",
"label": "Raised Exceptions",
"default": False,
"description": "Break whenever any exception is raised.",
},
{
"filter": "uncaught",
"label": "Uncaught Exceptions",
"default": True,
"description": "Break when the process is exiting due to unhandled exception.",
},
{
"filter": "userUnhandled",
"label": "User Uncaught Exceptions",
"default": False,
"description": "Break when exception escapes into library code.",
},
]

Expand Down

0 comments on commit baf6121

Please sign in to comment.