JPH09319614A - Remote type debugging system - Google Patents

Remote type debugging system

Info

Publication number
JPH09319614A
JPH09319614A JP8160752A JP16075296A JPH09319614A JP H09319614 A JPH09319614 A JP H09319614A JP 8160752 A JP8160752 A JP 8160752A JP 16075296 A JP16075296 A JP 16075296A JP H09319614 A JPH09319614 A JP H09319614A
Authority
JP
Japan
Prior art keywords
program
line number
stop point
code address
debugger
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
JP8160752A
Other languages
Japanese (ja)
Inventor
Takao Sato
孝夫 佐藤
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 JP8160752A priority Critical patent/JPH09319614A/en
Publication of JPH09319614A publication Critical patent/JPH09319614A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To intuitively comprehend the execution conditions of a compiler type program by displaying a row number corresponding to the code address of a stop point returned from a program debugger together with a source program row. SOLUTION: When program row number information 2 storing the code address corresponding to the row number of the program is inputted, a stop point setting means 3-4 sets all the code addresses of row number information in a program debugger 4 as the stop point. Next, an application program 5 is executed by the debugger 4 and at a time point when that execution reaches the stop point, the debugger 4 returns the code address of the stop point. The returned address is inputted from a real stop point input means 3-3, the row number information is retrieved by a row number retrieving means 3-2, and the row number corresponding to the current stop point is provided. Next, this row number is displayed on a program source display means 1 by a row number instructing means 3-1 and the correspondent source program row is displayed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はプログラムのデバッ
グ方式に関し、特にアプリケーションプログラムの実行
状況を実行ライン番号(実行行番号)として逐次表示す
るというプログラムアニメート方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program debugging method, and more particularly to a program animating method for sequentially displaying the execution status of an application program as an execution line number (execution line number).

【0002】[0002]

【従来の技術】プログラムデバッグの従来方式として、
アプリケーションプログラムの実行状況として実行ライ
ンを逐次表示する場合、アプリケーションプログラムを
インタプリタ方式で逐次実行し、アプリケーションプロ
グラムの該当する行(ライン)を逐次表示する方式をと
っていた。
2. Description of the Related Art As a conventional method of program debugging,
When the execution lines are sequentially displayed as the execution status of the application program, the application program is sequentially executed by an interpreter method, and the corresponding line (line) of the application program is sequentially displayed.

【0003】この従来の方式では、インタプリタを持た
ないコンパイラ方式のプログラム言語について、アプリ
ケーションプログラムの実行状況として実行ラインを逐
次表示するというプログラムアニメート方式を実現する
ことができない。
With this conventional method, it is not possible to realize a program animating method for sequentially displaying execution lines as the execution status of an application program for a compiler-type programming language without an interpreter.

【0004】[0004]

【発明が解決しようとする課題】上記したように、従来
のプログラムデバッグ方式においては、アプリケーショ
ンプログラムをインタプリタ方式で逐次実行しアプリケ
ーションプログラムの該当行を表示する方式をとるた
め、アプリケーションプログラムの実行状況として実行
行を逐次表示するプログラムアニメート方式を実現する
ためには、当該アプリケーションプログラムを一文ずつ
(1ラインずつ)逐次解釈実行するインタプリタシステ
ムが必要とされていた。
As described above, in the conventional program debugging method, since the application program is sequentially executed in the interpreter method and the corresponding line of the application program is displayed, the execution status of the application program is changed. In order to realize the program animation method for sequentially displaying execution lines, an interpreter system that sequentially interprets and executes the application program sentence by sentence (line by line) was required.

【0005】一方、プログラム言語翻訳システムは、ア
プリケーションプログラムの高速実行を図るため、コン
パイラ方式により目的プログラムを生成し、命令を逐次
解釈実行するため実行速度が遅いインタプリタ方式をと
らないシステムが多数存在している。
On the other hand, in the programming language translation system, there are many systems which do not adopt the interpreter system in which the object program is generated by the compiler system and the instructions are sequentially interpreted and executed in order to execute the application program at high speed. ing.

