JPH0264746A - Input/output control system in debugging system - Google Patents

Input/output control system in debugging system

Info

Publication number
JPH0264746A
JPH0264746A JP63215914A JP21591488A JPH0264746A JP H0264746 A JPH0264746 A JP H0264746A JP 63215914 A JP63215914 A JP 63215914A JP 21591488 A JP21591488 A JP 21591488A JP H0264746 A JPH0264746 A JP H0264746A
Authority
JP
Japan
Prior art keywords
input
output
window
debugging
debug
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
JP63215914A
Other languages
Japanese (ja)
Inventor
Shinya Tachibana
橘 晋哉
Yuichi Ueda
裕一 上田
Yutaka Watanabe
豊 渡邊
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63215914A priority Critical patent/JPH0264746A/en
Publication of JPH0264746A publication Critical patent/JPH0264746A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To improve operability and debugging efficiency by making an existing line input debugger usable as the full screen debugger by using a window. CONSTITUTION:At an input/output interface part 16 of a processor (CPU/ memory) 15, a window control part 17 controls a window to be displayed on a display 11, and at a line input debugging processing part 22, debugging control is executed on a debugging objective program with a line input/output as a basis. A menu/command converting part 18 converts debugging instruction inputted by a menu through the control part 17 into a command, and an output converting part 21 converts the output of the line input debugging processing part 22 and makes it as the input of the window control part 17. By such a constitution, the processing function of the existing line input debugger can be used as it is, the full screen debugger which can use a window 12, a mouse 13, a keyboard 14, etc., is realized.

Description

