How to use pycharm debug? Tutorial for debugging pycharm


How does pycharm debug single step debugging? In the operation of developing the script of pycharm software tool, we need to do the operation of debug step-by-step debugging in the current. Debug is the most commonly used operation to find problems. Let’s take a look at the skills of pycharmdebug step-by-step debugging.

First, open pycharm software and import a project, as shown in the figure below

Then open a python file,Add a breakpoint where you want to debug, as shown in the figure below

Then click the Run menu at the top and selectDebug options, as shown in the figure below

Then the program runs to dThe ebug will stop automatically, a blue bar is displayed, as shown in the following figure

Then you can control the breakpoint step by step at the bottom, as shown in the figure below

Finally, to terminate the breakpoint, click the button on the left, as shown in the figure below

The above is the tutorial of debugging pycharm. I hope you like it. Please continue to pay attention to developeppaer.

Relevant recommendations:

How does pycharm create associated files? Skills of creating Python files with pycharm

How does pycharm set up the code running environment? Pychar’s skills in configuring Python environment

How to package pycharm files into exe? Pycharm’s skills in packaging exe executable files

Recommended Today

[advanced Android] Android uses fluent

1. Rely on the fluent SDK in other directories plugins { id ‘’ id ‘kotlin-android’ } //Rely on the fluent SDK in other directories def localProperties = new Properties() def localPropertiesFile = rootProject.file(‘’) if (localPropertiesFile.exists()) { localPropertiesFile.withReader(‘UTF-8’) { reader -> localProperties.load(reader) } } def flutterRoot = localProperties.getProperty(‘flutter.sdk’) apply from: “$flutterRoot/packages/flutter_tools/gradle/flutter.gradle” android { compileSdkVersion 29 defaultConfig […]