【0006】このため、コンパイラ方式をとるプログラ
ム言語翻訳システムでは、プログラムの実行状況を直感
的に理解することができる有効な実行ラインを逐次表示
するプログラムアニメート方式を実現することはでき
ず、プログラムの実行状況を直感的に理解することが困
難とされていた。
For this reason, the program language translation system adopting the compiler system cannot realize the program animate system for sequentially displaying the effective execution lines which can intuitively understand the execution state of the program. It was difficult to intuitively understand the execution status.

【0007】従って、本発明は、上記問題点に鑑みてな
されたものであって、その目的は、コンパイラ方式で生
成されるアプリケーションプログラムの実行状況を直感
的に理解容易とし操作性を向上させるプログラムのアニ
メート方式を提供することにある。
Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to provide a program which makes it easy to intuitively understand the execution status of an application program generated by a compiler method and improves operability. Is to provide an animated method of.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明のプログラムデバッグ方式は、ソースプログ
ラムに割り付けられる行番号と該行番号に対応するコー
ドアドレスとの情報を記憶する記憶手段を備え、コード
アドレスにより停止点が設定され実行時に停止点の情報
をコードアドレスとして返却するプログラムデバッガに
よりプログラムを実行する際、前記プログラムデバッガ
から返却された停止点のコードアドレスに対応する行番
号を前記記憶手段を参照して検索し該行番号を該行番号
が割り付けられたソースプログラム行と共に識別可能に
表示し、コンパイラ方式のプログラム言語により記述さ
れたプログラムについてソースプログラムイメージで実
行行番号にてトレース可能としたことを特徴とする。
In order to achieve the above object, the program debugging method of the present invention comprises a storage means for storing information on a line number assigned to a source program and a code address corresponding to the line number. The line number corresponding to the code address of the stop point returned from the program debugger is set when the program is executed by the program debugger that has the stop point set by the code address and returns the information of the stop point as the code address at the time of execution. The line number is searched for by referring to the storage means, the line number is displayed together with the source program line to which the line number is assigned, and the program written in the compiler programming language is traced by the execution line number in the source program image. The feature is that it is possible.

【0009】また、本発明は、好ましくは、プログラム
をソースイメージで表示するプログラム表示手段と、プ
ログラムの行番号と対応するコードアドレスとを格納し
たプログラム行番号情報と、停止点設定手段、実停止点
入力手段、行番号検索手段、行番号指示手段からなるデ
バッグインタプリタ手段と、を備え、前記停止点設定手
段は、コードアドレスにより停止点が設定され実行時に
停止点をコードアドレスとして返却するプログラムデバ
ッガに対して、前記プログラム行番号情報の全てのコー
ドアドレスを停止点として設定し、前記実停止点入力手
段は、前記プログラムデバッガによりアプリケーション
プログラムを実行し停止点に達した時点で前記プログラ
ムデバッガから返却された実停止点のコードアドレスを
入力し、前記行番号検索手段は、前記実停止点入力手段
にて入力した前記コードアドレスから前記プログラム行
番号情報を検索してログラム行番号を得、前記行番号指
示手段は、前記検索したプログラム行番号を前記プログ
ラムソース表示手段に指示することを逐次繰り返して、
前記アプリケーションプログラムの実行行番号を表示す
ることを特徴とするプログラムアニメート方式を提供す
る。
Also, the present invention is preferably a program display means for displaying a program in a source image, program line number information storing a code address corresponding to a line number of the program, a stop point setting means, and an actual stop. And a debug interpreter means including a point input means, a line number searching means, and a line number designating means, wherein the stop point setting means sets a stop point by a code address and returns the stop point as a code address at the time of execution. On the other hand, all the code addresses of the program line number information are set as stop points, and the actual stop point input means executes the application program by the program debugger and returns from the program debugger when the stop point is reached. Enter the code address of the actual stop point Retrieval means retrieves the program line number information from the code address input by the actual stop point input means to obtain a program line number, and the line number designating means retrieves the searched program line number from the program source. Repeatedly instructing the display means,
A program animation system is provided, which displays the execution line number of the application program.

