Locate bugs

Learn from the Great God: https://blog.csdn.net/kaka1121/article/details/51538979

Personal summary:

  1. The system environment caused by the problem is searched, and the situation of each field of the database table
  2. First of all, you must be familiar with the business, familiar with the normal processing flow of the functional module where you found the bug , and learn how to view the protocol when it involves the protocol. Then only when you know the normal process, can you judge which link the bug is the problem with, what may be the reason for such a problem, and how to deal with it is correct. So far, for a person who does not understand code, this Enough is enough, you can already provide analytical advice and ideas and even solutions for development. If you are familiar with the code, then let the developer provide the code, and look in-depth to see which part of the code is wrong. You can look at it with the developer, and then discuss the optimal solution.

 

own answer:

1. To locate the bug, you can first look at the error log to see if it is simply out of scope or abnormal content.

2. If there is no error in the actual log, but the logic does not match the correct logic, then you need to see if the programmer writes the code, the settings of each field eg: a field indicates 1, does not indicate 2, the result 1 and 2 is confused, then you check the log and find the fields in the corresponding response

3. There are also some cases where the system directly reports an error, eg: the system is busy, etc. If it is not a service problem, then it should be caused by the content of your input that is not controlled by the system

* The possibility of the fields in the same section above, you can also check whether there is an error according to the flow of the fields in the database

 

Summary of the problem:

1. Poor page performance ---- inconsistent with UI design

Solution: Front end: modify the corresponding css and js

        Mobile: Adjust the way the page layout is rendered

2. The submission of a certain functional content is made, but it is not actually displayed

 

3. Show the error---

 

a: garbled code (text becomes database content)

b: The displayed content is wrong

4. The information storage is incomplete---the content is submitted on a function, and the page display is correct, but the data that should actually be stored in the database is not stored.

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324947704&siteId=291194637