JPH02210556A - Visualizing device for program execution state - Google Patents

Visualizing device for program execution state

Info

Publication number
JPH02210556A
JPH02210556A JP1031565A JP3156589A JPH02210556A JP H02210556 A JPH02210556 A JP H02210556A JP 1031565 A JP1031565 A JP 1031565A JP 3156589 A JP3156589 A JP 3156589A JP H02210556 A JPH02210556 A JP H02210556A
Authority
JP
Japan
Prior art keywords
program
source program
execution
display
execution state
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
JP1031565A
Other languages
Japanese (ja)
Inventor
Minoru Miyazaki
実 宮崎
Shinichi Ono
晋一 小野
Masayo Hatanaka
雅代 畠中
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 JP1031565A priority Critical patent/JPH02210556A/en
Publication of JPH02210556A publication Critical patent/JPH02210556A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect bugs with less trouble by displaying a source program on a display device by a display means and displaying position information, execution information, or the like, which is in course of execution, of the source program in a prescribed range. CONSTITUTION:At the time of debugging the source program, the source program is displayed with a step as the unit on a display device 3-1 by a display means 3 of an execution state monitor device 2. The execution state of an execution type program in a computer main body device 1 is monitored by a monitor means to send position information to a detecting means, and a correspondence table is referred by a detecting means to detect the step being in course of execution of the source program, and the detected step is indicated with a cursor on the display device 3-1 by the display means 3, and variable values at this time are displayed on the display device. Thus, a programmer visually recognizes the flow of the program and the change of variable values on the display device 3-1 correspondingly to steps of the source program.

Description

【発明の詳細な説明】 〔概 要〕 デバッグ時の、プログラム実行状態の視覚化装置に関し
、 手間が少なくてバグの検出が出来るプログラム実行状態
の視覚化装置の提供を目的とし、実行形式プログラムを
実行する計算機本体装置と、該計算機本体装置が実行す
るプログラムを監視し、その状況を表示する実行状態監
視装置とで構成し、 該実行状態監視装置は、前記計算機本体装置が実行する
該プログラムの元となるソースプログラムを表示する表
示手段と、 前記ソースプログラムの各ステップと前記実行形式プロ
グラムの実行位置情報(行番号)との対応を記憶する記
憶手段と、 前記計算機本体装置が実行中の前記実行形式プログラム
の状態情報を監視検出する監視手段と、該監視手段によ
り検出する実行形式プログラムの位置情報をもとに前記
記憶手段に記憶されているソースプログラムの所定位置
を検出する検出手段とからなり、 前記表示手段によりディスプレイ上にソースプログラム
を表示すると共に前記監視手段及び検出手段により検出
した情報に基づいて該ソースプログラムの実行中の位置
情報、実行情報等を所定範囲で表示するように構成する
[Detailed Description of the Invention] [Summary] Regarding a program execution state visualization device during debugging, the purpose of this invention is to provide a program execution state visualization device that can detect bugs with less effort. It consists of a computer main unit that executes the program, and an execution status monitoring device that monitors the program executed by the computer main unit and displays its status, and the execution status monitoring device monitors the program executed by the computer main unit. display means for displaying an original source program; storage means for storing a correspondence between each step of the source program and execution position information (line number) of the executable program; monitoring means for monitoring and detecting state information of the executable program; and detecting means for detecting a predetermined position of the source program stored in the storage means based on the position information of the executable program detected by the monitoring means. The display means is configured to display the source program on the display and also display position information, execution information, etc. during execution of the source program in a predetermined range based on information detected by the monitoring means and the detection means. do.

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

本発明は、プログラムのデバッグ時に、プログラム実行
状態を眼で認識出来るプログラム実行状態の視覚化装置
に関する。
The present invention relates to a program execution state visualization device that allows the program execution state to be visually recognized during program debugging.

