Pycharm debugger will only stop at first breakpoint
I'm a new user to Pycharm and want to step through some code but the only breakpoint I can get it to stop on is it's first line def..., after that it won't stop on anything.
If that isn't the first one it won't stop at all.
Having stopped on this one it won't step line by line either.
Any ideas for a newbie?
Please sign in to leave a comment.
It's hard to understand your issue without some examples. Please provide code samples, and your breakpoint settings from Run > View breakpoints.
Hi Andrey,
Thank you ever so much for replying.
Here's the beginning of my code :-
I've got a break point on the line def newChange() and another one on pay = Decimal(00.00).
When I run the debugger it will stop on the def line and show all the various variables but when I click either 'step over' or 'step into' it all stops does this :-
Here's my settings:-
Many thanks!
Unfortunately I cannot reproduce the issue with this piece of code. Please reproduce the issue in a new file with some minimal code, then provide full content of the file.
same problem for me.
breakpoint works fine outside function. But when thre breakpoint is inside a function or method, only the first breakpoint works
tested with 2019.1.4 and all 2020 version