【0010】本発明の概要を以下に説明する。本発明に
おいては、コードアドレスによる停止点の設定と実行時
に停止点をコードアドレスとして返却する一般的なプロ
グラムデバッガに対して、プログラム行番号情報の全て
のコードアドレスを停止点として設定し、プログラムデ
バッガによりアプリケーションプログラムを実行し停止
点に達した時点でプログラムデバッカから返却された実
停止点のコードアドレスを入力し、入力したコードアド
レスからプログラム行番号情報を検索してプログラム行
番号を得て、検索したプログラム行番号をプログラム行
番号表示手段で指示することを逐次繰り返して、アプリ
ケーションプログラムの実行行番号を表示するプログラ
ムアニメート方式を実現し、コンパイラ方式で生成され
たアプリケーションプログラムの実行状況の直感的な理
解を可能として操作性を向上させる。
The outline of the present invention will be described below. According to the present invention, a general program debugger which sets a stop point by a code address and returns the stop point as a code address at the time of execution, sets all the code addresses of the program line number information as the stop points, and Enter the code address of the actual stop point returned from the program debugger when the application program is executed and the stop point is reached, and the program line number information is retrieved from the entered code address to obtain the program line number and search The program animating method of displaying the execution line number of the application program by sequentially instructing the program line number displayed by the program line number display means is realized, and the execution status of the application program generated by the compiler method is intuitive. Understandable To improve operability.

【0011】このように、本発明によれば、アプリケー
ションプログラムの実行行番号を表示するプログラムア
ニメート方式を実現することにより、アプリケーション
プログラムの実行行状況を、プログラムソースの形式に
て、どのプログラム行が実行されてどのような順序で実
行されているかを表示することができる。
As described above, according to the present invention, by realizing the program animation method for displaying the execution line number of the application program, the execution line status of the application program can be determined by which program line in the form of the program source. You can display the order in which they are executed and in what order.

【0012】[0012]

【発明の実施の形態】本発明の実施の形態について図面
を参照して以下に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は、本発明の実施の形態を説明するた
めの図である。図1を参照すると、本発明の実施の形態
は、プログラムソース表示手段1と、プログラムの行番
号と対応するコードアドレスを格納したプログラム行番
号情報2と、行番号指示手段3−1、行番号検索手段3
−2、実停止点入力手段3−3、及び停止点設定手段3
−4からなるデバッグインタプリタ手段3と、を備え、
さらにプログラムデバッガ4、アプリケーションプログ
ラム5を備えて構成される。
FIG. 1 is a diagram for explaining an embodiment of the present invention. Referring to FIG. 1, in the embodiment of the present invention, a program source display unit 1, a program line number information 2 storing a code address corresponding to a line number of a program, a line number designating unit 3-1, and a line number. Search means 3
-2, actual stop point input means 3-3, and stop point setting means 3
-4, and a debug interpreter means 3 comprising:
Further, the program debugger 4 and the application program 5 are provided.

【0014】図2は、本発明の実施の形態の処理動作を
説明するための流れ図である。
FIG. 2 is a flow chart for explaining the processing operation of the embodiment of the present invention.

【0015】プログラムの行番号と対応するコードアド
レスを格納したプログラム行番号情報1を入力する(ス
テップ21)。
Program line number information 1 storing the code address corresponding to the line number of the program is input (step 21).

【0016】次に、コードアドレスによる停止点(ブレ
ークポイント)の設定と実行時に停止点をコードアドレ
スとして返却する一般的なプログラムデバッガ4に対し
て、停止点設定手段3−4を用いてプログラム行番号情
報の全てのコードアドレスを停止点として設定する(ス
テップ22)。このステップ22の処理によって、アプ
リケーションプログラムの全てソース行に対応したコー
ドアドレスがアプリケーションプログラムの停止点とし
て設定される。
Next, for a general program debugger 4 which sets a breakpoint (breakpoint) by a code address and returns the breakpoint as a code address at the time of execution, a program line is generated by using the breakpoint setting means 3-4. All code addresses of the number information are set as stop points (step 22). By the processing of step 22, the code addresses corresponding to all the source lines of the application program are set as the stop points of the application program.

【0017】次に、プログラムデバッガ4によりアプリ
ケーションプログラムを実行する(ステップ23)。
Next, the program debugger 4 executes the application program (step 23).