計算機に用いるプログラムは、作成後直ちに作成者の思
った通りに動くことは少なく、■作成したソースプログ
ラムを、計算機の有するプログラムにてコンパイル、ア
センブルして計算機が実行可能な機械語に変換し、■例
えば、外部記憶装置をアクセスして読み出す等の、シス
テムに用意されている基本的なライブラリであるシステ
ムプログラムとリンクして、ソースプログラムを計算機
が実行可能なように変換した実行(ロード)モジュール
(実行形式プログラム)を作成し、■それを実行させ、
■例えば、加算をして、加算結果を求めるものである時
は、加算する値及び加算結果の、入出力データの関係を
検査し、■その結果で、問題があれば、該ソースプログ
ラムを見直すことにより、■バグの箇所を推定し、その
バグを除去後、再び■からの動作を繰り返す作業が一般
的に行われてきた。
Programs used in computers rarely work as intended by the creator immediately after they are created, so it is necessary to compile and assemble the created source program using the computer's own program and convert it into machine language that can be executed by the computer. ■For example, an execution (load) module that converts a source program into one that can be executed by a computer by linking with the system program, which is a basic library provided in the system, such as accessing and reading external storage devices. (executable program) and run it.
■For example, when performing addition and finding the addition result, check the relationship between the input and output data of the value to be added and the addition result, and ■If there is a problem with the result, review the source program. As a result, it has been common practice to estimate the location of the bug, remove the bug, and then repeat the steps from step 2 again.

この場合、特にソースプログラムを見直すことによりバ
グの箇所を推定するのは、経験と勘に顧ることが非常に
多く、又時間もかかる為に、このバグの箇所を用意に決
定する方法や、見出すことの出来る道具の提供が要望さ
れている。
In this case, estimating the location of the bug by reviewing the source program requires a great deal of experience and intuition, and is also time-consuming. There is a need to provide tools that can be used to find out.

更に、この道具としては、ソースプログラムのどの部分
にバグがあるかが眼で見え容易に判るものであることが
望まれている。
Furthermore, it is desired that this tool be able to easily and visually see which part of the source program has a bug.

〔従来の技術〕[Conventional technology]

第6図は従来例の実行モジュールの構成を示す図、第7
図は従来例のデバッグ装置使用の場合を示すブロック図
である。
FIG. 6 is a diagram showing the configuration of a conventional execution module, and FIG.
The figure is a block diagram showing the use of a conventional debugging device.

従来、バグの箇所を容易に決定したり見出すことが出来
るようにする為に、第6図、第7図に示す方法がある。
Conventionally, there is a method shown in FIGS. 6 and 7 in order to easily determine or find the location of a bug.

第6図に示す方法は、ソースプログラムをコンパイル、
アセンブルして機械語に変換しシステムプログラムとリ
ンクして実行モジュールを作成する場合、該ソースプロ
グラムに対し、 ■指定したある行迄実行してそこでストップする。
The method shown in Figure 6 compiles the source program,
When assembling, converting into machine language, and linking it with a system program to create an execution module, the source program is: (1) executed up to a specified line and then stopped;

■指定した変数の値を表示する。■Display the value of the specified variable.

■1ステップづつ実行しストップする。■Execute one step at a time and stop.

等のコマンドを持つデバッグ用プログラムを組み込んで
実行モジュールを作成して、実行させてゆくものがある
There are programs that create an execution module by incorporating a debugging program with commands such as commands, and run it.

この場合は、実行した1ステツプとか、実行した行の機
械語表示や、変数の値を表示装置に表示することは出来
、変数の値で今実行した所は多分バクがあるか無いかが
判る。
In this case, it is possible to display the executed step, machine language display of the executed line, and variable values on the display device, and from the variable values, it can be determined whether or not there is probably a bug in the executed part.

第7図に示す他の方法は、デバッグ用プログラムを組み
込まず、通常通りコンパイル、アセンブルし、リンクし
た実行モジュールを、表示装置20を有するデバッグ装
置21に持たせ、使用する計算機のプロセッサを、デバ
ッグ装置21のプロセッサに取り替えることをプローブ
を取りつけることにより行い、そしてデバッグを行い、
上記と同様に、表示装置20に表示させてデバッグを行
うものがある。
Another method shown in FIG. 7 does not incorporate a debugging program, but instead compiles, assembles, and links an execution module in the debugging device 21 having a display device 20, and debugs the processor of the computer used. replacing the processor of the device 21 by attaching a probe and debugging;
Similar to the above, there are devices that display on the display device 20 for debugging.