【発明の詳細な説明】 (概要〕 デバッグ対象プログラムの実行制御を行い、デバッグ情
報を出力するデバッグシステムにおける入出力制御方式
に関し。
DETAILED DESCRIPTION OF THE INVENTION (Summary) This invention relates to an input/output control method in a debug system that controls execution of a program to be debugged and outputs debug information.

既存のライン入力デバッガを、ウィンドウを用いてフル
スクリーンデバッガとして使用できるようにし、操作性
およびデバッグ効率を向上させることを目的とし。
The purpose of this is to enable the existing line input debugger to be used as a full-screen debugger using a window, improving operability and debugging efficiency.

デイスプレィに表示するウィンドウの制御を行うウィン
ドウ111m部と、ライン入力およびライン出力を基本
とし、デバッグ対象プログラムについてのデバッグ制御
機能を持つライン入力デバッグ処理部と、ウィンドウ制
御部を介して、メニューにより入力されたデバッグ指示
情報を、ライン入カブバッグ処理部の入力形式に応じた
コマンドに変換するメニュー・コマンド変換部と、ライ
ン入力デバッグ処理部の出力を、ウィンドウwI御部に
対する入力となるように、出力変換を行う出力変換部と
を備え、ウィンドウによるデバッグ情報の入出力を行う
ように構成する。
The window 111m section controls the windows displayed on the display, the line input debug processing section is based on line input and line output, and has a debug control function for the program to be debugged, and the window control section allows input from the menu. A menu/command converter converts the debugging instruction information into commands according to the input format of the line input turnip bag processing section, and outputs the output of the line input debugging section so that it becomes input to the window wI control section. and an output conversion unit that performs conversion, and is configured to input and output debug information using a window.

〔産業上の利用分野〕[Industrial application field]

本発明は、デバッグ対象プログラムの実行制御を行い、
指定されたデバッグ情報を出力するデバッグシステムに
おける入出力制御方式に関する。
The present invention controls the execution of a program to be debugged,
It relates to an input/output control method in a debug system that outputs specified debug information.

開発したプログラムの信頼性を向上させるため。To improve the reliability of developed programs.

そのプログラムが正常に動作するかどうかをテストする
ことは重要であり、そのデバッグに要する時間も1年々
増加する傾向にある。そのため、効率のよいデバッグを
行うことができるツールが必要とされている。
It is important to test whether the program operates normally, and the time required for debugging it tends to increase year by year. Therefore, there is a need for tools that can perform efficient debugging.

〔従来の技術〕[Conventional technology]

第9図は従来方式によるライン入力デバッガの例、第1
0図は従来方式によるデバッグ例を示す。
Figure 9 is an example of a conventional line input debugger.
Figure 0 shows an example of debugging using the conventional method.

第9図において、100はライン(行)単位で表示出力
が行われるTTY画面、101はライン入力およびライ
ン出力を基本とする従来の一般的に用いられているライ
ン入力デバッガである。
In FIG. 9, 100 is a TTY screen where display output is performed line by line, and 101 is a conventional and commonly used line input debugger that is based on line input and line output.

オペレータは、TTY画面100に対して、ライン入力
でコマンドをキーボードから入力し、ライン入力デバッ
ガ101は、TTY画面100からコマンドを受は取っ
て動作する。また、ライン人力デバッガ101は、結果
出力をTTY画面100に表示出力し、オペレータは、
TTY画面100を見ることにより、ライン人力デバッ
ガ!O1が発したメツセージを受は取るようになってい
る。
The operator inputs commands to the TTY screen 100 by line input from the keyboard, and the line input debugger 101 operates by receiving commands from the TTY screen 100. In addition, the line manual debugger 101 displays the result output on the TTY screen 100, and the operator
Line human debugger by looking at 100 TTY screens! The receiver receives messages sent by O1.

第10図は、第9図に示す従来のライン人力デバッガ1
01によるデバッグの具体例を示している。以下に説明
する■〜■は、第10図に示す■〜■の操作等に対応し
ている。なお、■と■は。
Figure 10 shows the conventional line manual debugger 1 shown in Figure 9.
A specific example of debugging using 01 is shown. The operations ■ to ■ described below correspond to the operations shown in FIG. 10. In addition, ■ and ■.

デバッガから通知されたメツセージであり、それ以外は
オペレータが入力するコマンドである。
These are messages notified by the debugger, and other commands are input by the operator.

■ ライン入力デバッガを起動する。デバッグ対象とな
るプログラムの名前は、 testである。
■ Start the line-in debugger. The name of the program to be debugged is test.

■ メインプログラムn+ainの24(16進)番地
口に、実行を中断させるためのブレイクポイントを設定
している。
■ A breakpoint is set at address 24 (hexadecimal) of the main program n+ain to interrupt execution.

:r”コマンドにより、デバッグ対象プログラムtes
 tの起動実行を指示している。
:r” command, the debug target program tes
It instructs to start and execute t.

■ メインプログラム+eainの24(16進)番地
口で、実行が中断される。(デバッガからのメツセージ
) ■ “$r”コマンドにより、レジスタの内容表示を行
っている。
■ Execution is interrupted at address 24 (hexadecimal) of main program +eain. (Message from the debugger) ■ The contents of the register are displayed using the “$r” command.

■ 外部変数1ongna+mevarの値を表示する
■ Display the value of external variable 1ongna+mevar.

■  :01コマンドにより、ブレイクポイントからの
継続実行を指示している。
■ :01 command instructs to continue execution from the breakpoint.

■ プロセスの実行が終了する。(デバッガからのメツ
セージ) ■ デバッグ終了を指示する。
■ The process finishes running. (Message from the debugger) ■ Instructs to end debugging.

■ 〔発明が解決しようとする課題〕 以上のような従来のライン人力デバッガでは。■ [Problem to be solved by the invention] With conventional line manual debuggers like the ones above.

次のような問題がある。There are the following problems.

(a)  オペレータが、ライン入力デバッガに対して
何らかの指示を行うとき、コマンドをキーボードから打
ち込んで入力しなければならない。オペレータは、操作
説明書を参照してコマンドを覚える必要があり、またキ
ーボードによる入力は、オペレータにとって操作性が悪
い。
(a) When an operator issues some instructions to a line input debugger, he must input the commands by typing them on the keyboard. The operator must memorize commands by referring to an operating manual, and input using a keyboard is not easy for the operator to use.

(ト)) ライン人力デバッガの出力が、TTY画面に
対して行われる。TTY画面に対する出力は。
(g)) Output from the line manual debugger is performed on the TTY screen. Output to TTY screen.

たれ流し表示の状態になり、!i面が一杯になると、下
方向にのみスクロールして、上の方の表示を見ることが
できなくなってしまう。
It will be in a dripping display state! When the i-side becomes full, you can only scroll downwards and cannot see the display at the top.

そこで、このような問題を解決するため、ライン入力デ
バッガを、ウィンドウやマウスを使用して操作可能にし
たいという要求がある。そのため。
Therefore, in order to solve such problems, there is a demand for making the line input debugger operable using a window or a mouse. Therefore.

既存のデバッガと、ウィンドウ、マウス等の新しい入出
力装置とのインタフェースが必要となる。
You will need to interface your existing debugger with new input/output devices such as windows and mice.

本発明は上記問題点の解決を図り、既存のライン人力デ
バッガを、ウィンドウを用いてフルスクリーンデバッガ
として使用できるようにし、操作性およびデバッグ効率
を向上させる手段を提供することを目的としている。
The present invention aims to solve the above-mentioned problems, and aims to provide a means for improving operability and debugging efficiency by enabling an existing line manual debugger to be used as a full-screen debugger using a window.

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