【0018】アプリケーションプログラムの実行が停止
点に達した時点でプログラムデバッカ4は、停止点のコ
ードアドレスを返却する(ステップ24)。
When the execution of the application program reaches the stop point, the program debugger 4 returns the code address of the stop point (step 24).

【0019】返却されアプリケーションプログラムの現
在の停止点のコードアドレスを実停止点入力手段3−3
により入力し(ステップ25)、入力したコードアドレ
スから行番号検索手段3−2によりコードアドレスに対
応したプログラム行番号情報を検索して現在の停止点に
対応するプログラム行番号を得る(ステップ26)。
The code address of the current stop point of the returned application program is used as the actual stop point input means 3-3.
Is input (step 25), and the program line number information corresponding to the code address is retrieved from the input code address by the line number retrieving means 3-2 to obtain the program line number corresponding to the current stop point (step 26). .

【0020】次に、検索したプログラム行番号を行番号
指示手段3−1によりプログラムソース表示手段1に指
示してプログラム行番号に対応するソースプログラム行
を表示する(ステップ27)。
Then, the retrieved program line number is designated by the line number designating means 3-1 to the program source display means 1 to display the source program line corresponding to the program line number (step 27).

【0021】以降、アプリケーションプログラムが終了
するかデバッグ作業自体が終了するまでステップ23〜
27を逐次繰り返して実行する。以上の操作によりプロ
グラムソース表示手段1により表示されるソースプログ
ラムは、アプリケーションプログラムの実行ライン番号
を逐次表示するプログラムアニメート方式を実現するこ
とが可能となる。
Thereafter, steps 23 to 23 are executed until the application program ends or the debugging work itself ends.
27 is sequentially repeated and executed. By the above operation, the source program displayed by the program source display means 1 can realize the program animation method in which the execution line numbers of the application programs are sequentially displayed.

【0022】[0022]

【実施例】次に、本発明の一実施例を説明する。本発明
の一実施例の構成は、本発明の実施の形態の説明で参照
した図1に示した構成と同様とされるため説明を省略す
る。本発明の一実施例で利用するプログラムデバッガ4
は、コードアドレス形式での停止点の設定とデバッグ実
行にコードアドレス形式での停止点の返却が可能である
ような一般的なプログラムデバッガを想定する。
Next, an embodiment of the present invention will be described. The configuration of one example of the present invention is the same as the configuration shown in FIG. 1 referred to in the description of the embodiment of the present invention, and therefore description thereof is omitted. Program debugger 4 used in one embodiment of the present invention
Assumes a general program debugger that can set breakpoints in code address format and return breakpoints in code address format for debug execution.

【0023】また、本発明の実施例を説明するためのア
プリケーションプログラムを図3に示すようなCOBO
L言語によるプログラム例で説明する。
An application program for explaining the embodiment of the present invention is a COBO as shown in FIG.
An example of a program in L language will be described.

【0024】ここで100、200、300はプログラ
ムの行番号を示す。
Here, 100, 200 and 300 indicate line numbers of the program.

【0025】プログラムソース表示手段1は、このCO
BOLプログラムをソースプログラムイメージで表示し
ている。
The program source display means 1 uses this CO
The BOL program is displayed as a source program image.

【0026】また、プログラムソース表示手段1はソー
ス行の表示方法として、ソース行番号が指定されると、
そのソース行をディスプレイ上に輝度反転して表示す
る。すなわち図1は、プログラムソース表示手段1は3
00行の表示指示に対応して、300 PERFORM
TAG−1 THRU TAG−2.を輝度反転して
ディスプレイ表示した状態を示している(図1ではこれ
を破線で囲んで示している)。
When the source line number is designated as the display method of the source line, the program source display means 1
The source line is displayed on the display with the brightness inverted. That is, in FIG. 1, the program source display means 1 has three
300 PERFORM corresponding to the display instruction of line 00
TAG-1 THRU TAG-2. Shows a state in which the luminance is inverted and displayed on the display (in FIG. 1, this is surrounded by a broken line).

