JP3159357B2 - Multicomputer debugger - Google Patents

Multicomputer debugger

Info

Publication number
JP3159357B2
JP3159357B2 JP31289094A JP31289094A JP3159357B2 JP 3159357 B2 JP3159357 B2 JP 3159357B2 JP 31289094 A JP31289094 A JP 31289094A JP 31289094 A JP31289094 A JP 31289094A JP 3159357 B2 JP3159357 B2 JP 3159357B2
Authority
JP
Japan
Prior art keywords
computer
event
debugger
computers
information
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.)
Expired - Fee Related
Application number
JP31289094A
Other languages
Japanese (ja)
Other versions
JPH08171498A (en
Inventor
博徳 高橋
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 JP31289094A priority Critical patent/JP3159357B2/en
Publication of JPH08171498A publication Critical patent/JPH08171498A/en
Application granted granted Critical
Publication of JP3159357B2 publication Critical patent/JP3159357B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数のコンピュータと
入出力端末装置とがローカルエリアネットワーク(LA
N)を介して接続されて成るマルチコンピュータシステ
ムにおけるマルチコンピュータデバッガ方法及びそれを
適用したマルチコンピュータシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for connecting a plurality of computers and an input / output terminal device to a local area network (LA).
The present invention relates to a multi-computer debugger method in a multi-computer system connected through N) and a multi-computer system to which the method is applied.

【0002】[0002]

【従来の技術】従来、この種のコンピュータシステムに
おけるデバッガの標準的方法は、単一のコンピュータ上
で動作するシングルコンピュータデバッガをそのコンピ
ュータに接続される入出力端末装置から制御し、そのコ
ンピュータ上で動作するアプリケーションプログラムの
内部状態に関する制御,表示を行っている。
2. Description of the Related Art Conventionally, a standard method of a debugger in a computer system of this kind is to control a single computer debugger operating on a single computer from an input / output terminal device connected to the computer, and to control the computer on the computer. It controls and displays the internal state of the running application program.

【0003】又、マルチコンピュータシステムにおける
デバッガ方法に関連した技術としては、特開昭61−2
82937号公報に開示されたプログラムブレイク機能
を持たせた情報処理装置,特開平2−82344号公報
に開示されたプログラムのデバッグの際の命令実行中に
テストアンドセット命令を実行する毎に得られるトレー
ス情報をメモリのトレース領域に書き込むマルチプロセ
ッサシステムにおけるプログラムのデバッキングの方
法,或いは特開平2−153442号公報に開示された
マルチプロセッサによって任意のプロセッサのみ又は全
プロセッサに対してフェッチ若しくはストアの何れか又
は両方の条件を指定した論理アドレスに対してアドレス
ストップ若しくはプログラムイベントレコード(PE
R)機能を働かせるマルチプロセッサのデバッグ方法等
が挙げられる。
As a technique related to a debugger method in a multi-computer system, Japanese Patent Application Laid-Open No.
An information processing apparatus having a program break function disclosed in Japanese Patent Application Laid-Open No. 82937, which is obtained every time a test and set instruction is executed during execution of an instruction for debugging a program disclosed in Japanese Patent Application Laid-Open No. 2-82344. A method of debugging a program in a multiprocessor system in which trace information is written to a trace area of a memory, or a method of fetching or storing only an arbitrary processor or all processors by a multiprocessor disclosed in Japanese Patent Application Laid-Open No. 2-153442. Address stop or program event record (PE
R) A method of debugging a multiprocessor that performs a function may be used.

【0004】[0004]