第1図は本発明の構成例を示す。 FIG. 1 shows an example of the configuration of the present invention.

第1図において、11はデイスプレィ、12はデイスプ
レィ画面内に任意の大きさで複数枚設定することができ
る表示枠であるウィンドウ、13は画面における項目選
択等を行うマウス、14はキーボード、15はCPUお
よびメモリ等からなる処理装置、16は入出力インタフ
ェース部、17はウィンドウ12を介して入出力を行う
ウィンドウ制御部、18はメニュー・コマンド変換部。
In FIG. 1, 11 is a display, 12 is a window that is a display frame that can be set in multiple sizes on the display screen, 13 is a mouse for selecting items on the screen, 14 is a keyboard, and 15 is a display frame. 16 is an input/output interface section; 17 is a window control section that performs input/output via the window 12; and 18 is a menu/command conversion section.

19はコマンドバッファ、20は出力メツセージが格納
される出カバ7フア、21はウィンドウ制御部17に対
する出力変換を行う出力変換部、22はライン入力デバ
ッグ処理部、23はコマンドに応じてデバッグの制御を
行うデバッグ制御部。
19 is a command buffer, 20 is an output buffer 7 in which output messages are stored, 21 is an output conversion unit that converts output to the window control unit 17, 22 is a line input debug processing unit, and 23 is a debug control unit according to commands. A debug control section that performs.

24は起動実行部、25はブレイクポイント設定部、2
6は逆アセンブル部、27はデバッグ対象プログラムを
表す。
24 is a startup execution section, 25 is a breakpoint setting section, 2
6 represents a disassembling section, and 27 represents a program to be debugged.

ライン入力デバッグ処理部22は、ライン入力形式で入
力されるコマンドに応じて、デバッグ対象プログラム2
7の起動実行を制御する起動実行部24.デバッグ対象
プログラム27に対し、実行の中断点を設定するブレイ
クポイント設定部25、デバッグ対象プログラム27の
命令コードを逆アセンブルする逆アセンブル部26.そ
の他。
The line input debug processing unit 22 debugs the program to be debugged 2 according to commands input in line input format.
A startup execution unit 24 that controls the startup execution of .7. A breakpoint setting unit 25 sets an execution interruption point for the debug target program 27; a disassemble unit 26 disassembles the instruction code of the debug target program 27. others.

図示省略するが、継続実行、レジスタの内容表示変数表
示など、各種のデバッグ処理機能を有する。
Although not shown, it has various debug processing functions such as continuous execution, register contents display, and variable display.

これらの各種処理機能は、第9図に示した従来のライン
入力デバッガ101の処理機能を利用することにより実
現されている。
These various processing functions are realized by utilizing the processing functions of the conventional line input debugger 101 shown in FIG.

従来のライン入力デバッガ101が、直接、キーボード
からのライン入力およびメツセージのライン出力を行っ
ているのに対し2本発明に係るライン入力デバッグ処理
部22では、入出力インタフェース部16を介して入出
力を行うようになっている。これは、従来のライン人力
デバッガ101における入出力関数または入出カサブル
ーチンを書き換え、その入出刃先を入出力インタフェー
ス部16に変更することにより実現される。
While the conventional line input debugger 101 directly performs line input from the keyboard and line output of messages, the line input debug processing unit 22 according to the present invention inputs and outputs input and output via the input/output interface unit 16. It is designed to do this. This is achieved by rewriting the input/output function or input/output subroutine in the conventional line manual debugger 101 and changing its input/output edge to the input/output interface unit 16.

ウィンドウ制御部17は9画面分割やマウス13による
メニュー選択の制御などの周知のウィンドウ制御機能を
有する。
The window control unit 17 has well-known window control functions such as nine-screen division and menu selection control using the mouse 13.

メニュー・コマンド変換部18は、ウィンドウ制御部1
7を介して、メニューにより入力されたデバッグの指示
情報を、ライン入力デバッグ処理部22の入力形式に応
じたコマンドに変換し、所定のコマンドバッファ19に
格納する処理を行うものである。コマンドバッファ19
を読み取ることにより、ライン入力デバッグ処理部22
は、従来のキーボードからの入力と同様なコマンドによ
る処理を行う。
The menu/command conversion unit 18 is a window control unit 1
7, debug instruction information input from the menu is converted into a command according to the input format of the line input debug processing section 22, and the command is stored in a predetermined command buffer 19. Command buffer 19
By reading the line input debug processing unit 22
performs processing using commands similar to those input from a conventional keyboard.