【0027】また、COBOLプログラム例に対応して
プログラム行番号情報2は、図1に示すような内容であ
るとする。このプログラム行番号情報2は、それぞれ、 プログラム行番号100行の開始コードアドレスがXX
XXXXXX プログラム行番号200行の開始コードアドレスがYY
YYYYYY プログラム行番号300行の開始コードアドレスがZZ
ZZZZZZZZ であることを示している。
Further, it is assumed that the program line number information 2 has contents as shown in FIG. 1 corresponding to the COBOL program example. In this program line number information 2, the start code address of the program line number 100 is XX.
XXXXXXXX Start code address of program line number 200 is YY
YYYYYY The start code address of program line number 300 is ZZ.
It is shown that it is ZZZZZZZZ.

【0028】図2の流れ図を参照して、本発明の一実施
例の処理を以下に説明する。
The processing of one embodiment of the present invention will be described below with reference to the flowchart of FIG.

【0029】プログラムの行番号と対応するコードアド
レスを格納したプログラム行番号情報1を入力し(ステ
ップ21)、コードアドレスによる停止点の設定と実行
時に停止点をコードアドレスとして返却する一般的なプ
ログラムデバッガ4に対して、停止点設定手段3−4を
用いてプログラム行番号情報の全てのコードアドレスを
停止点として設定する(ステップ22)が、例えば、 プログラム行番号100行の開始コードアドレスがXX
XXXXXX プログラム行番号200行の開始コードアドレスがYY
YYYYYY プログラム行番号300行の開始コードアドレスがZZ
ZZZZZZZZ 以下省略、の開始コードアドレスXXXXXXXX、Y
YYYYYYY、ZZZZZZZZZZ、…をCOBO
Lプログラム例の停止点として全て設定する。
A general program for inputting program line number information 1 storing a code address corresponding to a line number of a program (step 21), setting a stop point by the code address and returning the stop point as a code address at the time of execution For the debugger 4, all the code addresses of the program line number information are set as stop points using the stop point setting means 3-4 (step 22). For example, the start code address of the program line number 100 is XX.
XXXXXXXX Start code address of program line number 200 is YY
YYYYYY The start code address of program line number 300 is ZZ.
ZZZZZZZZ Start code address XXXXXXXXXX, Y
COBO for YYYYYYYY, ZZZZZZZZZZZZ ...
Set all as stop points in the L program example.

【0030】この操作によりプログラムデバッガ4は、
図3に示したCOBOLプログラムを実行時に、実行ア
ドレスがXXXXXXXX、YYYYYYYY、ZZZ
ZZZZZZZ、…に達する度に、一時停止して停止し
ている実行アドレスを返却する。
By this operation, the program debugger 4
When the COBOL program shown in FIG. 3 is executed, the execution addresses are XXXXXXXXX, YYYYYYYY, ZZZ.
Each time ZZZZZZZZ, ... Is reached, the execution address that has been stopped temporarily is returned.

【0031】次にプログラムデバッガ4によりCOBO
Lプログラムを実行し(ステップ23)、アプリケーシ
ョンプログラムの実行が最初に停止点に達した時点でプ
ログラムデバッガ4は、停止点のコードアドレスXXX
XXXXXを返却し(ステップ24)、返却されアプリ
ケーションプログラムの現在の停止点のコードアドレス
XXXXXXXXを実停止点入力手段3−3により入力
して(ステップ25)、入力したコードアドレスから行
番号検索手段3−2によりコードアドレスXXXXXX
XXに対応したプログラム行番号情報を検索して現在の
停止点に対応するプログラム行番号100を得る(ステ
ップ26)。次に検索したプログラム行番号100を行
番号指示手段3−1によりプログラムソース表示手段1
に指示してプログラム行番号に対応するソースプログラ
ム行を表示する(ステップ27)。プログラムソース表
示手段1は、予めCOBOLプログラムの全体を表示し
ており、ステップ27でプログラム行番号100の表示
指示を受けて100行のソースプログラムを反転表示す
る。
Next, the program debugger 4 causes the COBO
When the L program is executed (step 23) and the execution of the application program first reaches the stop point, the program debugger 4 determines the code address XXX of the stop point.
XXXXXX is returned (step 24), the code address XXXXXXXXX of the returned application program at the current stop point is input by the actual stop point input means 3-3 (step 25), and the line number search means 3 is input from the input code address. -2 by code address XXXXXX
The program line number information corresponding to XX is searched to obtain the program line number 100 corresponding to the current stop point (step 26). Next, the program line display means 1 is used for the retrieved program line number 100 by the line number designating means 3-1.
To display the source program line corresponding to the program line number (step 27). The program source display means 1 displays the entire COBOL program in advance, and in step 27, receives the display instruction of the program line number 100, and displays the source program of 100 lines in reverse video.

