Program debugging method and apparatus

A program debugging and program technology, applied in software testing/debugging, instruments, electrical digital data processing, etc., can solve the problem of uploading large resources to the system, etc.

Active Publication Date: 2017-03-29
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present invention is to propose a method and device for progra...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Program debugging method and apparatus
  • Program debugging method and apparatus
  • Program debugging method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The embodiments of the present invention will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the embodiments of the present invention.

[0044] refer to figure 1 , figure 1 It is a schematic flowchart of a program debugging method provided by an embodiment of the present invention.

[0045] like figure 1 Shown, the method for described program debugging comprises:

[0046] Step 101, when the program starts, judge whether the current mode is the debugging mode;

[0047] Specifically, in the process of program development, it is set to debug mode, and the resources are placed in the system folder in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention discloses a program debugging method and apparatus. The program debugging method comprises the steps of if a current mode is a debugging mode when a program is started, obtaining a configuration file from a resource server, wherein the configuration file is used for describing debugging resource information, and generating an Md5 value according to the size and modification date of the resource; determining whether the debugging resource exists in a local terminal or not according to the name of the resource; if the debugging resource exists in the local terminal, and if the Md5 of the debugging resource is the same as the genequota Md5, determining whether to examine next debugging resource or not; and if the next debugging resource needs to be examined, returning to execute a step of obtaining the next debugging resource from the resource server. Therefore, long occupation time caused by uploading of relatively large resource in program debugging is avoided; and in addition, only code uploading is required in debugging in each time, so that debugging is quite fast.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of mobile terminals, and in particular to a method and device for program debugging. Background technique [0002] Debugging is often required during the development of Android programs. When making changes to the code, you need to run it in the program to check the effect of the change. If the effect of the operation is not satisfactory, you need to re-modify the code. After the modification is completed, debug again and check the results. After achieving satisfactory results, Only then will the development and debugging of the next function be carried out. [0003] The program is divided into two parts: code and resources. The space occupied by the code is relatively small, generally a few KB, and is used to compile it into machine code and execute it for the hardware; resources include pictures, sounds, data, etc., and may occupy hundreds of MB in a game. Program publishing is to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
CPCG06F11/3644
Inventor 季辉
Owner GUANGDONG XIAOTIANCAI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products