ライン入力デバッグ処理部22による処理結果は、関数
呼び出しまたはサブルーチン呼び出し等により、出力変
換部21に通知され、出力変換部21は、その出力内容
をメモリ上に設けられた出カバソファ20に設定する。
The processing result by the line input debug processing section 22 is notified to the output conversion section 21 by a function call or a subroutine call, and the output conversion section 21 sets the output contents in the output sofa 20 provided on the memory.

ウィンドウ制御部17は、出カバソファ20に設定され
たメツセージを所定のフォーマントに従って編集しなお
し、ウィンドウ12に表示出力する。
The window control unit 17 re-edits the message set on the cover sofa 20 according to a predetermined format and outputs the edited message to the window 12 for display.

〔作用〕[Effect]

ライン入力デバッグ処理部22と、デイスプレィ11や
マウス13との間に、入出力インタフェース部16を設
けることにより、従来のライン人力デバッガの処理機能
をそのまま利用することができるようになるとともに、
ウィンドウ12.マウス13あるいはキーボード14等
の様々な入出力装置を用いることができるフルスクリー
ンデバッガが実現される。
By providing the input/output interface section 16 between the line input debug processing section 22 and the display 11 and mouse 13, it becomes possible to use the processing functions of the conventional line manual debugger as is, and
Window 12. A full-screen debugger that can use various input/output devices such as the mouse 13 or the keyboard 14 is realized.

ライン入力デバッグ処理部22として、既存のデバッガ
による処理機能の大部分を、そのまま利用することがで
きるので、フルスクリーンデバッガを全く新しく開発す
る場合に比べて、大幅に開発時間、開発コストを削減す
ることができる。なお、従来のライン入力デバッガには
ない機能を。
As the line input debug processing unit 22, most of the processing functions of existing debuggers can be used as is, so development time and cost can be significantly reduced compared to developing a completely new full-screen debugger. be able to. In addition, it has functions not found in conventional line input debuggers.

ライン入力デバッグ処理部22の内部または外部に、必
要に応じて付加することが可能である。
It can be added inside or outside the line input debug processing section 22 as necessary.

〔実施例〕〔Example〕

第2図は本発明の一実施例処理動作説明図、第3図は本
発明の一実施例に係る起動実行処理説明図、第4図ない
し第8図は本発明の一実施例によるデバッグ例を示す。
FIG. 2 is an explanatory diagram of processing operation according to an embodiment of the present invention, FIG. 3 is an explanatory diagram of startup execution processing according to an embodiment of the present invention, and FIGS. 4 to 8 are examples of debugging according to an embodiment of the present invention. shows.

本発明では、第2図に示すように、ウィンドウ12、入
出力インタフェース部16.ライン入力デバッグ処理部
22等によって、フルスクリーンデバッガ30が構成さ
れる0本発明によるデバッグ時の一連の処理動作は1例
えば第2図に示す■〜■のようになる。
In the present invention, as shown in FIG. 2, a window 12, an input/output interface section 16. The full screen debugger 30 is constituted by the line input debug processing section 22 and the like.The series of processing operations during debugging according to the present invention is, for example, as shown in (1) to (2) shown in FIG.

■ オペレータは、マウスを操作し、マウス・ボタンの
クリックにより、ウィンドウ12上のメニューを選択す
る。
- The operator operates the mouse and selects a menu on the window 12 by clicking the mouse button.

■ 入出力インタフェース部16は、ウィンドウ12上
のメニュー選択情報を読み込む。
■ The input/output interface unit 16 reads menu selection information on the window 12.

■ そのメニュー選択情報を、ライン入力デバッグ処理
部22に対するコマンド、すなわち、従来のライン入力
デバッガに対する入力形式に応じたコマンドに変換する
(2) Converting the menu selection information into a command for the line input debug processing unit 22, that is, a command corresponding to the input format for a conventional line input debugger.

■ 変換したコマンドを、コマンドバッファに設定し、
ライン入力デバッグ処理部22に通知する。これによっ
て、ライン入力デバッグ処理部22が動作し、処理結果
等について、オペレータに対するメツセージを出力する
■ Set the converted command in the command buffer,
The line input debug processing unit 22 is notified. As a result, the line input debug processing section 22 operates and outputs a message to the operator regarding the processing results and the like.

■ そのメツセージは、メモリ上の出カバ・ノファに設
定される。
■ The message is set in the output cover in memory.