【0032】次に、ステップ23、及び24の操作にお
いて、COBOLプログラムはYYYYYYYYで停止
する。前回の処理と同様にステップ24、25、26の
操作によりプログラム行番号200を検索して、プログ
ラム行番号200の表示をプログラムソース表示手段1
に指示する。プログラム行番号200の表示指示を受け
て200行のソースプログラムを反転表示する。以降同
様の操作でZZZZZZZZZZ停止した場合には、3
00行に対応するCOBOLプログラムの行が反転表示
される。
Next, in the operations of steps 23 and 24, the COBOL program stops at YYYYYYYY. Similar to the previous process, the program line number 200 is searched by the operations of steps 24, 25 and 26, and the display of the program line number 200 is displayed by the program source display means 1.
To instruct. Upon receiving the display instruction of the program line number 200, the source program of line 200 is highlighted. If ZZZZZZZZZZZZ is stopped by the same operation thereafter, 3
The line of the COBOL program corresponding to line 00 is highlighted.

【0033】以上のように、COBOLプログラム例の
実行に合わせて100行、200行、300行に対応し
たソースがプログラムソース表示手段1により順次輝度
反転して表示されることとなり、COBOLプログラム
の実行をソース形式で直感的に理解することができる。
As described above, the sources corresponding to the 100th, 200th, and 300th lines are sequentially displayed with the brightness reversed by the program source display means 1 in accordance with the execution of the COBOL program example, and the COBOL program is executed. Can be intuitively understood in source form.

【0034】本発明の実施例に係るプログラムデバッグ
方式においては、複数の計算機システムがネットワーク
に接続されてなる環境において、各計算機システムで異
なったデバッガを用いてプログラム開発が行われる際
に、デバッガインタプリタ3を一つの計算機システムに
インストールしておき、他の計算機システムにおいて起
動されるデバッガ4によりアプリケーションプログラム
のデバッグ時に、停止点のコードアドレスをネットワー
クを介して上記一つの計算機システムにインストールさ
れているデバッガインタプリタ3の実停止点入力手段3
−3に転送することにより、プログラムソース表示手段
1において、共通のグラフィカルユーザインターフェー
ス(GUI)にてプログラムの実行ライン番号をトレー
ス表示することが可能とされ、これにより例えばクライ
エント/サーバ方式のリモート型のデバッグ環境を実現
できる。また、本発明の実施例では、コンパイラ方式の
言語としてCOBOLを例に説明したが、本発明はその
他PL/1、Fortran等に対しても同様にして適
用することができる。
In the program debugging method according to the embodiment of the present invention, the debugger interpreter is used when a program is developed using a different debugger in each computer system in an environment in which a plurality of computer systems are connected to the network. 3 is installed in one computer system, and when the debugger 4 started in another computer system debugs the application program, the debugger is installed in the one computer system at the code address of the stop point via the network. Actual stop point input means 3 of the interpreter 3
-3, the program source display means 1 can display the execution line number of the program in a trace on a common graphical user interface (GUI), which allows, for example, a client / server remote. A type debugging environment can be realized. Further, in the embodiment of the present invention, COBOL has been described as an example of the language of the compiler system, but the present invention can be similarly applied to other PL / 1, Fortran, and the like.

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
コンパイラ方式で生成されたアプリケーションプログラ
ムに対してもプログラムアニメート方式を実現し、アプ
リケーションプログラムの実行状況を直感的に理解する
ことを可能とし、その結果操作性を向上させると共に、
プログラムの開発効率及び生産性を向上させることがで
きるという効果を有する。
As described above, according to the present invention,
The program animation method is realized for the application program generated by the compiler method, which makes it possible to intuitively understand the execution status of the application program, resulting in improved operability.
This has the effect of improving the program development efficiency and productivity.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態を説明するための図であ
る。
FIG. 1 is a diagram for describing an embodiment of the present invention.

