JPH01309144A - Console input enable type debugging system - Google Patents

Console input enable type debugging system

Info

Publication number
JPH01309144A
JPH01309144A JP63141209A JP14120988A JPH01309144A JP H01309144 A JPH01309144 A JP H01309144A JP 63141209 A JP63141209 A JP 63141209A JP 14120988 A JP14120988 A JP 14120988A JP H01309144 A JPH01309144 A JP H01309144A
Authority
JP
Japan
Prior art keywords
debugging
contents
register
console
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63141209A
Other languages
Japanese (ja)
Inventor
Kozo Nishino
西野 耕造
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63141209A priority Critical patent/JPH01309144A/en
Publication of JPH01309144A publication Critical patent/JPH01309144A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To perform the debugging jobs in accordance with the values of a memory or a register obtained at the time point of a specific point by inputting the debugging contents from a console at a specific point of a program to be debugged. CONSTITUTION:A debugging point detecting mechanism 2 recognizes a designated point (a) and starts a debugging process when the mechanism 2 passes through the point (a) set in a program 1 to be debugged. Then a debugging contents input mechanism 3 outputs an input urging message to a console 6 for the debugging contents. A debugging operator inputs a fact that the value of a necessary memory 4 or a register 5 is outputted to the console 6 into the mechanism 3. Furthermore the debugging contents 7-1 to 7-n corresponding to the output value of said memory or register are inputted to the mechanism 3. For instance if the value of the register 5 is negative, the contents 7-1 are inputted. While the contents 7-2 are inputted when the value of the register 5 is equal to 0. Then the contents 7-n are inputted in case the value of the register 5 in positive. In such a way, the debugging jobs are carried out in accordance with the value of a memory or a register.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラムデバグ時において、デバグ対象プ
ログラムのある指定ポイントでデバグの内容をコンソー
ルから入力することができるコンソール人力可能型デバ
グ方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a console manual debugging method that allows debugging contents to be input from a console at a specified point in a program to be debugged during program debugging.

〔従来の技術〕[Conventional technology]

従来のデバグ方式は、指定ポイントで予め決められたデ
バグを行なうことはできたが、指定ポイント時点でのメ
モリやレジスタの値に応じたデバグを行なうことはでき
なかった。
Conventional debugging methods have been able to perform predetermined debugging at designated points, but have not been able to perform debugging in accordance with the values of memory and registers at the designated point.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデバグ方式は、デバグ対象プログラムの
指定ポイントで予め決められたデバグしか行なえないの
で、常に一定のデバグしか行なえないという欠点がある
The above-described conventional debugging method has the drawback that only predetermined debugging can be performed at specified points in the program to be debugged, and therefore only a certain amount of debugging can be performed at all times.

〔課題を解決するための手段〕[Means to solve the problem]

本発明によれば、デバグ対象プログラムの指定ポイント
を検出するデバグポイント検出機構と、指定ポイントに
おいてデバグの内容をコンソールから入力するデバグ内
容入力filとを有することを特徴とするコンソール入
力可能型デバグ方式が得られる。
According to the present invention, a console input type debugging method is characterized in that it has a debug point detection mechanism that detects a designated point of a program to be debugged, and a debug content input file that inputs debug content from a console at the designated point. is obtained.

〔実施例〕〔Example〕