■ 入出力インタフェース部16はバッファの内容を清
書する。すなわち、ウィンドウ12への表示形式に編集
する。
■ The input/output interface unit 16 cleans the contents of the buffer. That is, it is edited into a display format on the window 12.

■ 入出力インタフェース部16は、タイミングを見計
らって、清書されたメソセージをウィンドウ12に表示
する。
(2) The input/output interface section 16 displays the corrected message on the window 12 at the appropriate timing.

■ ウィンドウ12上の表示は、オペレータによって認
識される。オペレータが3表示のスクロールを指示した
場合1周知のウィンドウ制御により、入出力インタフェ
ース部16においてライン入力デバッグ処理部22とは
無関係に。
■ The display on the window 12 is recognized by the operator. When the operator instructs scrolling of 3 displays, the input/output interface unit 16 uses well-known window control, regardless of the line input debug processing unit 22.

表示内容のスクロールを行う、スクロールによる表示に
おいて、情報が不足している場合には。
Scroll the displayed content, if there is insufficient information in the scrolling display.

入出力インタフェース部16によってライン入力デバッ
グ処理部22に対するコマンドを生成し、ライン入力デ
バッグ処理部22から必要な情報を受は取るようにする
こともできる0以上のような処理によって、スクロール
が高速に行われる。
The input/output interface section 16 generates a command to the line input debug processing section 22, and the necessary information can be received from the line input debug processing section 22. Scrolling can be made faster by processing such as 0 or more. It will be done.

第3図は1本発明の一実施例における起動実行時のコマ
ンド発行に関する処理の例を示している。
FIG. 3 shows an example of processing related to command issuance during startup execution in one embodiment of the present invention.

以下の説明におけるfa)〜化)は、第3図に示す処理
(al〜(klに対応する。
In the following explanation, fa) to (kl) correspond to the processes (al to (kl) shown in FIG. 3).

fa)  デバッガの起動時に、初期画面の表示、各種
テーブルの初期設定などのセットアツプを行う。
fa) When starting the debugger, perform setup such as displaying the initial screen and initializing various tables.

山)マウス等からの入力イベントを受は取る。Yama) Receives input events from the mouse, etc.

tel  入力イベントが“プロセス起動実行”である
かどうかを判定する。
tel Determine whether the input event is "process startup execution".

ldl  入力イベントが“プロセス起動実行”でない
場合、その他の入力イベントに応じた処理を実行する。
ldl If the input event is not "process startup execution", execute processing according to other input events.