尚これ等の方法では、デバッグが完了し、実際に実行さ
せる時は、新たに、ソースプログラムをシステムプログ
ラムにリンクして実行モジュールを作成せねばならず、
更にデバッグ装置を用いる場合は、これを使用する計算
機にセットしたり、取り除いたすせねばならず手間がか
かる。
In addition, with these methods, when debugging is completed and the program is to be actually executed, the source program must be newly linked to the system program to create an execution module.
Furthermore, when a debugging device is used, it must be installed and removed from the computer being used, which is time-consuming.

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

しかしながら、行の指定は、作成者が、ソースプログラ
ムを印刷したリストを見ながら行わねばならず、又バグ
のある行またはステップが判っても、これをソースプロ
グラムに対応させて検討しなければならず、手間がかか
る問題点がある。
However, when specifying lines, the author must look at a printed list of the source program, and even if a buggy line or step is found, he or she must consider it in relation to the source program. However, there is a problem that it takes time and effort.

又、時間がかかつても変数値が表示されない場合は、無
限ループが出来停まらないのか、命令を記憶しているメ
モリ領域が破損して動作をしなくなったかが、ソースプ
ログラムを検討しなければ判らず手間がかかる間!’、
’J) ijyがある。
Also, if the variable value is not displayed even after some time, you need to examine the source program to find out whether an infinite loop has occurred or whether the memory area that stores instructions has become corrupted and no longer works. It takes time and effort to understand! ',
'J) There is ijy.

本発明は、作成者がよく熟知しているソースプログラム
及び、その実行の流れの状態及び変数の値をディスプレ
イに表示し、手間が少なくてバグの検出が出来る、プロ
グラム実行状態の視覚化装置の提供を目的としている。
The present invention is a program execution state visualization device that displays a source program that the creator is familiar with, the state of its execution flow, and the values of variables on a display, and can detect bugs with little effort. intended to provide.

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

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

第1図に示す如く、実行形式プログラムを実行する計算
機本体装置1と、 該計算機本体装置1が実行するプログラムを監視し、そ
の状況を表示する実行状態監視装置2とで構成し、 該実行状態監視装置2は、前記計算機本体装置1が実行
する該プログラムの元となるソースプログラムを表示す
る表示手段3と、 前記ソースプログラムの各ステップと前記実行形式プロ
グラムの実行位置情報(行番号)との対応を記憶する記
憶手段4よ、 前記計算機本体装置1が実行中の前記実行形式プログラ
ムの状態情報を監視検出する監視手段5と、該監視手段
5により検出する実行形式プログラムの位置情報をもと
に前記記憶手段4に記憶されているソースプログラムの
所定位置を検出する検出手段6とからなる。
As shown in FIG. 1, it consists of a computer main unit 1 that executes an executable program, and an execution state monitoring device 2 that monitors the program executed by the computer main unit 1 and displays its status. The monitoring device 2 includes a display unit 3 that displays a source program that is the source of the program executed by the computer main unit 1, and a display unit 3 that displays each step of the source program and execution position information (line number) of the executable program. A storage means 4 for storing correspondence, a monitoring means 5 for monitoring and detecting status information of the executable program being executed by the computer main unit 1, and a monitoring means 5 for monitoring and detecting status information of the executable program being executed by the computer main unit 1; and a detection means 6 for detecting a predetermined position of the source program stored in the storage means 4.

そして、前記表示手段3によりディスプレイ上にソース
プログラムを表示すると共に前記監視手段5及び検出手
段6により検出した情報に基づいて該ソースプログラム
の実行中の位置情報、実行情報等を所定範囲で表示する
ものである。
Then, the display means 3 displays the source program on the display, and based on the information detected by the monitoring means 5 and the detection means 6, the position information, execution information, etc. of the source program being executed is displayed within a predetermined range. It is something.

〔作 用〕[For production]

本発明の場合は、ソースプログラムを実行形式プログラ
ムにした時、ソースプログラムのステップ(命令)に対
応した実行形式プログラムの行を示す対応表を作成させ
て、ソースプログラムと共に、記憶手段4に記憶させて
おく。
In the case of the present invention, when a source program is made into an executable program, a correspondence table indicating the lines of the executable program corresponding to the steps (commands) of the source program is created and stored in the storage means 4 together with the source program. I'll keep it.