【発明が解決しようとする課題】上述したコンピュータ
システムにおけるデバッガ方法は、何れも複数のコンピ
ュータ上で動作するアプリケーションプログラムが連携
して動作する場合、1台の入出力端末装置から複数のコ
ンピュータ上で動作するアプリケーションプログラムの
動的状態(例えばプロセス内部状態,プロセス間通信,
プロセス間同期,共有リソース状態等)を多機能で制
御,表示することができず、又デバッガ動作のそのもの
がアプリケーションプログラムの動作に対してタイミン
グのずれを引き起こして動作の非決定性を生じ易いとい
う難点がある。
According to the above-described debugger method in a computer system, when an application program operating on a plurality of computers operates in cooperation with one another, a single input / output terminal device can be used on a plurality of computers. Dynamic state of the running application program (for example, process internal state, interprocess communication,
(Multi-process synchronization, shared resource status, etc.) cannot be controlled and displayed with multiple functions, and the debugger operation itself causes a timing deviation with respect to the operation of the application program, which tends to cause nondeterminism of the operation. There is.

【0005】特にマルチコンピュータシステムに関して
はアプリケーションプログラムの処理の同期保証や、デ
バッガ動作による処理の撹乱防止を充分に図り得ないと
いう問題がある。
In particular, there is a problem with a multi-computer system that it is not possible to sufficiently guarantee the synchronization of the processing of the application program and prevent the processing from being disturbed by the debugger operation.

【0006】本発明は、このような問題点を解決すべく
なされたもので、その技術的課題は、複数のアプリケー
ションプログラムの処理の同期を保証し得ると共に、デ
バッガの動作による処理の撹乱を防止し得るマルチコン
ピュータデバッガ方法及びそれを適用したマルチコンピ
ュータシステムを提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and its technical problem is to guarantee the synchronization of the processing of a plurality of application programs and to prevent the processing from being disturbed by the operation of a debugger. It is an object of the present invention to provide a multi-computer debugger method and a multi-computer system to which the multi-computer debugger method can be applied.

【0007】[0007]

【課題を解決するための手段】 本発明の第1のマルチ
コンピュータデバッガは、複数のコンピュータが通信回
線を介して接続されたマルチコンピュータシステムにお
いてこの複数のコンピュータのデバッグを一括して行う
マルチコンピュータデバッガであって、前記複数のコン
ピュータのいずれかで発生したイベントの情報を、該コ
ンピュータにおけるイベントの発生順序と対応づけて記
録するとともに、前記複数のコンピュータのいずれか2
つの間で発生したイベントの情報を、この2つのコンピ
ュータの一方におけるイベント情報として、該コンピュ
ータにおけるイベントの発生順序と対応づけて記録し、
前記2つのコンピュータの他方におけるイベント情報と
して、該コンピュータにおけるイベントの発生順序及び
該イベントが前記一方のコンピュータにおける前記イベ
ントに続けて発生した旨を示す情報と対応づけて記録す
るプロセス監視部と、このプロセス監視部が記録したイ
ベントの情報、イベントの発生順序及びイベントが他の
コンピュータにおける所定のイベントに続けて発生した
旨を示す情報とに基づき、前記複数のコンピュータのい
ずれかで又はいずれか2つの間で発生したイベントを再
現するデバッガ制御部とを備えている。
A first multi-computer debugger of the present invention is a multi-computer debugger that collectively debugs a plurality of computers in a multi-computer system in which the plurality of computers are connected via a communication line. Recording information of an event occurring in any of the plurality of computers in association with an order of occurrence of the event in the computer;
Information of an event that has occurred between the two computers is recorded as event information in one of the two computers in association with the order in which the events occurred in the computer,
A process monitoring unit that records the event information in the other of the two computers in association with the order of occurrence of the events in the computer and information indicating that the event has occurred following the event in the one computer; Based on the information of the event recorded by the process monitoring unit, the order of occurrence of the event, and the information indicating that the event has occurred following a predetermined event in another computer, any one or any two of the plurality of computers And a debugger control unit for reproducing an event generated between them.

【0008】 本発明の第2のマルチコンピュータデバ
ッガは、上記第1のマルチコンピュータデバッガにおい
て、前記プロセス監視部は、前記イベントの発生順序と
して、前記複数のコンピュータのそれぞれに対応する次
元にそれぞれ対応するコンピュータにおけるイベントの
発生順序を設定してなるイベント相対時刻を記録すると
ともに、前記イベントが他のコンピュータにおける所定
のイベントに続けて発生した旨を、前記イベント相対時
刻における当該他のコンピュータに対応する次元に設定
されたイベントの発生順序を連続させることにより示す
ことを特徴とする。
In a second multi-computer debugger of the present invention, in the first multi-computer debugger, the process monitoring unit corresponds to a dimension corresponding to each of the plurality of computers as an order of occurrence of the event. The relative time of the event is set by setting the order of occurrence of the event in the computer, and the fact that the event has occurred following the predetermined event in the other computer is indicated by the dimension corresponding to the other computer in the relative time of the event. Are set to be continuous by the order of occurrence of the events set in.

【0009】 本発明の第3のマルチコンピュータデバ
ッガは、上記第1のマルチコンピュータデバッガにおい
て、前記デバッガ制御部は、前記複数のコンピュータの
いずれかで又はいずれか2つの間で発生したイベントの
構成表示を行うことを特徴とする。
In a third multi-computer debugger of the present invention, in the first multi-computer debugger, the debugger control unit displays a configuration of an event that has occurred in any one of the plurality of computers or between any two of the plurality of computers. Is performed.

【0010】[0010]

【0011】[0011]

【実施例】以下に実施例を挙げ、本発明のマルチコンピ
ュータデバッガ方法及びそれを適用したマルチコンピュ
ータシステムに関し、図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be described in detail with reference to the accompanying drawings.

【0012】最初に、本発明のマルチコンピュータデバ
ッガ方法の概要を簡単に説明する。このマルチコンピュ
ータデバッガ方法は、複数のコンピュータ間で連携して
動作する複数のアプリケーションプログラムの処理の同
期を確立し,且つ複数のコンピュータ間で発生したイベ
ント情報を唯一のマルチコンピュータデバッガ記録情報
として蓄積記録することによってデバッガの動作処理の
撹乱を抑止すると共に、プロセス内部状態,プロセス間
通信,プロセス間同期,及び共有リソース状態を所定の
入出力端末装置側から制御,表示するものである。
First, the outline of the multi-computer debugger method of the present invention will be briefly described. This multi-computer debugger method establishes synchronization of processing of a plurality of application programs operating in cooperation with a plurality of computers, and stores and records event information generated between a plurality of computers as only multi-computer debugger recording information. By doing so, the disturbance of the operation processing of the debugger is suppressed, and the internal state of the process, the inter-process communication, the inter-process synchronization, and the shared resource state are controlled and displayed from a predetermined input / output terminal device side.

【0013】図1は、このマルチコンピュータデバッガ
方法を適用した本発明の一実施例に係るマルチコンピュ
ータシステムの基本構成を示したブロック図である。
FIG. 1 is a block diagram showing a basic configuration of a multi-computer system according to an embodiment of the present invention to which the multi-computer debugger method is applied.

【0014】このマルチコンピュータシステムは、3台
のコンピュータ13,14,15と1台の入出力端末装
置11とがローカルエリアネットワーク12を介してマ
ルチコンピュータデバッガシステム22に接続されて成
っている。
This multi-computer system comprises three computers 13, 14, 15 and one input / output terminal device 11 connected to a multi-computer debugger system 22 via a local area network 12.

【0015】ここで、各コンピュータ13,14,15
にはマルチコンピュータデバッガシステム22によりセ
ッションが確立されたマルチコンピュータデバッガが配
置されているが、コンピュータ13にはシングルコンピ
ュータデバッガ(A)及びアプリケーションプログラム
Aが配置され、コンピュータ14にはシングルコンピュ
ータデバッガ(B)及びアプリケーションプログラムB
が配置され、コンピュータ15にはシングルコンピュー
タデバッガ(C)及びアプリケーションプログラムCが
配置されている。因みに、各シングルコンピュータデバ
ッガ(A),(B),(C)はそれぞれ各コンピュータ
13,14,15で動作するデバッグ対象となるアプリ
ケーションプログラムA,B,Cのプロセス内部状態を
入出力端末装置11により制御,表示するためのもので
あって、それぞれの各コンピュータ13,14,15の
マルチコンピュータデバッガにより制御される。又、入
出力端末装置11ではマルチコンピュータデバッガを制
御,表示し、マルチコンピュータデバッガシステム22
では各コンピュータ13,14,15間で連携して動作
する各アプリケーションプログラムA,B,Cのデバッ
グを行う。
Here, each of the computers 13, 14, 15
Is provided with a multi-computer debugger whose session has been established by the multi-computer debugger system 22, a single computer debugger (A) and an application program A are provided on the computer 13, and a single computer debugger (B) is provided on the computer 14. ) And application program B
And a computer 15 is provided with a single computer debugger (C) and an application program C. Incidentally, each of the single computer debuggers (A), (B), and (C) displays the internal state of the process of the application program A, B, and C to be debugged that operates on each of the computers 13, 14, and 15, respectively. And is controlled by the multi-computer debugger of each of the computers 13, 14, and 15. The input / output terminal device 11 controls and displays a multi-computer debugger, and the multi-computer debugger system 22
Then, the application programs A, B, and C operating in cooperation among the computers 13, 14, and 15 are debugged.