次に、本発明の一実施例を示した図面を参照して、本発
明をより詳細に説明する、 第1図を参照すると、本発明の一実施例において、デバ
グ対象プログラム1内の指定ポイントaを通過したとき
に、デバクポイント検出機構2が指定ポイントaを認識
してデバグ処理を開始する。次に、デバグ内容入力機構
3がコンソールにデバク内容の入力促進メツセージを出
力する。デバグを行なう者は、必要なメモリ4やレジス
タ5の値をコンソール6に出力することをデバグ内容入
力機構3に入力する。更に、出力されたメモリやレジス
タの値に応じたデバグの内容7−1〜7−nをデバグ内
容入力機構に入力する。例えば、レジスタの値が負の数
の場合は、デバグ内容7−1を入力して、0の場合はデ
バグ内容7−2を入力し、正の数の場合はデバグ内容7
−nを入力する。
Next, the present invention will be described in more detail with reference to the drawings showing an embodiment of the present invention. Referring to FIG. When passing point a, the debugging point detection mechanism 2 recognizes the designated point a and starts debugging processing. Next, the debugging content input mechanism 3 outputs a message prompting input of debugging content to the console. A person performing debugging inputs to the debug content input mechanism 3 a command to output necessary values of the memory 4 and registers 5 to the console 6. Further, debug contents 7-1 to 7-n corresponding to the output memory and register values are input to the debug contents input mechanism. For example, if the register value is a negative number, enter debug content 7-1, if it is 0, enter debug content 7-2, and if it is a positive number, enter debug content 7.
Enter -n.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、デバグな対象プ
ログラムの特定ポイントでデバグ時にデバク内容をコン
ソールから入力することにより、特定ポイント時点での
メモリ、レジスタの値に応じたデバグが行なえる。
As described above, according to the present invention, by inputting debugging contents from the console at a specific point in a target program to be debugged, debugging can be performed in accordance with the values of memory and registers at the specific point.

【図面の簡単な説明】 第1図は本発明の一実施例の構成を示すブロック図であ
る。 ]:デバグ対象プログラム、2:デバグポイント検出機
構、3:デバグ内容入力機構、4:メモリ、5;コンソ
ール、6:デバグ内容、7−1〜7−n:デバグ内容。 代理人 弁理士  内 原  音
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. ]: Debug target program, 2: Debugging point detection mechanism, 3: Debugging content input mechanism, 4: Memory, 5: Console, 6: Debugging content, 7-1 to 7-n: Debugging content. Agent Patent Attorney Oto Uchihara

Claims (1)

【特許請求の範囲】[Claims] デバグ対象プログラムの指定ポイントを検出するデバグ
ポイント検出機構と、指定ポイントにおいてデバグの内
容をコンソールから入力するデバグ内容入力機構とを有
することを特徴とするコンソール入力可能型デバグ方式
A debugging method capable of console input, comprising: a debug point detection mechanism for detecting specified points in a program to be debugged; and a debug content input mechanism for inputting debug contents from a console at the specified points.
JP63141209A 1988-06-07 1988-06-07 Console input enable type debugging system Pending JPH01309144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63141209A JPH01309144A (en) 1988-06-07 1988-06-07 Console input enable type debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63141209A JPH01309144A (en) 1988-06-07 1988-06-07 Console input enable type debugging system

Publications (1)

Publication Number Publication Date
JPH01309144A true JPH01309144A (en) 1989-12-13

Family

ID=15286678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63141209A Pending JPH01309144A (en) 1988-06-07 1988-06-07 Console input enable type debugging system

Country Status (1)

Country Link
JP (1) JPH01309144A (en)

Similar Documents

Publication Publication Date Title
JPH01309144A (en) Console input enable type debugging system
JPH01297738A (en) Computer testing device
JPH074669Y2 (en) Interrupt request processing circuit
JPH01282649A (en) Selectable debugging system
JPS62145426A (en) Microprograms processing unit
JPH0228807A (en) Program input method in programmable controller
JPS63123133A (en) Error processing system
JPH03242736A (en) Abnormality processing system
JPS62128339A (en) Execution system for program including undefined hardware instruction
JPH05257760A (en) Microprocessor
JPH01258140A (en) Program debugging system
JPS6367648A (en) Program trace control system
JPS6276756A (en) Semiconductor device with self-inspecting circuit
JPH05216828A (en) Error processing system in batch execution of software simulator
JPH0227447A (en) Debugging system
JPH01244547A (en) Program development debugging backup system
JPH04199434A (en) Method and device for diagnosis of computer
JPS5930154A (en) Debugging device
JPH05233349A (en) Program module automatic test tool
JPS63148328A (en) System for registering and verifying password number of execute form program
JPH0497444A (en) Maintenance diagnostic device for information processor
JPH04175860A (en) Data input system
JPS61202239A (en) Information processor
JPH0258135A (en) Information processor
JPH01185739A (en) Interruption generation circuit for debugging