Is there any difference between resume program(F9) and run to cursor(Alt+F9)?
Hi:
I'm using PyCharm 2019.1.1(Professional Edition).
When I debug a python program, it stop at the first breakpoint,
if use resume program(F9), it just run util the end without stop,
if use run to cursor(Alt+F9), it can stop at all other breakpoints.
I'm so confused that is there any difference between them?
请先登录再写评论。
Hi,
Both "Resume" and "Run to cursor" should make debugger stop at every enabled breakpoint it encounters.
First of all please check your breakpoint settings (Run > View breakpoints), ensure they are enabled.
Ensure that "Attach to subprocess automatically" is enabled in [File | Settings | Build, Execution, Deployment | Python Debugger]
Those are the basic things to check. If Everything seems good, but the issue is still reproduced, please provide code snippet and steps to reproduce.