- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In the new VS Code debugger (which is mostly working well for me (and which I like much better than the old IDE)), I can't figure out where syntax errors are reported.
I'm more of a C++ guy and make a lot of little syntax errors when writing Python code. Every time I make such an error the following happens:
- I click the DEBUG button in the scrip window.
- VS Code launches and opens the correct file.
- I click F5 in the VS window.
- VS "thinks" for anywhere from a few milliseconds to several seconds.
And then nothing. It doesn't start the debugger. It doesn't report an error message (or any problems). Just nothing.
Then I stare at the code until I see the syntax error, fix it, repeat the same process and the debugger starts and steps to "main". As my code size grows this is becoming unworkable; staring works better on a short test program than on a longer more product oriented program.
It must be generating an error message like "unexpected semicolon on line 31", but I don't know where to look.
Solved! Go to Solution.