【0016】マルチコンピュータデバッガシステム22
は、各コンピュータ13,14,15によりそれぞれ動
作するデバッグ対象となる各アプリケーションプログラ
ムA,B,Cのプロセス内部状態を入出力端末装置11
により制御,表示するためのシングルコンピュータデバ
ッガ(A),(B),(C)を制御するマルチコンピュ
ータデバッガ間のセッションを各コンピュータ13,1
4,15に対して確立する通信制御部16と、デバッガ
の動作による処理の撹乱を抑止するために該当するアプ
リケーションプログラムの実行時に全てのアプリケーシ
ョンプログラムのプロセス間通信,プロセス間同期,共
有リソース(図示しないメモリテーブル,ディスクファ
イル等)へのアクセス,及びこれらイベントの発生時刻
を監視して得たイベント相対時刻情報に対応する最小限
のログ情報を生成するプロセス監視部17と、生成され
たログ情報及びイベント相対時刻情報をマルチコンピュ
ータデバッガ記録情報として格納するマルチコンピュー
タデバッガ記録情報格納部21と、各アプリケーション
プログラムのうちのデバッグ対象となるものの動作をマ
ルチコンピュータデバッガ記録情報に基づいて再現する
再現制御部19と、再現時にイベント発生のタイミング
を制御するイベント制御部18と、再現時に入出力端子
装置11からの制御,表示を行わせるための制御を行う
マルチコンピュータデバッガ制御部20とから構成され
る。
Multicomputer debugger system 22
Indicates the internal state of the process of each of the application programs A, B, and C to be debugged that are operated by the computers 13, 14, and 15, respectively.
A session between the multi-computer debuggers controlling the single computer debuggers (A), (B), and (C) for controlling and displaying by the computers 13 and 1
The communication control unit 16 established for the application programs 4 and 15 and the inter-process communication, inter-process synchronization, and shared resources of all the application programs when the corresponding application program is executed in order to suppress the disturbance of the process due to the operation of the debugger. Process monitoring unit 17 for generating minimum log information corresponding to event relative time information obtained by monitoring access to memory tables, disk files, etc. that do not occur, and the occurrence times of these events, and the generated log information And a multi-computer debugger recording information storage unit 21 for storing event relative time information as multi-computer debugger recording information, and a reproduction control unit for reproducing the operation of each application program to be debugged based on the multi-computer debugger recording information. 19 and The event control unit 18 for controlling the timing of events generated during reproduction, the control from the output terminal 11 at the time of reproduction, and a multicomputer debugger controller 20 for performing control for causing the display.

