-
Notifications
You must be signed in to change notification settings - Fork 68
Debugger breaks into _pydev_execfile.py if there are syntax errors in pythonfile #113
Comments
What should it do? Not break perhaps? |
Yes, or more precisely I'd expect it to just fall over with the runtime exception (error and stack trace printed in output window). |
I'm confused. We had a bug previously where the problem was that it didn't break (but instead just let Python print the error stack and then terminate): #55. I think breaking with an exception notification is preferable, because it's much clearer to the user what the problem is, even if running in external terminal. We can strip our and pydevd internal frames from that stack, though (not just here, but in general) - but technically that would be a part of the Just My Code feature. |
When I reported issue #55, I wasn't using the terminal, I was using the standard VS Code debugger console (as that's the default output window in our extension). The problem then was that it was falling over without sending a message indicating the fact that the program ended. Couple of problems in #55:
Agreed. Yes, this is an exception. Will close this issue in favor of #26 |
Raised Exceptions
Uncaught Exceptions
Debugger will break into
_pydev_execfile.py
The text was updated successfully, but these errors were encountered: