Method for debugging computer program, device employing method, and storage medium
A method for debugging a program, based on simulating an object program and comparing simulated waveforms with standard waveforms are applied in an electronic device. A simulated environment corresponding to the object program is established and multiple instructions from code of the object program...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
26.07.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | A method for debugging a program, based on simulating an object program and comparing simulated waveforms with standard waveforms are applied in an electronic device. A simulated environment corresponding to the object program is established and multiple instructions from code of the object program are mapped against the standard waveforms. Trigger points are set in the object program, the object program is run from the trigger point and simulation waveforms are stored. The simulation waveforms are compared with the standard waveforms, and the location of a bug of the object program is found according a comparison. The bug may be resolved or cured. The electronic device utilizing the method is also disclosed. |
---|---|
Bibliography: | Application Number: US202117404563 |