【0017】図3は、マルチコンピュータデバッガシス
テム22によるマルチコンピュータデバッガの処理動作
(デバッグ手順)を示したフローチャートである。
FIG. 3 is a flowchart showing the processing operation (debugging procedure) of the multi-computer debugger by the multi-computer debugger system 22.

【0018】ここでは、先ず入出力端末装置11から情
報が入力されてマルチコンピュータデバッガ開始(ステ
ップS1)となり、次に各コンピュータ13,14,1
5にそれぞれ配置されているマルチコンピュータデバッ
ガのセッションの確立(ステップS2)を行った後、入
出力端末装置11からの処理要求に応じてアプリケーシ
ョンプログラムの処理実行(ステップS3)を行う。引
き続き、プロセス監視部17がプロセス監視(ステップ
S4)を行ってからアプリケーションプログラムの処理
終了(ステップS5)とする。このとき、プロセス監視
部17は各コンピュータ13,14,15間で発生した
プロセス間通信,プロセス間同期,共有リソースのバー
ジョン状態をイベント相対時刻情報に対応するマルチコ
ンピュータデバッガ記録情報SX であるログ情報として
マルチコンピュータデバッガ記録情報格納部21に記録
するが、ここでのマルチコンピュータデバッガ記録情報
X の書き込みはアプリケーションプログラムの処理終
了(ステップS5)によって終了する。
Here, first, information is input from the input / output terminal device 11 to start the multi-computer debugger (step S1), and then each of the computers 13, 14, 1
After establishing a session of the multi-computer debuggers respectively arranged in step S5 (step S2), the application program performs processing in response to a processing request from the input / output terminal device 11 (step S3). Subsequently, the process monitoring unit 17 monitors the process (step S4), and then ends the processing of the application program (step S5). Log this time, the process monitoring unit 17 inter-process communication that occurs between each computer 13, 14, 15, interprocess synchronization, a multi-computer debugger recording information S X corresponding version status of the shared resource in the event the relative time information recorded in the multi-computer debugger recording information storage section 21 as information, but here multicomputer debugger writes the recording information S X in is terminated by the end of processing the application program (step S5).

【0019】この後、マルチコンピュータデバッガは再
現制御部19によりマルチコンピュータデバッガ記録情
報SX の書き込みで再現された再現制御SX 2とイベン
ト制御部18によるイベント制御SX 1とに従ってマル
チコンピュータデバッガ制御部20でマルチコンピュー
タデバッガ制御(ステップS6)を行い、プロセス内部
状態,プロセス間通信,プロセス間同期,及び共有リソ
ース状態を入出力端末装置11により制御及び表示す
る。
Thereafter, the multi-computer debugger controls the multi-computer debugger in accordance with the reproduction control S X 2 reproduced by writing the multi-computer debugger recording information S X by the reproduction control unit 19 and the event control S X 1 by the event control unit 18. The multi-computer debugger control (step S6) is performed by the unit 20, and the input / output terminal device 11 controls and displays the internal state of the process, the inter-process communication, the inter-process synchronization, and the shared resource state.

【0020】更に、デバッガ終了であるか否かを判定
(ステップS7)し、デバッガ終了でなければイベント
制御SX 1及び再現制御SX 2の入力前にリターンする
が、デバッガ終了であればマルチコンピュータデバッガ
のセッションを解放(ステップS8)した後、マルチコ
ンピュータデバッガを終了(ステップS9)とする。
Further, it is determined whether or not the debugger has been terminated (step S7). If the debugger has not been terminated, the process returns before inputting the event control S X1 and the reproduction control S X2. After releasing the session of the computer debugger (step S8), the multi-computer debugger is terminated (step S9).

