JPH08171498A - Multicomputer debugger system and multicomputer system adopting the same - Google Patents

Multicomputer debugger system and multicomputer system adopting the same

Info

Publication number
JPH08171498A
JPH08171498A JP6312890A JP31289094A JPH08171498A JP H08171498 A JPH08171498 A JP H08171498A JP 6312890 A JP6312890 A JP 6312890A JP 31289094 A JP31289094 A JP 31289094A JP H08171498 A JPH08171498 A JP H08171498A
Authority
JP
Japan
Prior art keywords
computer
debugger
inter
synchronization
computers
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.)
Granted
Application number
JP6312890A
Other languages
Japanese (ja)
Other versions
JP3159357B2 (en
Inventor
Hironori Takahashi
博徳 高橋
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

Abstract

PURPOSE: To provide a multi-computer system capable of guaranteeing the synchronization of the processings of plural application programs and preventing the disturbance of the processings due to the operation of a debugger. CONSTITUTION: This multi-computer system is composed by connecting respective computers 13, 14 and 15 and an input/output terminal equipment 11 through a local area network 12 to the multi-computer debugger system 22. The multicomputer debugger system 22 establishes the synchronization of the processings of the respective application programs A, B and C operated in linkage among the respective computers 13, 14 and 15 and inhibits the disturbance of the operation processing of the debugger, and a process internal state, inter-process communication, inter-process synchronization and a shared resource state are controlled and displayed by the use of the input/output terminal equipment 11.

Description

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

【0001】[0001]

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

【0002】[0002]

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

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

【0004】[0004]

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

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

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

【0007】[0007]

【課題を解決するための手段】本発明によれば、複数の
コンピュータ間で連携して動作する複数のアプリケーシ
ョンプログラムの処理の同期を確立し,且つデバッガの
動作処理の撹乱を抑止すると共に、プロセス内部状態,
プロセス間通信,プロセス間同期,及び共有リソース状
態を所定の入出力端末装置側から制御,表示するマルチ
コンピュータデバッガ方式が得られる。
According to the present invention, the synchronization of the processes of a plurality of application programs operating in cooperation between a plurality of computers is established, and the disturbance of the operation process of the debugger is suppressed and the process is Internal state,
A multi-computer debugger method that controls and displays inter-process communication, inter-process synchronization, and shared resource status from a specified input / output terminal device side can be obtained.

【0008】一方、本発明によれば、複数のコンピュー
タ及び所定の入出力端末装置がローカルエリアネットワ
ークを介してマルチコンピュータデバッガシステムに接
続されて成るマルチコンピュータシステムであって、マ
ルチコンピュータデバッガシステムは、複数のコンピュ
ータ間で連携して動作する複数のアプリケーションプロ
グラムの処理の同期を確立し,且つデバッガの動作処理
の撹乱を抑止すると共に、プロセス内部状態,プロセス
間通信,プロセス間同期,及び共有リソース状態が所定
の入出力端末装置によって制御,表示されるマルチコン
ピュータシステムが得られる。
On the other hand, according to the present invention, there is provided a multi-computer system in which a plurality of computers and predetermined input / output terminal devices are connected to the multi-computer debugger system via a local area network. It establishes the synchronization of the processes of multiple application programs that operate in cooperation between multiple computers, suppresses the disturbance of the debugger's operational processes, and also internal process status, inter-process communication, inter-process synchronization, and shared resource status. A multi-computer system in which is controlled and displayed by a predetermined input / output terminal device can be obtained.

【0009】又、本発明によれば、上記マルチコンピュ
ータシステムにおいて、マルチコンピュータデバッガシ
ステムは、複数のコンピュータのうちの特定のコンピュ
ータ上で動作するアプリケーションプログラムが他のコ
ンピュータ上で動作するアプリケーションプログラムと
の間でプロセス間通信及びプロセス間同期を取って共有
リソースへのアクセスを行って動作する場合に該アプリ
ケーションプログラムのデバッグを行うことで複数のア
プリケーションプログラムの処理の同期を確立し、且つ
該アプリケーションプログラムの実行時に収集したログ
情報及びイベント相対時刻情報に基づいて該アプリケー
ションプログラムの実行を再現してデバッグすることで
デバッガの動作による処理の撹乱を抑止するマルチコン
ピュータシステムが得られる。
Further, according to the present invention, in the above-mentioned multi-computer system, the multi-computer debugger system is such that an application program operating on a specific one of a plurality of computers and an application program operating on another computer. Between the processes of a plurality of application programs is established by performing debugging of the application program when operating by performing inter-process communication and inter-process synchronization between the shared resources to operate. A multi-computer system that suppresses disturbance of processing due to the operation of a debugger by reproducing and debugging the execution of the application program based on the log information and the event relative time information collected during execution Obtained.

【0010】更に、本発明によれば、上記マルチコンピ
ュータシステムにおいて、マルチコンピュータデバッガ
システムは、複数のコンピュータによりそれぞれ動作す
るデバッグ対象となる複数のアプリケーションプログラ
ムに関するプロセス内部状態を入出力端末装置により制
御,表示するためのシングルコンピュータデバッガを制
御するマルチコンピュータデバッガ間のセッションを該
複数のコンピュータに対して確立する通信制御部と、デ
バッガの動作による処理の撹乱を抑止するために該当す
るアプリケーションプログラムの実行時に全てのアプリ
ケーションプログラムに関するプロセス間通信,プロセ
ス間同期,共有リソースへのアクセス,及びこれらイベ
ントの発生時刻を監視してイベント相対時刻情報を得る
と共に、該イベント相対時刻情報に対応してログ情報を
最小限のものとして生成するプロセス監視部と、ログ情
報及びイベント相対時刻情報をマルチコンピュータデバ
ッガ記録情報として格納するマルチコンピュータデバッ
ガ記録情報格納部と、複数のアプリケーションプログラ
ムのうちのデバッグ対象となるものの動作をマルチコン
ピュータデバッガ記録情報に基づいて再現する再現制御
部と、再現時にイベント発生のタイミングを制御するイ
ベント制御部と、再現時に前記入出力端子装置からの制
御,表示を行わせるための制御を行うマルチコンピュー
タデバッガ制御部とを備えたマルチコンピュータシステ
ムが得られる。
Further, according to the present invention, in the above multi-computer system, the multi-computer debugger system controls, by an input / output terminal device, a process internal state relating to a plurality of application programs to be debugged which are respectively operated by a plurality of computers. A communication control unit that establishes a session between the multiple computer debuggers that controls the single computer debugger for displaying, and a communication control unit that executes a corresponding application program in order to suppress processing disturbance due to the operation of the debugger. Inter-process communication for all application programs, inter-process synchronization, access to shared resources, and the time at which these events occur are monitored to obtain event relative time information. A process monitoring unit that generates the minimum log information corresponding to relative time information, a multi-computer debugger record information storage unit that stores log information and event relative time information as multi-computer debugger record information, and a plurality of applications A reproduction control unit that reproduces the operation of the program to be debugged based on the information recorded by the multi-computer debugger, an event control unit that controls the timing of event occurrence during reproduction, and a control from the input / output terminal device during reproduction. Thus, a multi-computer system including a multi-computer debugger control unit for controlling display is obtained.

【0011】[0011]

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

【0012】最初に、本発明のマルチコンピュータデバ
ッガ方式の概要を簡単に説明する。このマルチコンピュ
ータデバッガ方式は、複数のコンピュータ間で連携して
動作する複数のアプリケーションプログラムの処理の同
期を確立し,且つデバッガの動作処理の撹乱を抑止する
と共に、プロセス内部状態,プロセス間通信,プロセス
間同期,及び共有リソース状態を所定の入出力端末装置
側から制御,表示するものである。
First, the outline of the multi-computer debugger system of the present invention will be briefly described. This multi-computer debugger method establishes the synchronization of the processing of a plurality of application programs that operate in cooperation between a plurality of computers, suppresses the disturbance of the operation processing of the debugger, and the process internal state, inter-process communication, process This is for controlling and displaying inter-synchronization and shared resource status from a predetermined input / output terminal device side.

【0013】図1は、このマルチコンピュータデバッガ
方式を適用した本発明の一実施例に係るマルチコンピュ
ータシステムの基本構成を示したブロック図である。
FIG. 1 is a block diagram showing the basic configuration of a multi-computer system according to an embodiment of the present invention to which this multi-computer debugger system 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 computer 13, 14, 15
, A multi-computer debugger whose session is established by the multi-computer debugger system 22 is arranged, a single computer debugger (A) and an application program A are arranged in the computer 13, and a single computer debugger (B) is arranged in the computer 14. ) And application program B
And a single computer debugger (C) and an application program C are arranged in the computer 15. Incidentally, the single computer debuggers (A), (B), and (C) show the process internal states of the application programs A, B, and C to be debugged which operate on the computers 13, 14, and 15, respectively, in the input / output terminal device 11. Is controlled and displayed by the multi-computer debugger of each of the computers 13, 14, and 15. The input / output terminal device 11 controls and displays the multi-computer debugger, and the multi-computer debugger system 22
Then, the application programs A, B, and C operating in cooperation with 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とから構成され
る。
Multi-computer debugger system 22
Is an input / output terminal device 11 which indicates the process internal state of each application program A, B, C to be debugged which is operated by each computer 13, 14, 15 respectively.
Each computer 13, 1 has a session between the multi-computer debuggers controlling the single computer debuggers (A), (B), and (C) for controlling and displaying by
4 and 15, communication control unit 16 to be established, and inter-process communication of all application programs, inter-process synchronization, shared resources (shown in the figure when the corresponding application program is executed in order to suppress the disturbance of processing due to the operation of the debugger. Access to a memory table, disk file, etc., and the process monitor 17 that generates minimum log information corresponding to event relative time information obtained by monitoring the time when these events occur, and the generated log information And a multi-computer debugger recording information storage section 21 for storing event relative time information as multi-computer debugger recording information, and a reproduction control section 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 flow chart 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, information is first input from the input / output terminal device 11 to start the multi-computer debugger (step S1), and then each computer 13, 14, 1 is started.
After the sessions of the multi-computer debuggers respectively arranged in 5 are established (step S2), the processing of the application program is executed in response to the 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). At this time, the process monitoring unit 17 indicates the inter-process communication, the inter-process synchronization, and the version status of the shared resource that have occurred between the computers 13, 14, and 15 as the log which is the multi-computer debugger record information S X corresponding to the event relative time information. The information is recorded in the multi-computer debugger record information storage unit 21, but the writing of the multi-computer debugger record information S X here is completed by the end of the processing of 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 according to 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 unit 20 performs multi-computer debugger control (step S6), and the input / output terminal device 11 controls and displays the internal process state, inter-process communication, inter-process synchronization, and shared resource state.