そして、ソースプログラムデバッグ時は、実行状態監視
装置2の、表示手段3にてディスプレイ上に、ソースプ
ログラムをステップ単位に表示させ、又計算機本体装置
1での実行形式プログラムの実行状態を監視手段5にて
監視し、位置情報を検出手段6に送り、検出手段6にて
上記対応表を参照し、実行しているソースプログラムの
ステップを検出し、検出したステップを表示手段3にて
ディスプレイ上でカーソルで表示し、その時の変数値を
又ディスプレイ上に表示させる。
When debugging the source program, the display means 3 of the execution state monitoring device 2 displays the source program step by step, and the execution state of the executable program on the computer main body device 1 is monitored by the monitoring means 5. , the position information is sent to the detection means 6, the detection means 6 refers to the above correspondence table, detects the step of the source program being executed, and displays the detected step on the display means 3. It is displayed with a cursor, and the variable value at that time is also displayed on the display.

よって、作成者は、プログラムの流れ及び変数の値の変
化をディスプレイ上で、ソースプログラムのステップに
対応して見ることが出来る。
Therefore, the creator can see the flow of the program and changes in variable values on the display corresponding to the steps of the source program.

従って、若し、変数の値がおかしければ、その時カーソ
ルの表示しているソースプログラムのステップにバグが
あることが判り、又時間がたっても変数値が表示されな
い場合は、カーソルの表示しているソースプログラムの
ステップに停まっているので、バグがあるステップを容
易に見つけることが出来、そのステップが、無限ループ
になっているか、その命令の記憶領域が破損しているか
であるので、バグを容易に見つけることが出来る。
Therefore, if the value of the variable is incorrect, you know that there is a bug in the step of the source program that the cursor is displaying at that time, and if the variable value is not displayed even after a while, the cursor display Since the step in the source program is stopped, it is easy to find the step with the bug, and the step is either in an infinite loop or the storage area of the instruction is corrupted, so the bug can be detected easily. can be easily found.

〔実施例〕〔Example〕

第2図は本発明の実施例の、プログラム実行状態の視覚
化装置のブロック図、第3図は本発明の実施例のソース
プログラムの命令に対応した実行モジュールの行を示す
対応表を示す図、第4図は本発明の実施例の実行シーケ
ンス図、第5図は本発明の実施例の表示装置への表示を
示す図である。
FIG. 2 is a block diagram of a program execution state visualization device according to an embodiment of the present invention, and FIG. 3 is a diagram showing a correspondence table showing rows of execution modules corresponding to instructions of a source program according to an embodiment of the present invention. , FIG. 4 is an execution sequence diagram of the embodiment of the present invention, and FIG. 5 is a diagram showing the display on the display device of the embodiment of the present invention.

デバッグを行うソースプログラムを外部記憶装置4−1
に格納させ、又計算機本体装置lが、該ソースプログラ
ムをコンパイル、アセンブルして機械語に変換する時に
、第3図に示す如き対応表を作成させ、外部記憶装置4
−1に格納させておく。
The source program to be debugged is stored on the external storage device 4-1.
When the computer main unit 1 compiles and assembles the source program and converts it into machine language, it creates a correspondence table as shown in FIG.
Store it at -1.

又システムプログラムとリンクさせて、実行モジュール
を作成し、外部記憶装置4−1に格納させておく。
Also, it is linked with the system program to create an execution module and stored in the external storage device 4-1.

対応表を第3図を用いて説明すると、ソースプログラム
として、変数aの値を30とし、変数すの値を20とし
、a十すの変数Xの値を求めるものであるとすると、こ
の各命令(ステップ)を機械語の行に対応させた対応表
とするが、機械語では判り難いので、代わりにコンパイ
ルした語で示すと、図に示す如く、変数aに割当られた
メモリの番地に30を記憶し、変数すに割当られたメモ
リの番地に20を記憶し、レジスタ1にaの番地の値を
移動し、レジスタ2にbの番地の値を移動し、レジスタ
1とレジスタ2の値を加算し、加算した値をレジスタ3
に移動し、レジスタ3の値を変数Xに割当られたメモリ
の番地に移動する如くなる。
To explain the correspondence table using Fig. 3, suppose that the source program is to calculate the value of variable a with the value 30, the value of variable 20, and the value of variable This is a correspondence table that associates instructions (steps) with lines of machine language, but since it is difficult to understand in machine language, if we show it in compiled words instead, as shown in the figure, the memory address assigned to variable a is 30 is stored, 20 is stored in the memory address assigned to variable s, the value of address a is moved to register 1, the value of address b is moved to register 2, and the value of address b is moved to register 1 and register 2. Add the values and store the added value in register 3.
, and the value of register 3 is moved to the memory address assigned to variable X.