【0021】図4は、プロセス監視部17の処理動作を
示したフローチャートである。プロセス監視部17では
先の処理動作でイベントが発生した場合、イベント発生
検出(ステップS1)を行って発生したイベントのログ
情報をマルチコンピュータデバッガ記録情報SX にイベ
ント制御記録SX 1として記録し、プロセス間通信監視
(ステップS2)を行って他コンピュータとの通信を開
始した場合、ログ情報をマルチコンピュータデバッガ記
録情報SX にプロセス間通信記録SX 2として記録し、
プロセス間同期監視(ステップS3)を行って他のコン
ピュータのアプリケーションプログラムと同期を確立し
た場合、その結果をマルチコンピュータデバッガ記録情
報SX にプロセス同期記録SX 3として記録し、共有リ
ソースアクセス監視(ステップS4)を行って共有リソ
ースへのアクセスを実行した場合、その結果をマルチコ
ンピュータデバッガ記録情報SX に共有リソースアクセ
ス記録SX 4として記録する。
FIG. 4 is a flowchart showing the processing operation of the process monitoring unit 17. When an event occurs in the previous processing operation, the process monitoring unit 17 detects event occurrence (step S1) and records log information of the event that has occurred as event control record S X1 in multi-computer debugger record information S X. When the communication with another computer is started by performing the inter-process communication monitoring (step S2), the log information is recorded as the inter-process communication record S X2 in the multi-computer debugger record information S X ,
When inter-process synchronization monitoring (step S3) is performed to establish synchronization with an application program of another computer, the result is recorded as process synchronization record S X 3 in multi-computer debugger recording information S X , and shared resource access monitoring ( step S4) when performing access to the shared resources performed, and records the result in the multi-computer debugger recording information S X as a shared resource access record S X 4.

【0022】図5は、マルチコンピュータデバッガシス
テム22によるデバッグ対象である各アプリケーション
プログラムA,B,Cに関するプロセス間通信及び同期
処理の遷移状態を示したものである。ここでは各コンピ
ュータ13,14,15上で動作するアプリケーション
プログラムA,B,Cがプロセス監視部17により収集
された動作状況として各コンピュータ13,14,15
で発生したイベントを示している。
FIG. 5 shows the transition state of the inter-process communication and the synchronization process for each of the application programs A, B, and C to be debugged by the multi-computer debugger system 22. Here, the application programs A, B, and C operating on each of the computers 13, 14, and 15 are regarded as the operation status collected by the process monitoring unit 17, and are used as the operation status of each of the computers 13, 14, and 15.
Indicates the event that occurred in.

【0023】図6は、上述したアプリケーションプログ
ラムの動作について、イベント制御記録SX 1によりイ
ベントが発生した時刻に基づき生成したイベント相対時
刻をイベント制御部18により付与した状態を示したも
のである。ここでは、内部状態の変化,プロセス間通
信,プロセス間同期,又は共有リソースへアクセスした
場合、自己の相対時刻を加算するが、受信側は送信され
た自己の相対時刻を比較して大きい値を新たな相対時刻
として適用する。再現制御部19はイベント制御部18
が生成したイベント制御記録SX 1に基づきプロセス実
行の再現を制御し、各コンピュータ13,14,15の
相対時刻の同期を取りながらプロセスを動作させる。
FIG. 6 shows a state in which the event control unit 18 assigns an event relative time generated based on the time at which the event occurred in the event control record S X 1, with respect to the operation of the application program described above. Here, when an internal state change, inter-process communication, inter-process synchronization, or access to a shared resource is performed, its own relative time is added, but the receiving side compares its own transmitted relative time and sets a larger value. Apply as a new relative time. The reproduction control unit 19 includes the event control unit 18
Controls the reproduction of the process execution based on the event control record S X1 generated by the computer, and operates the process while synchronizing the relative times of the computers 13, 14, and 15.

【0024】図7は、マルチコンピュータデバッガ制御
部20の処理動作を示したフローチャートである。ここ
ではマルチコンピュータデバッガ制御部20がイベント
制御部18及び再現制御部19のサービスを受け、イベ
ント相対時刻に従ってアプリケーションプログラムの動
作を再現し、マルチコンピュータデバッガを実行する場
合の処理動作を示している。
FIG. 7 is a flowchart showing the processing operation of the multi-computer debugger control unit 20. Here, the processing operation when the multi-computer debugger control unit 20 receives the services of the event control unit 18 and the reproduction control unit 19, reproduces the operation of the application program according to the event relative time, and executes the multi-computer debugger is shown.