【図2】本発明の実施の形態の処理動作を説明するため
の流れ図である。
FIG. 2 is a flowchart illustrating a processing operation according to the embodiment of this invention.

【図3】本発明の実施例を説明するためのアプリケーシ
ョンプログラムの例を示す図である。
FIG. 3 is a diagram showing an example of an application program for explaining an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 プログラムソース表示手段 2 プログラム行番号情報 3 デバッグインタプリタ手段 3−1 行番号指示手段 3−2 行番号検索手段 3−3 実停止点入力手段 3−4 停止点設定手段 4 プログラムデバッガ 5 アプリケーションプログラム 1 Program Source Display Means 2 Program Line Number Information 3 Debug Interpreter Means 3-1 Line Number Indication Means 3-2 Line Number Search Means 3-3 Actual Stop Point Input Means 3-4 Stop Point Setting Means 4 Program Debugger 5 Application Programs

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】ソースプログラムに割り付けられる行番号
と該行番号に対応するコードアドレスとの情報を記憶す
る記憶手段を備え、 コードアドレスにより停止点が設定され実行時に停止点
の情報をコードアドレスとして返却するプログラムデバ
ッガによりプログラムを実行する際、前記プログラムデ
バッガから返却された停止点のコードアドレスに対応す
る行番号を前記記憶手段を参照して検索し該行番号を該
行番号が割り付けられたソースプログラム行と共に識別
可能に表示し、 コンパイラ方式のプログラム言語により記述されたプロ
グラムについてソースプログラムイメージで実行行番号
にてトレース可能としたことを特徴とするプログラムデ
バッグ方式。
1. A storage means for storing information on a line number assigned to a source program and a code address corresponding to the line number, wherein a stop point is set by the code address and the information on the stop point is used as a code address at the time of execution. When executing the program by the program debugger to be returned, the line number corresponding to the code address of the stop point returned from the program debugger is searched by referring to the storage means, and the line number is the source to which the line number is assigned. A program debugging method characterized in that it is displayed in a distinguishable manner together with the program line, and a program written in the compiler programming language can be traced by the execution line number in the source program image.
【請求項2】アプリケーションプログラムをデバッグす
るデバッグ方式において、 プログラムをソースイメージで表示するプログラム表示
手段と、 プログラムの行番号と対応するコードアドレスとを格納
したプログラム行番号情報と、停止点設定手段、実停止
点入力手段、行番号検索手段、行番号指示手段からなる
デバッグインタプリタ手段と、 を備え、 前記停止点設定手段は、コードアドレスにより停止点が
設定され実行時に停止点をコードアドレスとして返却す
るプログラムデバッガに対して、前記プログラム行番号
情報の全てのコードアドレスを停止点として設定し、 前記実停止点入力手段は、前記プログラムデバッガによ
りアプリケーションプログラムを実行し停止点に達した
時点で前記プログラムデバッガから返却された実停止点
のコードアドレスを入力し、 前記行番号検索手段は、前記実停止点入力手段にて入力
した前記コードアドレスから前記プログラム行番号情報
を検索してログラム行番号を得、 前記行番号指示手段は、前記検索したプログラム行番号
を前記プログラムソース表示手段に指示することを逐次
繰り返して、前記アプリケーションプログラムの実行行
番号を表示することを特徴とするプログラムアニメート
方式。
2. In a debugging method for debugging an application program, program display means for displaying the program as a source image, program line number information storing a line number of the program and a corresponding code address, and a stop point setting means, And a debug interpreter unit including an actual stop point input unit, a line number search unit, and a line number instruction unit, wherein the stop point setting unit sets a stop point by a code address and returns the stop point as a code address at the time of execution. All the code addresses of the program line number information are set as stop points to the program debugger, and the actual stop point input means executes the application program by the program debugger and reaches the stop point when the program debugger is reached. Real stop returned from The point code address is input, the line number search means obtains a program line number by searching the program line number information from the code address input by the actual stop point input means, and the line number instruction means is A program animating system characterized in that the execution line number of the application program is displayed by successively repeating the instruction of the retrieved program line number to the program source display means.
【請求項3】複数の計算機システムがネットワーク接続
されたシステムにおいて、少なくとも一つの計算機シス
テムが請求項2記載の前記デバッグインタプリタ手段を
備え、 前記デバッグインタプリタ手段の前記実停止点入力手段
が、前記デバッグインタプリタを備えた自計算機システ
ム又はネットワーク接続された他の計算機システムで起
動される、コードアドレスにより停止点が設定され実行
時に停止点をコードアドレスとして返却する、プログラ
ムデバッガからのコードアドレスを入力し、 計算機システム固有のプログラムデバッガによるデバッ
グに対して、プログラム表示手段にて所定の統一仕様の
グラフィカルユーザインターフェースにてプログラムの
実行を行番号に基づきトレース自在としたことを特徴と
するリモート型デバッグ方式。
3. In a system in which a plurality of computer systems are network-connected, at least one computer system comprises the debug interpreter means according to claim 2, and the actual stop point input means of the debug interpreter means comprises the debug. Entered the code address from the program debugger, which is started by the own computer system equipped with an interpreter or other computer system connected to the network, the stop point is set by the code address, and the stop point is returned as the code address at the time of execution. In contrast to the debugging by the program debugger unique to the computer system, the remote display device is characterized in that the program display means allows the execution of the program to be freely traced based on the line number by a graphical user interface of a predetermined unified specification. Grayed system.
JP8160752A 1996-05-31 1996-05-31 Remote type debugging system Pending JPH09319614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8160752A JPH09319614A (en) 1996-05-31 1996-05-31 Remote type debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8160752A JPH09319614A (en) 1996-05-31 1996-05-31 Remote type debugging system