第2図では、計算機本体装置1は、プロセッサ15、メ
モリ16.入出力制御装置17よりなり、実行状態監視
装置2はプロセッサ11.メモリ10、通信レジスタ1
2.13、表示装置3−1を制御する表示制御装置3、
外部記憶装置4−1を制御する外部記憶制御装置4より
なり、計算機本体装置1と、実行状態監視装置2の通信
レジスタ12.13、及び、外部記憶制御装置4及び表
示制御装置3とはバスにて接続されている。
In FIG. 2, the computer main unit 1 includes a processor 15, a memory 16 . The execution status monitoring device 2 is composed of an input/output control device 17 and a processor 11 . Memory 10, communication register 1
2.13, display control device 3 that controls display device 3-1;
It consists of an external storage control device 4 that controls an external storage device 4-1, and the computer main unit 1, the communication registers 12, 13 of the execution state monitoring device 2, the external storage control device 4, and the display control device 3 are connected to each other via a bus. It is connected at

又計算機本体装置1のプロセッサ15と、実行状態監視
装置2の通信レジスタ12とは割り込み線にて接続され
ており、又実行状態監視装置2の通信レジスタ13とプ
ロセッサ11とは割り込み線にて接続されており、お互
いに割り込み制御する構成となっている。
Further, the processor 15 of the computer main unit 1 and the communication register 12 of the execution state monitoring device 2 are connected by an interrupt line, and the communication register 13 of the execution state monitoring device 2 and the processor 11 are connected by an interrupt line. They are configured to mutually control interrupts.

デバッグの時は、計算機本体装置1のプロセッサ15は
実行モジュールの実行と、実行状態監視装置2との通信
に専念し、実行状態監視装置2のプロセッサ11は、計
算機本体装置1との通信及び表示装置3−1上のソース
プログラムの実行状態を示すカーソルの移動及び変数値
表示に専念する。
During debugging, the processor 15 of the computer main unit 1 concentrates on executing the execution module and communicating with the execution state monitoring device 2, and the processor 11 of the execution state monitoring device 2 focuses on communication with the computer main unit 1 and displaying information. It concentrates on moving the cursor and displaying variable values indicating the execution status of the source program on the device 3-1.

即ち、計算機本体装置1で、実行モジュールを1ステツ
プづつ実行する毎に、第4図に示す如く、実行された機
械語命令をカウントするプログラムカウンタの値(EX
e)及び変数の値が、通信レジスタ13に書き込まれる
That is, each time the computer main unit 1 executes the execution module one step at a time, the value of the program counter (EX
e) and the value of the variable are written to the communication register 13.

これにより、プロセッサ11への割り込みが発生し、計
算機本体装置1よりのメツセージ到来を知り、そのアッ
ク(ACK)を通信レジスタ12に書き込むと、プロセ
ッサ15への割り込みが発生し、アック応答を認識する
As a result, an interrupt is generated to the processor 11, and upon learning that a message has arrived from the computer main unit 1 and writing the ACK to the communication register 12, an interrupt is generated to the processor 15, and the ACK response is recognized. .

このような動作を行い、実行状態監視装置2は、外部記
憶制御装置4を介して外部記憶装置4−1の対応表を参
照しており、ソースプログラムのステップの実行が完了
したならば、第5図に示す如く、その時のソースプログ
ラム上の変数の値を、表示制御装置3を介して表示装置
3−1に表示すると共に、ソースプログラムの実行中の
ステップを示すカーソル位置を次の行に移動させる。
By performing such operations, the execution state monitoring device 2 refers to the correspondence table of the external storage device 4-1 via the external storage control device 4, and when the execution of the step of the source program is completed, the execution state monitoring device 2 As shown in Figure 5, the values of the variables on the source program at that time are displayed on the display device 3-1 via the display control device 3, and the cursor position indicating the step being executed in the source program is moved to the next line. move it.