【0025】この処理動作では、デバッガの動作による
処理の撹乱を抑止するため、マルチコンピュータデバッ
ガがイベント制御部18によりイベント相対時刻で制御
されるが、先ずマルチコンピュータデバッガ実行時には
イベント相対時刻の初期化(ステップS1)を行い、次
に入出力端末装置11によりマルチコンピュータデバッ
ガ処理選択(ステップS2)を行う。この結果、マルチ
コンピュータデバッキング支援S3a(装置構成表示、
プロセス構成表示、プロセス間通信パス関連図表示、デ
バッグ対象コンピュータ選択、デバッグ対象プロセス選
択、イベント相対時刻前進/後退),プロセスの任意ア
ドレス又は実行命令部でプログラムの処理を一時的に停
止するブレークポイント設定S3b,任意のアドレス
(ラベルやファイルであっても良い)の内部形式をダン
プ表示する内部状態出力S3c,ブレークポイントで停
止しているプロセスを再開する再実行S3dの何れかが
選択される。
In this processing operation, the multi-computer debugger is controlled by the event control unit 18 based on the event relative time in order to suppress the disturbance of the processing due to the operation of the debugger. (Step S1), and then the multi-computer debugger processing selection (Step S2) is performed by the input / output terminal device 11. As a result, the multi-computer debugging support S3a (device configuration display,
Process configuration display, inter-process communication path related diagram display, debug target computer selection, debug target process selection, event relative time advance / retreat), breakpoint for temporarily stopping program processing at an arbitrary address of a process or an execution instruction part One of a setting S3b, an internal state output S3c for dumping and displaying an internal format of an arbitrary address (which may be a label or a file), and a re-execution S3d for restarting a process stopped at a breakpoint is selected.

【0026】引き続き、現在の該当するイベント相対時
刻に関するデバッグが終了したか否かを判定(ステップ
S4)し、デバッグ終了でなければマルチコンピュータ
デバッガ処理選択(ステップS2)の前にリターンする
が、デバッグ終了であればイベント相対時刻の加算(ス
テップS5)を行ってデバッグを継続する。更に、デバ
ッキング終了であるか否かを判定(ステップS6)し、
デバッキング終了でなければマルチコンピュータデバッ
ガ処理選択(ステップS2)の前にリターンするが、デ
バッキング終了であれば処理を終了する。
Subsequently, it is determined whether or not debugging for the current event relative time has been completed (step S4). If debugging has not been completed, the process returns before multicomputer debugger processing selection (step S2). If completed, the event relative time is added (step S5) and debugging is continued. Further, it is determined whether or not the debugging is completed (step S6),
If the debugging is not completed, the process returns before the selection of the multi-computer debugger process (step S2). If the debugging is completed, the process is terminated.

【0027】尚、上述した実施例では3台のコンピュー
タと1台の入出力端末装置とを含むマルチコンピュータ
システムを説明したが、これらの数は任意であって良い
ので、本発明のマルチコンピュータシステムは実施例に
限定されない。
In the above-described embodiment, a multi-computer system including three computers and one input / output terminal device has been described. However, the number may be arbitrarily set. Is not limited to the embodiment.

【0028】[0028]

【発明の効果】以上に説明したように、本発明によれ
ば、複数のアプリケーションプログラムの処理の同期を
保証し得ると共に、複数のコンピュータ間で発生したイ
ベント情報を唯一のマルチコンピュータデバッガ記録情
報として蓄積記録してデバッガの動作による処理の撹乱
を防止し得るマルチコンピュータデバッガ方法及びそれ
を適用したマルチコンピュータシステムが提供されるよ
うになる。この結果、記録されたイベント情報をそのま
ま使用したデバッグが可能となり、マルチコンピュータ
システムにおけるデバッグを極めて効率良く行い得るよ
うになる。又、特に本発明のマルチコンピュータデバッ
ガ方法及びそれを適用したマルチコンピュータシステム
はプロセス内部状態,プロセス間通信,プロセス間同
期,及び共有リソース状態を所定の入出力端末装置側か
ら制御,表示する構成であるため、従来に無い多機能を
安定した動作で具現できるようになる。
As described above, according to the present invention, the synchronization of the processing of a plurality of application programs can be guaranteed, and the event information generated between a plurality of computers can be used as the only multi-computer debugger recording information. There is provided a multi-computer debugger method capable of preventing disturbance of processing due to operation of a debugger by accumulating and recording, and a multi-computer system to which the multi-computer debugger method is applied. As a result, debugging using the recorded event information as it is becomes possible, and debugging in a multi-computer system can be performed very efficiently. In particular, the multi-computer debugger method of the present invention and the multi-computer system to which the multi-computer debugger is applied have a configuration in which the internal state of the process, the inter-process communication, the inter-process synchronization, and the shared resource state are controlled and displayed from a predetermined input / output terminal. For this reason, it is possible to realize multifunctions that have not existed in the past with stable operations.

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