【0020】更に、デバッガ終了であるか否かを判定
(ステップS7)し、デバッガ終了でなければイベント
制御SX 1及び再現制御SX 2の入力前にリターンする
が、デバッガ終了であればマルチコンピュータデバッガ
のセッションを解放(ステップS8)した後、マルチコ
ンピュータデバッガを終了(ステップS9)とする。
Further, it is judged whether or not the debugger is terminated (step S7). If the debugger is not terminated, the process returns before the event control S X 1 and the reproduction control S X 2 are input. After the session of the computer debugger is released (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 flow chart showing the processing operation of the process monitoring unit 17. When an event occurs in the previous processing operation, the process monitoring unit 17 records the log information of the event generated by performing the event occurrence detection (step S1) as the event control record S X 1 in the multi-computer debugger record information S X. , When inter-process communication monitoring (step S2) is performed and communication with another computer is started, log information is recorded in the multi-computer debugger record information S X as an inter-process communication record S X 2,
When the inter-process synchronization monitoring (step S3) is performed to establish synchronization with the application program of another computer, the result is recorded in the multi-computer debugger record information S X as the process synchronization record S X 3, and the shared resource access monitoring ( When the shared resource is accessed by performing step S4), the result is recorded in the multi-computer debugger recording information S X as the 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 transition states of inter-process communication and synchronous processing concerning each application program A, B, C which is a debug target by the multi-computer debugger system 22. Here, the application programs A, B, and C operating on the computers 13, 14, and 15 are used as the operation statuses collected by the process monitoring unit 17, and the computers 13, 14, and 15 are used.
It shows 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 section 18 gives the event relative time generated based on the time when the event occurs in the event control record S X 1 in the operation of the above-mentioned application program. Here, when the internal state change, inter-process communication, inter-process synchronization, or access to a shared resource, the relative time of its own is added, but the receiving side compares the relative time of its own transmitted and sets a large value. Apply as new relative time. The reproduction control unit 19 is the event control unit 18.
The reproduction of the process execution is controlled based on the event control record S X 1 generated by, and the process is operated while synchronizing the relative times of the computers 13, 14, 15.

【0024】図7は、マルチコンピュータデバッガ制御
部20の処理動作を示したフローチャートである。ここ
ではマルチコンピュータデバッガ制御部20がイベント
制御部18及び再現制御部19のサービスを受け、イベ
ント相対時刻に従ってアプリケーションプログラムの動
作を再現し、マルチコンピュータデバッガを実行する場
合の処理動作を示している。
FIG. 7 is a flow chart showing the processing operation of the multi-computer debugger controller 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 relative time by the event control unit 18 in order to suppress the disturbance of the processing due to the operation of the debugger. First, when the multi-computer debugger is executed, the event relative time is initialized. (Step S1) is performed, and then the input / output terminal device 11 selects a multi-computer debugger process (step S2). 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 forward / backward), breakpoint to temporarily stop program processing at arbitrary address of process or execution instruction part One of the setting S3b, the internal state output S3c for displaying the internal format of an arbitrary address (which may be a label or a file) as a dump, and the re-execution S3d for restarting the process stopped at the breakpoint are selected.

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

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

