Device debugging method, device, and storage medium
AssigneeQkm Technology (Dong Guan) Co., Ltd
InventorsYunfeng ZHU, Jinbo SHI, Qinghua YANG, Hong WANG, Ruizhi SHI
Life of this patent
Estimating the term…
Loading patent…
AssigneeQkm Technology (Dong Guan) Co., Ltd
InventorsYunfeng ZHU, Jinbo SHI, Qinghua YANG, Hong WANG, Ruizhi SHI
Estimating the term…
A device debugging method includes according to a first thread to be created and a breakpoint set, determining that the first thread contains a corresponding breakpoint; injecting a hook function into the first thread, and creating a first thread and executing in a debugging mode; if the hook function is invoked, determining whether a triggering condition of the breakpoint is satisfied; if not, directly exiting the hook function; if so, stopping the code running of the first thread, waiting, and executing a debug instruction. Therefore, the device is integrated with both functionalities of debugging and actual execution due to the breakpoint set for debugging configured on the device, the actual result of each debugging can be observed in real time, and the hook functions of different threads operate independently and do not interfere, thus multithread debugging can be achieved, and debugging efficiency is improved.
A debugging method for a device, comprising:
Dependencies are inferred from the claim text.