【図1】本発明のマルチコンピュータデバッガ方法を適
用した一実施例に係るマルチコンピュータシステムの基
本構成を示したブロック図である。
FIG. 1 is a block diagram showing a basic configuration of a multicomputer system according to an embodiment to which a multicomputer debugger method of the present invention is applied.

【図2】図1に示したマルチコンピュータシステムの要
部であるマルチコンピュータデバッガシステム及びその
周辺の構成を説明するために示したブロック図である。
FIG. 2 is a block diagram for explaining a multi-computer debugger system which is a main part of the multi-computer system shown in FIG. 1 and its peripheral configuration;

【図3】図2に示したマルチコンピュータデバッガシス
テムによるマルチコンピュータデバッガの処理動作(デ
バッグ手順)を示したフローチャートである。
FIG. 3 is a flowchart showing a processing operation (debug procedure) of the multi-computer debugger by the multi-computer debugger system shown in FIG. 2;

【図4】図2に示したマルチコンピュータデバッガシス
テムにおけるプロセス監視部の処理動作を示したフロー
チャートである。
4 is a flowchart showing a processing operation of a process monitoring unit in the multi-computer debugger system shown in FIG.

【図5】図2に示したマルチコンピュータデバッガシス
テムによるデバッグ対象である複数のアプリケーション
プログラムに関するプロセス間通信及び同期処理の遷移
状態を示したものである。
5 illustrates a transition state of inter-process communication and synchronous processing for a plurality of application programs to be debugged by the multi-computer debugger system illustrated in FIG. 2;

【図6】図5で説明したアプリケーションプログラムの
動作についてイベント相対時刻をイベント制御部により
付与した状態を示したものである。
FIG. 6 illustrates a state in which an event control unit assigns an event relative time to the operation of the application program described in FIG. 5;

【図7】図2に示したマルチコンピュータデバッガシス
テムにおけるマルチコンピュータデバッガ制御部の処理
動作を示したフローチャートである。
7 is a flowchart showing a processing operation of a multi-computer debugger control unit in the multi-computer debugger system shown in FIG.

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

11 入出力端末装置 12 ローカルエリアネットワーク 13,14,15 コンピュータ 16 通信制御部 17 プロセス監視部 18 イベント制御部 19 再現制御部 20 マルチコンピュータデバッガ制御部 21 マルチコンピュータデバッガ記録情報格納部 22 マルチコンピュータデバッガシステム Reference Signs List 11 input / output terminal device 12 local area network 13, 14, 15 computer 16 communication control unit 17 process monitoring unit 18 event control unit 19 reproduction control unit 20 multi-computer debugger control unit 21 multi-computer debugger record information storage unit 22 multi-computer debugger system

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−353939(JP,A) 特開 平4−316152(JP,A) 特開 平4−317235(JP,A) 特開 平5−224984(JP,A) 特開 平6−19865(JP,A) ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-4-353939 (JP, A) JP-A-4-316152 (JP, A) JP-A-4-317235 (JP, A) JP-A-5-305 224984 (JP, A) JP-A-6-19865 (JP, A)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のコンピュータが通信回線を介して
接続されたマルチコンピュータシステムにおいてこの複
数のコンピュータのデバッグを一括して行うマルチコン
ピュータデバッガであって、 前記複数のコンピュータのいずれかで発生したイベント
の情報を、該コンピュータにおけるイベントの発生順序
と対応づけて記録するとともに、前記複数のコンピュー
タのいずれか2つの間で発生したイベントの情報を、こ
の2つのコンピュータの一方におけるイベント情報とし
て、該コンピュータにおけるイベントの発生順序と対応
づけて記録し、前記2つのコンピュータの他方における
イベント情報として、該コンピュータにおけるイベント
の発生順序及び該イベントが前記一方のコンピュータに
おける前記イベントに続けて発生した旨を示す情報と対
応づけて記録するプロセス監視部と、 このプロセス監視部が記録したイベントの情報、イベン
トの発生順序及びイベントが他のコンピュータにおける
所定のイベントに続けて発生した旨を示す情報とに基づ
き、前記複数のコンピュータのいずれかで又はいずれか
2つの間で発生したイベントを再現するデバッガ制御部
とを備えることを特徴とするマルチコンピュータデバッ
ガ。
1. A multi-computer debugger that collectively debugs a plurality of computers in a multi-computer system in which the plurality of computers are connected via a communication line, wherein an event generated in any of the plurality of computers is provided. Is recorded in association with the order of occurrence of events in the computer, and information on an event that has occurred between any two of the plurality of computers is recorded as event information in one of the two computers. Is recorded in association with the order of occurrence of the events in the two computers, and the event information in the other of the two computers indicates the order of occurrence of the events in the computer and that the event has occurred following the event in the one computer. A process monitoring unit that records the information in association with the information, based on the event information recorded by the process monitoring unit, the event occurrence order, and information indicating that the event has occurred following a predetermined event in another computer, A multi-computer debugger, comprising: a debugger control unit that reproduces an event that has occurred in any one of the plurality of computers or between any two of the plurality of computers.
【請求項2】 前記プロセス監視部は、前記イベントの
発生順序として、前記複数のコンピュータのそれぞれに
対応する次元にそれぞれ対応するコンピュータにおける
イベントの発生順序を設定してなるイベント相対時刻を
記録するとともに、前記イベントが他のコンピュータに
おける所定のイベントに続けて発生した旨を、前記イベ
ント相対時刻における当該他のコンピュータに対応する
次元に設定されたイベントの発生順序を連続させること
により示すことを特徴とする請求項1に記載のマルチコ
ンピュータデバッガ。
2. The process monitoring unit records, as the event occurrence order, an event relative time obtained by setting an event occurrence order in a computer corresponding to a dimension corresponding to each of the plurality of computers. Indicating that the event has occurred following a predetermined event in another computer by continuing the order of occurrence of events set in a dimension corresponding to the other computer at the event relative time. The multi-computer debugger according to claim 1, wherein
【請求項3】 前記デバッガ制御部は、前記複数のコン
ピュータのいずれかで又はいずれか2つの間で発生した
イベントの構成表示を行うことを特徴とする請求項1に
記載のマルチコンピュータデバッガ。
3. The multi-computer debugger according to claim 1, wherein the debugger control unit displays a configuration of an event that has occurred on any one of the plurality of computers or between any two of the plurality of computers.
JP31289094A 1994-12-16 1994-12-16 Multicomputer debugger Expired - Fee Related JP3159357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31289094A JP3159357B2 (en) 1994-12-16 1994-12-16 Multicomputer debugger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31289094A JP3159357B2 (en) 1994-12-16 1994-12-16 Multicomputer debugger