このように、ソースプログラム作成者は、プログラムの
流れ及び変数の値の変化を、表示装置3−1に表示され
ている、熟知しているソースプログラムのステップと対
比して見ることが出来るので、変数の値がおかしければ
、その時のカーソルの位置のソースプログラムのステッ
プにバグがあることが判り、又時間がかかつても変数値
が表示されない時は、カーソルの表示しているソースプ
ログラムのステップに停まっているので、バグがあるス
テップを容易に見つけることが出来、そのステップが、
無限ループになっているか、その命令の記憶領域が破損
しているかであるので、バグを容易に見つけることが出
来る。
In this way, the source program creator can see the flow of the program and changes in variable values in comparison with the steps of the source program with which he or she is familiar, which is displayed on the display device 3-1. If the value of the variable is incorrect, you know that there is a bug in the step of the source program at the current cursor position, and if the variable value is not displayed even after a while, the step of the source program where the cursor is Since it is stopped at , you can easily find the step with the bug, and the step is
Bugs can be easily found because they are either an infinite loop or the storage area for the instruction is corrupted.

この時は、第2図の■で示すバスを使用している。At this time, the bus indicated by ■ in FIG. 2 is used.

デバッグが完了し、ソースプログラムを通常のプログラ
ム実行状態に戻す時は、キーボード9より、コマンドを
入力してバス■を使用するようにさせれば、ソースプロ
グラムを実際の実行状態にすることが出来、実際の実行
状態にする時の手間を少なくすることが出来る。
When debugging is complete and you want to return the source program to the normal program execution state, enter a command from the keyboard 9 to use the bus ■, and the source program can be returned to the actual execution state. , it is possible to reduce the effort required to bring the program into the actual execution state.

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

以上詳細に説明せる如く本発明によれば、作成者が熟知
しているソースプログラム及び、その実行の流れの状態
及び、その時の変数値を表示装置に表示しているので、
ソースプログラムのバグの検出が容易になる効果がある
As explained in detail above, according to the present invention, the source program that the creator is familiar with, the state of its execution flow, and the variable values at that time are displayed on the display device.
This has the effect of making it easier to detect bugs in source programs.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の、プログラム実行状態の視覚
化装置のブロック図、 第3図は本発明の実施例のソースプログラムの命令に対
応した実行モジュールの行を示す対応表を示す図、 第4図は本発明の実施例の実行シーケンス図、第5図は
本発明の実施例の表示装置への表示を示す図、 第6図は従来例の実行モジュールの構成を示す図、第7
図は従来例のデバッグ装置使用の場合を示すブロック図
である。 図において、 1は計算機本体装置、 2は実行状態監視装置、 3は表示制御装置、表示手段、 3−1は表示装置、 4は外部記憶制御装置、記憶手段、 4−1は外部記憶装置、 5は監視手段、 6は検出手段、 9はキーボード、 10.16はメモリ、 11.15はプロセッサ、 12.13は通信レジスタ、 17は入出力制御装置、 21はデバッグ装置を示す。
Fig. 1 is a block diagram of the principle of the present invention; Fig. 2 is a block diagram of a visualization device for program execution status according to an embodiment of the present invention; Fig. 3 is a block diagram of a system for visualizing a program execution state according to an embodiment of the present invention; FIG. 4 is an execution sequence diagram of an embodiment of the present invention; FIG. 5 is a diagram showing a display on a display device of an embodiment of the present invention; FIG. 6 is a diagram of a conventional example. Figure 7 showing the configuration of an example execution module.
The figure is a block diagram showing the use of a conventional debugging device. In the figure, 1 is a computer main unit, 2 is an execution state monitoring device, 3 is a display control device, display means, 3-1 is a display device, 4 is an external storage control device, storage means, 4-1 is an external storage device, 5 is a monitoring means, 6 is a detection means, 9 is a keyboard, 10.16 is a memory, 11.15 is a processor, 12.13 is a communication register, 17 is an input/output control device, and 21 is a debug device.

Claims (1)