Publications (1)

Publication Number Publication Date
JPH09319614A true JPH09319614A (en) 1997-12-12

Family

ID=15721703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8160752A Pending JPH09319614A (en) 1996-05-31 1996-05-31 Remote type debugging system

Country Status (1)

Country Link
JP (1) JPH09319614A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279790A (en) * 2010-06-11 2011-12-14 国际商业机器公司 Distributed debugging method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279790A (en) * 2010-06-11 2011-12-14 国际商业机器公司 Distributed debugging method and system
JP2011258185A (en) * 2010-06-11 2011-12-22 International Business Maschines Corporation Debugging program, debugging system and method
US8856742B2 (en) 2010-06-11 2014-10-07 International Business Machines Corporation Distributed debugging

Similar Documents

Publication Publication Date Title
US6026362A (en) Tool and method for diagnosing and correcting errors in a computer program
CA2128387C (en) Method and apparatus for configuring computer programs from available subprograms
US7036079B2 (en) Importation of automatically generated content
JP3372563B2 (en) Tree structure display editing device
US7565607B2 (en) Automatic image capture for generating content
JPH09185538A (en) Method and device for front end navigator and network architecture
JPH04337843A (en) Program operation display method
JPH10187449A (en) Object-directed programming device, object-oriented programming backup device component generating device, object-oriented program storage medium, program storage medium for object-oriented programming, component storage means, and inter-object network display method
JP4846029B2 (en) Operation verification apparatus, operation verification method, and operation verification program
JPH09319614A (en) Remote type debugging system
JPH0944379A (en) Method and device for supporting programming
JP2011164785A (en) Device, method and program for verifying operation
JPH06332689A (en) Program displaying method and program edition accepting method
JP3498733B2 (en) Tree structure display editing device
JP2000259228A (en) Monitoring controller
JP3238728B2 (en) Image processing device and user terminal device
JPH02181298A (en) Trouble detecting using image type knowledge base
JP2002366357A (en) Object-oriented programming apparatus, object-oriented programming supporting apparatus, component builder apparatus, object-oriented program storage medium, program storage medium for object-oriented programming, component storage medium, and object- between-network display method
JP2004139313A (en) Source code display system and program
JPH0736592A (en) Guidance indicating device and method
JPH03130840A (en) Trace control system for overlay module
JP2001229048A (en) Debug device and debug method and recording medium with program for debug recorded
JPH05324399A (en) Information monitoring device
JPH1115623A (en) Agent monitoring device and its method, information processor and its method, and recording medium
JPH05282174A (en) Program debugging device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981013