Publications (2)

Publication Number Publication Date
JPH08171498A JPH08171498A (en) 1996-07-02
JP3159357B2 true JP3159357B2 (en) 2001-04-23

Family

ID=18034682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31289094A Expired - Fee Related JP3159357B2 (en) 1994-12-16 1994-12-16 Multicomputer debugger

Country Status (1)

Country Link
JP (1) JP3159357B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6216237B1 (en) * 1998-06-19 2001-04-10 Lucent Technologies Inc. Distributed indirect software instrumentation
JP5269067B2 (en) 2008-03-14 2013-08-21 パナソニック株式会社 Program execution device and control method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04316152A (en) * 1991-04-15 1992-11-06 Fuji Xerox Co Ltd Network resource monitoring system
JPH04353939A (en) * 1991-05-31 1992-12-08 Hitachi Ltd Trace system for multi-processor

Also Published As

Publication number Publication date
JPH08171498A (en) 1996-07-02

Similar Documents

Publication Publication Date Title
US9514029B2 (en) Partial recording of a computer program execution for replay
JPH01269151A (en) Multiplex processor system testing method
CN108170552B (en) Method, device and equipment for capturing Dump file
CN110998541A (en) Tentative execution of code in a debugger
JP2003122599A (en) Computer system, and method of executing and monitoring program in computer system
JP2014032498A (en) Fault reproduction system for computer
JP3159357B2 (en) Multicomputer debugger
JP6577901B2 (en) Computer system and system state reproduction method
CN112596371A (en) Control card switching method and device, electronic equipment and storage medium
CN112256560A (en) Application program testing method and device and electronic equipment
JP3206096B2 (en) Input data processing device
KR101346835B1 (en) Method and appratus for processing error of application
JP3207564B2 (en) Event recording method and device
JP2006039763A (en) Guest os debug supporting method and virtual computer manager
JP2002024055A (en) Computer system and operation reproducing method of application program
JPH11120028A (en) Program transporting support system
JPH1040123A (en) System and method for job management
JPH1145193A (en) Method and device for supporting software development, and recording medium
JP2000089976A (en) System and method for debugging remote program and recording medium stored with remote program debugging program
JP2928139B2 (en) Test program traveling device
JPS6272038A (en) Testing method for program runaway detecting device
JP2000339199A (en) Tm save analyzing method
JPH0561717A (en) Program debugging device
JP2022021528A (en) Electronic computer, reproduction test method and program
SE524799C2 (en) Debugging method for single or multi process real time systems, identifies significant event break off point with unique marker comprising check sum

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970624

LAPS Cancellation because of no payment of annual fees