【0028】[0028]

【発明の効果】以上に説明したように、本発明によれ
ば、複数のアプリケーションプログラムの処理の同期を
保証し得ると共に、デバッガの動作による処理の撹乱を
防止し得るマルチコンピュータデバッガ方式及びそれを
適用したマルチコンピュータシステムが提供されるよう
になる。又、特に本発明のマルチコンピュータデバッガ
方式及びそれを適用したマルチコンピュータシステムは
プロセス内部状態,プロセス間通信,プロセス間同期,
及び共有リソース状態を所定の入出力端末装置側から制
御,表示する構成であるため、従来に無い多機能を安定
した動作で具現できるようになる。
As described above, according to the present invention, it is possible to guarantee the synchronization of the processing of a plurality of application programs and prevent the disturbance of the processing due to the operation of the debugger, and a multi-computer debugger method thereof. The applied multi-computer system will be provided. In particular, the multi-computer debugger system of the present invention and the multi-computer system to which the multi-computer debugger system is applied are provided with process internal state, inter-process communication, inter-process synchronization,
Also, since the shared resource state is controlled and displayed from the side of a predetermined input / output terminal device, it is possible to realize a multi-functionality which has not existed in the past with stable operation.

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

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

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

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

【図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 shows transition states of inter-process communication and synchronous processing regarding a plurality of application programs to be debugged by the multi-computer debugger system shown in FIG.

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

