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...

Full description

Saved in:
Bibliographic Details
Main Authors Lu, Chun-Ming, Chen, Chien-Fa
Format Patent
LanguageEnglish
Published 26.07.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
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