Article Directory
Troubleshooting
-
Effect or effects not get out
-
Run background can be seen the error
-
pycharm debug function: to help see the code
problem is not clear that place does not lead to results, then the break point
break in play method definition / function / class inside
Background breakpoint debugging
You can see the parameters in the code inside the values, or click on the map attribute obtained indicate the position of
the input value of the property you want to view or other, you can see to
make your code run down, the figures point position or press F8
The front end of an error
- We can see by checking the browser, as shown below
Front-end breakpoint debugging
- Marked break refresh the page to enter debug mode
in a row the top right side are: Pause / Resume (F8 shortcut), single-step execution (F10 shortcut key), step into this block execution (F11 shortcut key), single step out of the implementation of this block, disable / enable all breakpoints
in the current area code is executed, if found in the debug place needs to be modified, but also can immediately modify, save modified to take effect, thus eliminating the need for the code and then go to write, and then looked back refreshed
- The results shown in FIG debugging
- For js file, you must master
- Construction of the front end of the parameter name sent to the background
- url, js ajax request url defined address, routing and background definitions consistent
- The back end of the return data
basis
Corresponding to first find the error location of the code, the logical relationship between the code
- Tip: when introducing separate different types of introduction, as shown below