(el  入力イベントが“プロセス起動実行”である
場合、モジュールパス名、アドレス、パラメータ等の選
択項目を入力するための入力画面オプションシートをオ
ープンする。入力画面オプションシ一トは、データ入力
用にあらかじめ定義されたウィンドウである。
(el If the input event is "process startup execution", open the input screen option sheet for inputting selection items such as module path name, address, parameters, etc.).The input screen option sheet is used for data input. It is a predefined window.

(fl  人力画面オプションシートに選択項目を表示
する。
(fl Display selection items on the human-powered screen option sheet.

(梢 オペレータによって入力画面オプションシートに
記入されたデータを受は取る。
(Kozue: Receives the data entered on the input screen option sheet by the operator.

(hl  第1図に示すライン入力デバッグ処理部22
に対する起動実行コマンド、例えば“:r”を生成し、
コマンドバッファに格納する。
(hl The line input debug processing unit 22 shown in FIG.
Generate a startup execution command, for example “:r”, for
Store in command buffer.

+11  人力画面オプションシートをクローズする。+11 Close the manual screen option sheet.

(」)  コマンドバッファに格納した起動実行コマン
ドを発行し、デバッグ対象プログラム27を起動実行さ
せる。
('') Issues the startup execution command stored in the command buffer to start and execute the debug target program 27.

伽)デバッグ終了シグナルを受信したならば、処理を終
了する。そうでない場合、処理fblへ戻り。
佽) When the debug end signal is received, the process ends. If not, return to process fbl.

同様に処理を繰り返す。Repeat the process in the same way.

以上の処理の流れは、プロセス起動実行を主とした処理
の流れであるが、ブレイクポイントの設定や変数表示等
の処理についても同様である。
The above processing flow is mainly for process startup execution, but the same applies to processes such as setting breakpoints and displaying variables.

次に第4図ないし第8図を参照し1本発明の一実施例に
よるデバッグの具体例を説明する。以下の例におけるデ
バッグの内容については、第10図に示す従来例の■〜
■と機能的に同等である。
Next, a specific example of debugging according to an embodiment of the present invention will be described with reference to FIGS. 4 to 8. Regarding the content of debugging in the following example, please refer to the conventional example shown in Fig. 10.
It is functionally equivalent to ■.

本発明の一実施例に係るデバッグシステムを。A debug system according to an embodiment of the present invention.

フルスクリーンデバッガという、このフルスクリーンデ
バッガの起動時には、第4図に示すようなウィンドウ画
面が表示される。ここでは、デバッグ対象プログラムの
モジュール名等のパラメータが入力されるようになって
いる。左下隅の「実行」が、マウスによってクリックさ
れると、第5図に示すウィンドウ画面が表示される。
When this full-screen debugger is activated, a window screen as shown in FIG. 4 is displayed. Here, parameters such as the module name of the program to be debugged are input. When "Execute" in the lower left corner is clicked with the mouse, the window screen shown in FIG. 5 is displayed.

第5図に示す画面において、50はグローバルメニュー
、51は逆アセンブルリスト表示域、52はレジスタ内
容表示域、53はスタック内容などのデータ表示域であ
る。
In the screen shown in FIG. 5, 50 is a global menu, 51 is a disassembly list display area, 52 is a register contents display area, and 53 is a data display area such as stack contents.

逆アセンブルリスト表示域51では、最初にモジュール
先!!(4バイト目)からの逆アセンブルリストが表示
される。実行番地を示すプログラムカウンタの値に・対
応する部分、この例では、 main+Ox4番地目の
命令が反転表示される。なお。
In the disassembly list display area 51, the module destination is displayed first! ! A disassembly list starting from (4th byte) is displayed. The portion corresponding to the value of the program counter indicating the execution address, in this example, the instruction at address 4 of main+Ox is highlighted. In addition.

第5図では9反転表示の代わりに、実行番地の命令を四
角で囲って表している。第5図に示すウィンドウの右端
における矢印をマウスで操作することにより、逆アセン
ブルリスト表示域51の表示内容を、上下にスクロール
することができるようになっている。もちろん、モジュ
ールの先頭から前へのスクロールは押止される。
In FIG. 5, the instruction at the execution address is shown surrounded by a square instead of 9 highlighted. By operating the arrow at the right end of the window shown in FIG. 5 with a mouse, the display contents of the disassembly list display area 51 can be scrolled up and down. Of course, scrolling forward from the beginning of the module is suppressed.

第5図に示すような逆アセンブルリストを表示する場合
、第1図に示すウィンドウ制御部17は逆アセンブルを
指示するコマンドを自動生成し。
When displaying a disassembly list as shown in FIG. 5, the window control unit 17 shown in FIG. 1 automatically generates a command instructing disassembly.

ライン人力デバッグ処理部22における逆アセンブル部
26を呼び出す、そして、逆アセンブル部26によるラ
イン単位の出力を、出カバソファ20を介して受は取り
、それを清書して、逆アセンブルリスト表示域51に表
示する。
The disassembling unit 26 in the line manual debugging processing unit 22 is called, and the line-by-line output from the disassembling unit 26 is received via the output cover sofa 20, and it is written in a fair copy and displayed in the disassembly list display area 51. indicate.

グローバルメニュー50における1実行制御”が、マウ
スにより選択されると、そのプルダウンメニューが展開
される。そのプルダウンメニューには、プロセス起動実
行、ブレイクポイント設定。
When "1 Execution Control" in the global menu 50 is selected with the mouse, its pull-down menu is expanded.The pull-down menu includes "Process Startup Execution" and "Breakpoint Setting".

その他のメニュー項目がある。There are other menu items.

マウスにより9例えば“ブレイクポイント設定”を選択
すると、第6図に示すようなブレイクポイント−覧のオ
プションシートが表示される。
When 9, for example, "Breakpoint settings" is selected with the mouse, an option sheet for viewing breakpoints as shown in FIG. 6 is displayed.

モードとして、ブレイクポイントの設定または解除があ
る。
Modes include setting or canceling breakpoints.

ここではメインプログラムmain+ (lx 24.
すなわち、16進の24番地目に実行中断点を設定する
入力を行っている。
Here, the main program main+ (lx 24.
That is, an input is made to set the execution interruption point at address 24 in hexadecimal.

第5図に示すグローバルメニュー50における“実行制
御”のプルダウンメニューで、“プロセス起動実行”を
選択すると、第7図に示すように。
When "Process Startup Execution" is selected from the "Execution Control" pull-down menu in the global menu 50 shown in FIG. 5, the result is displayed as shown in FIG.

プロセス起動実行のオプションシートが表示される。こ
こでは、モジュールパス名、アドレス、パラメタ等が入
力できる。ここで、“実行”の指示があると、第3図に
示す処理により、起動実行コマンドの生成が行われる。
An option sheet for starting the process will be displayed. Here you can enter the module path name, address, parameters, etc. Here, when an "execution" instruction is given, a startup execution command is generated by the process shown in FIG.

モジュール名がtes tのデバッグ対象プログラムの
起動実行により、先頭からの命令が逐次実行され、鵠a
in+ox24のブレイクポイントに実行制御が移ると
、そこで実行を中断する。そのとき。
By starting and executing the debug target program with the module name test t, the instructions from the beginning are executed sequentially, and the
When execution control is transferred to the breakpoint in+ox24, execution is interrupted there. then.

その実行中断点における逆アセンブルリストの表示、レ
ジスタ内容の表示、スタック等のデータの表示が、第5
図に示すようなウィンドウによって行われる。逆アセン
ブルリストでは、 main+ OX24番地の命令が
反転表示される。
Display of the disassembly list, display of register contents, display of data such as stack at the execution interruption point is the fifth
This is done through a window as shown in the figure. In the disassembly list, the instruction at address main+OX24 is highlighted.

グローバルメニュー50における“情報出力2を選択し
、その中でプルダウンメニュー“変数表示”を選ぶと、
変数表示のウィンドウが出力される。ここで、変数名1
例えばlongna禦evarを人力すると、第8図に
示すように、変数1ongnamevarのアドレスに
基づいて、各種の数値形式による変数の値が表示される
If you select "Information Output 2" in the global menu 50 and select "Display Variable" from the pull-down menu,
A variable display window is output. Here, variable name 1
For example, when longnaevar is input manually, the values of variables in various numerical formats are displayed based on the address of variable 1ongnamevar, as shown in FIG.

変数表示の確認の後、“プロセスm′iA実行”のメニ
ューを選択すると、第7図に示すようなプロセス起動実
行のウィンドウに類似した画面が表示され、その実行指
示により、デバッグ対象プログラムの実行が再開される
。最終的にデバッグ対象プログラムの実行が終了すると
、その終了確認のガイダンスが出力され、確認の入力に
より、第4図に示すような初期画面の表示に戻る。
After checking the variable display, select the "Run process m'iA" menu. A screen similar to the process startup execution window shown in Figure 7 will be displayed, and according to the execution instructions, the program to be debugged will be executed. will be resumed. When the execution of the program to be debugged is finally completed, guidance for confirming the completion is output, and upon inputting the confirmation, the display returns to the initial screen as shown in FIG. 4.

以上のように本実施例では、コマンドの入力ではなく、
マウスを使ったメニュー選択により、デバッグ指示情報
を人力することができる。また。
As described above, in this embodiment, instead of inputting commands,
Debug instruction information can be entered manually by selecting menus using the mouse. Also.

デバッグ対象プログラムの実行中断点等において。At the execution interruption point of the program to be debugged, etc.

自動的に、逆アセンブルリストやレジスタ内容が表示さ
れるので、そのコマンドを人力する必要がない、また、
必要に応じて、スクロールにより。
Since the disassembly list and register contents are automatically displayed, there is no need to enter the command manually.
By scrolling if necessary.

その前後の逆アセンブルリスト等を、簡単な操作で見る
ことができる。
You can view the disassembly list before and after that with a simple operation.

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

以上説明したように1本発明によれば、従来から存在す
るライン入力およびライン出力を基本とするデバッグシ
ステムに、マウスやウィンドウ等の入出力装置を接続し
、操作性およびデバッグ効率のよいデバッグシステムを
実現することができるようになる。
As explained above, according to the present invention, an input/output device such as a mouse or a window is connected to a conventional debugging system based on line input and line output, thereby providing a debugging system with good operability and debugging efficiency. will be able to realize it.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の構成例。 第2図は本発明の一実施例処理動作説明図。 第3図は本発明の一実施例に係る起動実行処理説明図。 第4図ないし第8図は本発明の一実施例によるデバッグ
例。 第9図は従来方式によるライン入力デハノガの例。 第10図は従来方式によるデバッグ例を示す。 図中、11はデイスプレィ、12はウィンドウ13はマ
ウス、14はキーボード、15は処理装置、16は入出
力インタフェース部、17はウィンドウ制御部、18は
メニュー・コマンド変換部。 19はコマンドバッファ、20は出カバソファ。 21は出力変換部、22はライン入力デバッグ処理部、
23はデバッグ制御部、24は起動実行部。 25はブレイクポイント設定部、26は逆アセンブル部
、27はデバッグ対象プログラムを表す。 特許比11人 富士通株式会社 代 理 人  弁理士 小笠原吉義(外2名)猶 1 
FIG. 1 shows a configuration example of the present invention. FIG. 2 is an explanatory diagram of processing operations in an embodiment of the present invention. FIG. 3 is an explanatory diagram of a startup execution process according to an embodiment of the present invention. 4 to 8 show debugging examples according to an embodiment of the present invention. Figure 9 is an example of a conventional line input decoder. FIG. 10 shows an example of debugging using the conventional method. In the figure, 11 is a display, 12 is a window 13, a mouse, 14 is a keyboard, 15 is a processing device, 16 is an input/output interface section, 17 is a window control section, and 18 is a menu/command conversion section. 19 is a command buffer, 20 is an output sofa. 21 is an output conversion unit, 22 is a line input debug processing unit,
23 is a debug control unit, and 24 is a startup execution unit. Reference numeral 25 represents a breakpoint setting section, 26 a disassembling section, and 27 a debug target program. Patent ratio: 11 people Representative: Fujitsu Limited Patent attorney: Yoshiyoshi Ogasawara (2 others)
m

Claims (1)

【特許請求の範囲】 デバッグ対象プログラム(27)の実行制御を行い、デ
バッグ情報を出力するデバッグシステムにおいて、 ディスプレイに表示するウィンドウの制御を行うウィン
ドウ制御部(17)と、 ライン入力およびライン出力を基本とし、デバッグ対象
プログラムについてのデバッグ制御機能を持つライン入
力デバッグ処理部(22)と、前記ウィンドウ制御部を
介して、メニューにより入力されたデバッグ指示情報を
、前記ライン入力デバッグ処理部の入力形式に応じたコ
マンドに変換するメニュー・コマンド変換部(18)と
、前記ライン入力デバッグ処理部の出力を、前記ウィン
ドウ制御部に対する入力となるように、出力変換を行う
出力変換部(21)とを備え、ウィンドウによるデバッ
グ情報の入出力を行うようにしたことを特徴とするデバ
ッグシステムにおける入出力制御方式。
[Claims] A debug system that controls the execution of a program to be debugged (27) and outputs debug information, comprising a window control unit (17) that controls a window displayed on a display, and a line input and line output. Basically, a line input debug processing unit (22) having a debug control function for the program to be debugged and the window control unit input debug instruction information input from the menu into the input format of the line input debug processing unit. a menu/command conversion unit (18) that converts the output of the line input debug processing unit into a command according to the above, and an output conversion unit (21) that converts the output of the line input debug processing unit so that it becomes input to the window control unit. An input/output control method for a debugging system, characterized in that debugging information is input/output using a window.
JP63215914A 1988-08-30 1988-08-30 Input/output control system in debugging system Pending JPH0264746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63215914A JPH0264746A (en) 1988-08-30 1988-08-30 Input/output control system in debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63215914A JPH0264746A (en) 1988-08-30 1988-08-30 Input/output control system in debugging system

Publications (1)

Publication Number Publication Date
JPH0264746A true JPH0264746A (en) 1990-03-05

Family

ID=16680344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63215914A Pending JPH0264746A (en) 1988-08-30 1988-08-30 Input/output control system in debugging system

Country Status (1)

Country Link
JP (1) JPH0264746A (en)

Similar Documents

Publication Publication Date Title
US20030208746A1 (en) Conditional breakpoint encountered indication
JPH07120285B2 (en) How to use the syntax checker and text editor
JPH0264746A (en) Input/output control system in debugging system
JP2009223471A (en) Simulation system
JP2809048B2 (en) Screen debugging method
JPH08263333A (en) Programming support device and method
JP2005242683A (en) Program creation device using computer
JPH03144833A (en) Debugging system
JPH10221129A (en) Analyzer
JPH0262639A (en) Interruption system for language debugger
JPH04141747A (en) Program debugging device
JPS5912488A (en) Display screen control system
JPH1021191A (en) Command history managing device for information processor
JPH04155540A (en) Program correcting system by interactive debugger
JP2003263340A (en) Debug device
JPH08185326A (en) Interpreter language processor
JPH04191906A (en) User program execution control system for programmable controller
JPH05334135A (en) Error information display system for abnormal end of program
JPH0833846B2 (en) Function trace / step trace switching control method
JPH036527B2 (en)
JPH0869366A (en) Menu display method
JPH06110834A (en) Software application executing device
JPH01261741A (en) Fa controller
JPH07311692A (en) Debugging method
JPH033040A (en) Error display system