k-war
k-war

Reputation: 547

Stop PyCharm from going into pydev files on exceptions

Is there a way to stop PyCharm from opening pydev files on syntax errors all the time?

If you write a simple one liner with a syntax error like below:

a = [ 1, 2,

where there closing bracket is missing, PyCharm will open the _pydev_execfile.py file to break on exec line. Any way to stop this?

Upvotes: 1

Views: 201

Answers (1)

mx0
mx0

Reputation: 7143

Open Breakpoints window Ctrl+Shift+F8 (or click on an icon with two small red dots in debugger window) and uncheck Suspend under Python Exception Breakpoint > Any exception.

Breakpoints window

Upvotes: 2

Related Questions