【特許請求の範囲】 実行形式プログラムを実行する計算機本体装置(1)と
、 該計算機本体装置(1)が実行するプログラムを監視し
、その状況を表示する実行状態監視装置(2)とで構成
し、 該実行状態監視装置(2)は、前記計算機本体装置(1
)が実行する該プログラムの元となるソースプログラム
を表示する表示手段(3)と、該ソースプログラムの各
ステップと前記実行形式プログラムの実行位置情報(行
番号)との対応を記憶する記憶手段(4)と、 前記計算機本体装置(1)が実行中の前記実行形式プロ
グラムの状態情報を監視検出する監視手段(5)と、 該監視手段(5)により検出する実行形式プログラムの
位置情報をもとに前記記憶手段(4)に記憶されている
ソースプログラムの所定位置を検出する検出手段(6)
とからなり、 前記表示手段(3)によりディスプレイ上にソースプロ
グラムを表示すると共に前記監視手段(5)及び検出手
段(6)により検出した情報に基づいて該ソースプログ
ラムの実行中の位置情報、実行情報等を所定範囲で表示
することを特徴とするプログラム実行状態の視覚化装置
[Claims] Consisting of a computer main unit (1) that executes an executable program, and an execution state monitoring device (2) that monitors the program executed by the computer main unit (1) and displays its status. The execution state monitoring device (2) is connected to the computer main body device (1).
); display means (3) for displaying the source program that is the source of the program executed by the program; and storage means (3) for storing the correspondence between each step of the source program and the execution position information (line number) of the executable program. 4); monitoring means (5) for monitoring and detecting status information of the executable program being executed by the computer main unit (1); and position information of the executable program detected by the monitoring means (5). and detection means (6) for detecting a predetermined position of the source program stored in the storage means (4).
The source program is displayed on the display by the display means (3), and the position information and execution of the source program are displayed based on the information detected by the monitoring means (5) and the detection means (6). A program execution state visualization device characterized by displaying information, etc. in a predetermined range.
JP1031565A 1989-02-10 1989-02-10 Visualizing device for program execution state Pending JPH02210556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1031565A JPH02210556A (en) 1989-02-10 1989-02-10 Visualizing device for program execution state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1031565A JPH02210556A (en) 1989-02-10 1989-02-10 Visualizing device for program execution state

Publications (1)

Publication Number Publication Date
JPH02210556A true JPH02210556A (en) 1990-08-21

Family

ID=12334705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1031565A Pending JPH02210556A (en) 1989-02-10 1989-02-10 Visualizing device for program execution state

Country Status (1)

Country Link
JP (1) JPH02210556A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5375125A (en) * 1991-05-15 1994-12-20 Hitachi, Ltd. Method of displaying program execution for a computer
US6681343B1 (en) 1999-08-24 2004-01-20 Nec Electronics Corporation Debugging device and method as well as storage medium
JP2008040973A (en) * 2006-08-09 2008-02-21 Fujitsu Ltd Program monitoring method, computer and abnormality monitoring program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5375125A (en) * 1991-05-15 1994-12-20 Hitachi, Ltd. Method of displaying program execution for a computer
US6681343B1 (en) 1999-08-24 2004-01-20 Nec Electronics Corporation Debugging device and method as well as storage medium
JP2008040973A (en) * 2006-08-09 2008-02-21 Fujitsu Ltd Program monitoring method, computer and abnormality monitoring program

Similar Documents

Publication Publication Date Title
US5513317A (en) System and method for permitting rapid refinement of data output from a debugger
US8336032B2 (en) Implementing enhanced template debug
JPH09511594A (en) Integrated control system for industrial automation applications
US20010014958A1 (en) Information processing apparatus, defect analysis program, defect analysis method, and application program development assistance system
JP2008293488A (en) Simulation device for plc
US20070283330A1 (en) Method and System for Performing Thread-Specific Display of Breakpoints
JP6442131B2 (en) Control system and control device
JPH02210556A (en) Visualizing device for program execution state
EP0801348A1 (en) Method of monitoring the operation of a computer
KR101283026B1 (en) System for real time control of total control system and method thereof
JP2000112736A (en) Program generating device
JPH02275539A (en) Debugging system
JP2659366B2 (en) Debugging method and device
JP2001356928A (en) Test evaluation system
JPH03294934A (en) Debugger for high level program lenguage
JP3456002B2 (en) Image processing inspection equipment
Bernstein et al. Debugging in a time-sharing environment
JPH01159739A (en) Error processing system
JP3183228B2 (en) Program debugging device and debugging method
KR20050077075A (en) Method for processing debugging message
US20050015677A1 (en) Method of executing a computer program
JPH05250221A (en) Simulator execution system
JPH03191421A (en) Computer system with disk device
JPH01205348A (en) Program debugging system
Zhu et al. Failure-Modes-Based Requirements Reading