diff --git a/python3/vimspector/breakpoints.py b/python3/vimspector/breakpoints.py index 7d55704..464f2a7 100644 --- a/python3/vimspector/breakpoints.py +++ b/python3/vimspector/breakpoints.py @@ -123,6 +123,7 @@ class ProjectBreakpoints( object ): self._line_breakpoints = defaultdict( list ) self._func_breakpoints = [] + self._exception_breakpoints = None self.UpdateUI() diff --git a/support/test/python/simple_python/.vimspector.json b/support/test/python/simple_python/.vimspector.json index 5e5902a..5cb036c 100644 --- a/support/test/python/simple_python/.vimspector.json +++ b/support/test/python/simple_python/.vimspector.json @@ -48,6 +48,17 @@ "uncaught": "" } } + }, + "run - exception question": { + "adapter": "debugpy", + "configuration": { + "request": "launch", + "type": "python", + "cwd": "${workspaceRoot}", + "program": "${file}", + "stopOnEntry": false, + "console": "integratedTerminal" + } } } }