【図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 マルチコンピュータデバッガシステム 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 recording information storage unit 22 Multi-computer debugger system

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のコンピュータ間で連携して動作す
る複数のアプリケーションプログラムの処理の同期を確
立し,且つデバッガの動作処理の撹乱を抑止すると共
に、プロセス内部状態,プロセス間通信,プロセス間同
期,及び共有リソース状態を所定の入出力端末装置側か
ら制御,表示することを特徴とするマルチコンピュータ
デバッガ方式。
1. The process synchronization of a plurality of application programs operating in cooperation between a plurality of computers is established, the disturbance of the operation process of the debugger is suppressed, and the internal state of the process, the inter-process communication, and the inter-process synchronization are performed. , And a multi-computer debugger method characterized by controlling and displaying the state of shared resources from a predetermined input / output terminal device side.
【請求項2】 複数のコンピュータ及び所定の入出力端
末装置がローカルエリアネットワークを介してマルチコ
ンピュータデバッガシステムに接続されて成るマルチコ
ンピュータシステムであって、前記マルチコンピュータ
デバッガシステムは、前記複数のコンピュータ間で連携
して動作する複数のアプリケーションプログラムの処理
の同期を確立し,且つデバッガの動作処理の撹乱を抑止
すると共に、プロセス内部状態,プロセス間通信,プロ
セス間同期,及び共有リソース状態が前記所定の入出力
端末装置によって制御,表示されることを特徴とするマ
ルチコンピュータシステム。
2. A multi-computer system in which a plurality of computers and a predetermined input / output terminal device are connected to a multi-computer debugger system via a local area network, wherein the multi-computer debugger system is provided between the plurality of computers. Establishes synchronization of processing of multiple application programs that operate in cooperation with each other, suppresses disturbance of operation processing of the debugger, and the internal process state, interprocess communication, interprocess synchronization, and shared resource state A multi-computer system characterized by being controlled and displayed by an input / output terminal device.
【請求項3】 請求項2記載のマルチコンピュータシス
テムにおいて、前記マルチコンピュータデバッガシステ
ムは、前記複数のコンピュータのうちの特定のコンピュ
ータ上で動作するアプリケーションプログラムが他のコ
ンピュータ上で動作するアプリケーションプログラムと
の間で前記プロセス間通信及び前記プロセス間同期を取
って前記共有リソースへのアクセスを行って動作する場
合に該アプリケーションプログラムのデバッグを行うこ
とで前記複数のアプリケーションプログラムの処理の同
期を確立し、且つ該アプリケーションプログラムの実行
時に収集したログ情報及びイベント相対時刻情報に基づ
いて該アプリケーションプログラムの実行を再現してデ
バッグすることで前記デバッガの動作による処理の撹乱
を抑止することを特徴とするマルチコンピュータシステ
ム。
3. The multi-computer system according to claim 2, wherein in the multi-computer debugger system, an application program running on a specific computer of the plurality of computers is combined with an application program running on another computer. Establishes synchronization of processing of the plurality of application programs by performing debugging of the application program when operating by performing the inter-process communication and the inter-process synchronization between them to access the shared resource, and It is characterized in that the disturbance of processing due to the operation of the debugger is suppressed by reproducing and debugging the execution of the application program based on the log information and the event relative time information collected during the execution of the application program. Multi-computer system to collect.
【請求項4】 請求項3記載のマルチコンピュータシス
テムにおいて、前記マルチコンピュータデバッガシステ
ムは、前記複数のコンピュータによりそれぞれ動作する
デバッグ対象となる前記複数のアプリケーションプログ
ラムに関する前記プロセス内部状態を前記入出力端末装
置により制御,表示するためのシングルコンピュータデ
バッガを制御するマルチコンピュータデバッガ間のセッ
ションを該複数のコンピュータに対して確立する通信制
御部と、前記デバッガの動作による処理の撹乱を抑止す
るために該当するアプリケーションプログラムの実行時
に全てのアプリケーションプログラムに関する前記プロ
セス間通信,前記プロセス間同期,前記共有リソースへ
のアクセス,及びこれらイベントの発生時刻を監視して
前記イベント相対時刻情報を得ると共に、該イベント相
対時刻情報に対応して前記ログ情報を最小限のものとし
て生成するプロセス監視部と、前記ログ情報及び前記イ
ベント相対時刻情報をマルチコンピュータデバッガ記録
情報として格納するマルチコンピュータデバッガ記録情
報格納部と、前記複数のアプリケーションプログラムの
うちの前記デバッグ対象となるものの動作を前記マルチ
コンピュータデバッガ記録情報に基づいて再現する再現
制御部と、再現時にイベント発生のタイミングを制御す
るイベント制御部と、再現時に前記入出力端子装置から
の制御,表示を行わせるための制御を行うマルチコンピ
ュータデバッガ制御部とを備えたことを特徴とするマル
チコンピュータシステム。
4. The multi-computer system according to claim 3, wherein the multi-computer debugger system indicates the process internal state relating to the plurality of application programs to be debugged which are respectively operated by the plurality of computers as the input / output terminal device. A communication control unit for establishing a session between multiple computer debuggers for controlling a single computer debugger for controlling and displaying by a plurality of computers, and a corresponding application for suppressing process disturbance due to the operation of the debugger. When the program is executed, the inter-process communication, the inter-process synchronization, the access to the shared resource regarding all the application programs, and the occurrence time of these events are monitored to detect the event relative time. A process monitor that obtains the time information and generates the log information as a minimum corresponding to the event relative time information; and a multi-computer that stores the log information and the event relative time information as multi-computer debugger record information. A computer debugger recording information storage unit, a reproduction control unit that reproduces the operation of the one to be debugged among the plurality of application programs based on the multi-computer debugger recording information, and an event that controls the timing of event occurrence during reproduction. A multi-computer system comprising: a control unit; and a multi-computer debugger control unit for performing control from the input / output terminal device and displaying at the time of reproduction.
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 true JPH08171498A (en) 1996-07-02
JP3159357B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132424A (en) * 1998-06-19 2000-05-12 Lucent Technol Inc Software instrumentation method
US8701089B2 (en) 2008-03-14 2014-04-15 Panasonic Corporation Program execution device and method for controlling the same

