PyCharm breakpoint debugging operation method: set breakpoints (click in the blank space next to the code line number or press F9); run debugging (click the "Run" button or press Alt Shift F10); execute step by step (press F10 Go to the next line, F11 to enter the function); check the variables (in the "Variables" section in the "Debug" window); modify the variables (right-click the variable in the "Variables" section and select "Set Value"); continue execution (press F8 from Continue at the current breakpoint); disable/delete breakpoints (click the blue dot to disable, right-click the breakpoint to delete).
PyCharm breakpoint debugging operation method
1. Set breakpoint
F9
on Windows/Linux, Fn F9
on macOS. 2. Run debugging
Alt Shift F10
. 3. Step by step execution
F10
to enter the next line of code. F11
to enter the function. Shift F11
to exit the function. 4. Check the variables
5. Modify variables
6. Continue execution
F8
to continue executing the code. 7. Disable/delete breakpoints
The above is the detailed content of How to operate pycharm breakpoint debugging. For more information, please follow other related articles on the PHP Chinese website!