Processing

Please wait...

Settings

Settings

Goto Application

1. CN109800159 - Program debugging method, program debugging device, terminal equipment and storage medium

Office
China
Application Number 201811609533.4
Application Date 27.12.2018
Publication Number 109800159
Publication Date 24.05.2019
Grant Number 109800159
Grant Date 23.02.2021
Publication Kind B
IPC
G06F 11/36
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
11Error detection; Error correction; Monitoring
36Preventing errors by testing or debugging of software
CPC
G06F 11/36
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
11Error detection; Error correction; Monitoring
36Preventing errors by testing or debugging software
Applicants PAX COMPUTER TECHNOLOGY (SHENZHEN) CO., LTD.
百富计算机技术(深圳)有限公司
Inventors LIU XIAOQIANG
刘小强
ZHU JIANHONG
朱剑虹
ZHANG FANGFANG
张方方
HONG BIN
洪斌
Agents 深圳中一联合知识产权代理有限公司 44414
Title
(EN) Program debugging method, program debugging device, terminal equipment and storage medium
(ZH) 程序调试方法、程序调试装置、终端设备及存储介质
Abstract
(EN)
The invention is suitable for the technical field of software testing, and provides a program debugging method and device, terminal equipment and a storage medium, and the method comprises the steps:judging whether a preset pause condition is met or not before each operation instruction of a to-be-debugged program runs; If a preset pause condition is met, pausing to run the operation instruction,and monitoring whether a debugging instruction sent by a preset debugger is received or not; if a debugging instruction sent by a preset debugger is received, executing the debugging instruction, andusing the debugging instruction for obtaining a first debugging result; after the debugging instruction is executed, the operation instruction is operated, and monitoring whether an abnormal result is generated or not in the operation instruction operation process; and if it is monitored that an abnormal result is generated in the process of operating the operation instruction, reporting the abnormal result as a second debugging result to the preset debugger. Through the method, the debugging efficiency of the program can be effectively improved.

(ZH)
本申请适用于软件测试技术领域,提供了一种程序调试方法、程序调试装置、终端设备及存储介质,包括:在运行待调试程序的每一条操作指令之前,判断是否满足预设的暂停条件;若满足预设的暂停条件,则暂停运行所述操作指令,并监测是否接收到预设调试器发送的调试指令;若接收到预设调试器发送的调试指令,则执行所述调试指令,所述调试指令用于获得第一调试结果;在执行所述调试指令之后,运行所述操作指令,并监测运行所述操作指令的过程中是否产生异常结果;若监测到运行所述操作指令的过程中产生异常结果,则将所述异常结果作为第二调试结果上报给所述预设调试器。通过上述方法,能够有效提高程序的调试效率。

Related patent documents