Citations (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

Patent Citations (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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132424A (en) * 1998-06-19 2000-05-12 Lucent Technol Inc Software instrumentation method
US8701089B2 (en) 2008-03-14 2014-04-15 Panasonic Corporation Program execution device and method for controlling the same

Also Published As

Publication number Publication date
JP3159357B2 (en) 2001-04-23

Similar Documents

Publication Publication Date Title
JP2584361B2 (en) Synchronous journaling system
US7228544B2 (en) Job processing method, job processing unit, and storage managing system
JP2000132424A (en) Software instrumentation method
US20050081206A1 (en) Methods and apparatus for profiling threaded programs
JP2001134466A (en) Debug device and debug method and program recording medium
JP2008040537A (en) Gui test support system and application program for test support
JP2003122599A (en) Computer system, and method of executing and monitoring program in computer system
JP6577901B2 (en) Computer system and system state reproduction method
JPH08171498A (en) Multicomputer debugger system and multicomputer system adopting the same
KR101346835B1 (en) Method and appratus for processing error of application
JP3207564B2 (en) Event recording method and device
JP3339708B2 (en) Event recording method
JP3168993B2 (en) Remote program debugging system, remote program debugging method, and recording medium recording remote debugging program
JPH11120028A (en) Program transporting support system
CN112416790B (en) Embedded software offline replay debugging method and device
JPS6363935B2 (en)
JP2002024055A (en) Computer system and operation reproducing method of application program
JPH0784901A (en) Terminal operation reproducing device
JP2928139B2 (en) Test program traveling device
JPH1040123A (en) System and method for job management
JPH08185378A (en) Debugging support tool of application dispersed at inside ofdce-type distributed information processing environment
JP2653411B2 (en) How to set breakpoints
JPH05324416A (en) System error history saving system
JPH05143395A (en) Diagnostic program execution system and log information display system to be used for the execution system
JPH0229833A (en) Maintenance diagnostic system

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