Source level debugger for debugging source programs
AssigneeMitsubishi Denki Kabushiki Kaisha
InventorsKatsuya Mizumoto, Ryosuke Okuda
Life of this patent
Estimating the term…
Abstract
A source-level debugger debugs a source program for computers using a pipeline control method. The debugger includes a not-yet-processed instruction analyzing unit for analyzing each of instructions including not-yet-process stages in a pipeline when execution of a source program is halted (or suspended) or terminated, and for acquiring information on an internal state of the pipeline. A user interface unit displays the information on the internal state of the pipeline acquired by the not-yet-processed instruction analyzing unit in a predetermined display form on the screen of a display unit.
Claims17
A source-level debugger for debugging a source program for computers using a pipeline control method, said debugger comprising:
- instruction analyzing means for analyzing each instruction in a pipeline which remain to be processed when execution of a source program is halted or terminated, and for acquiring information about an internal state of the pipeline;
- and
- displaying means for displaying the information about the internal state of the pipeline acquired by said instruction analyzing means in a predetermined display form;
- wherein said instruction analyzing means includes means for keeping the internal state of the halted pipeline when the execution of the source program is halted or terminated;
- and means for identifying, when the internal state is kept, at least one of a determination memory location and a determination register and a corresponding variable therein, into which the data that remains to be processed in the pipeline is to be written so as to acquire the information about the internal state of the pipeline.
A source-level debugger for debugging a source program for computers using a pipeline control method, said debugger comprising:
- cache contents checking means for determining whether the contents of a cache memory, that has taken in the contents of part of a memory, match the contents of the part of the memory when execution of a source program is halted or terminated;
- and
- displaying means for displaying the contents of the memory in a predetermined display form so that a distinction is made between data that does not match corresponding data stored in the cache memory and data that does match corresponding data stored in the cache memory.
A source-level debugger for debugging a source program for computers using a pipeline control method, said debugger comprising:
- cycle step-by-step execution means for executing the source program step by step in units of one cycle (or clock);
- displaying means for producing a predetermined screen display including at least one of a button, a pull-down menu, a pop-up menu, and a window for allowing users to enter commands, which are used for starting said cycle step-by-step execution means in an interactive manner;
- and
- halt condition setting means for allowing users to set a breakpoint defined in units of one cycle to halt execution of a source program at the set breakpoint by at least either one of a relative number of cycles, which is obtained by starting counting the number of cycles at 0 every time the execution of the source program is halted, and an absolute number of cycles, which is obtained by starting counting the number of cycles when the execution of the source program is started.
Dependencies are inferred from the claim text.