Network container and program debugging method based on the same
A program debugging and program technology, applied in the field of debugging, can solve problems such as inability to control and process data changes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] Embodiment 1 of the present invention discloses a program debugging method when the control of data is to set the access frequency, the aforementioned process is as follows figure 2 As shown, the flow of its control process is as follows image 3 shown, including:
[0062] Step S31, determining to set the access frequency;
[0063] Step S32, calculate the interval time between visits according to the visit frequency value set as required;
[0064] Step S33, setting the access interval time of the network container as the above-mentioned calculated value through the interface;
[0065] Step S34, the frequency setting process ends.
[0066] In the process of program debugging and running, through the above method, the frequency data of the network container can be controlled through the interface, which can conveniently control the data change process, control the data access frequency to meet the needs of various situations in the debugging process, and make the debu...
Embodiment 2
[0068] The embodiment of the present invention discloses a debugging method when the control of data is to modify data, and the foregoing process is as follows figure 2 As shown, the flow of its response process is as follows Figure 4 shown, including:
[0069] Step S41, according to actual needs, modify the corresponding data in the storage unit through the interface;
[0070] Step S42, sending the modified data to the program;
[0071] Step S43, display the modified data on the interface, and save it back to the data storage unit at the same time;
[0072] Step S44, the process of modifying data ends.
[0073] The program stores the data in the debugging process in the network container, and the network container can easily modify the data in the container. The modified data includes: fabricating the same type of data, creating some abnormal data, illegal data and wrong data. By creating illegal data and wrong data to verify the correctness of the program processing fl...
Embodiment 3
[0075] The embodiment of the present invention discloses a debugging method when the control of the data is to return a null character, and its aforementioned process is as follows figure 2 As shown, the flow of its response process is as follows Figure 5 shown, including:
[0076] Step S51, sending a character string without data to the program;
[0077] Step S52, return to the end of the null character process.
[0078] When it is necessary to create the illusion that there is no data in the container, this method can be used to create the illusion that there is no data in the container by returning a string without data to the program, thereby achieving the purpose of creating a scene that cannot be created by other debugging methods.
[0079] The network container-based debugging method disclosed in the embodiment of the present invention has at least the following advantages:
[0080] (1) Dynamic display of test data. You can view the increase and decrease of busine...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 