JPH0546431A - Multiprocess debugger - Google Patents
Multiprocess debuggerInfo
- Publication number
- JPH0546431A JPH0546431A JP3221298A JP22129891A JPH0546431A JP H0546431 A JPH0546431 A JP H0546431A JP 3221298 A JP3221298 A JP 3221298A JP 22129891 A JP22129891 A JP 22129891A JP H0546431 A JPH0546431 A JP H0546431A
- Authority
- JP
- Japan
- Prior art keywords
- debugging
- command
- debug
- debugger
- user
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、デバッグ方式に関する
ものであり、特にマルチプロセスデバッグ方式に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a debugging method, and more particularly to a multi-process debugging method.
【0002】[0002]
【従来の技術】従来のデバッグシステムでは、一つのプ
ロセスに対して一つのデバッグシステム(以下プロセス
デバッガと呼ぶ)を起動し、該プロセスデバッガ上でデ
バッグコマンドを実行し、被デバッグプロセスのデバッ
グ作業を進めていた。2. Description of the Related Art In a conventional debug system, one debug system (hereinafter referred to as a process debugger) is started for one process, a debug command is executed on the process debugger, and debugging work of a process to be debugged is performed. I was proceeding.
【0003】複数のプロセスのデバッグを行なう時に
は、複数の端末やウィンドウからそれぞれプロセスデバ
ッガを起動し、それぞれの端末またはウィンドウからデ
バッグコマンドを起動しなければならず、複数のプロセ
スを同時に停止させたり、実行させる等のコマンドを実
行することによる複数プロセスの同時デバッグが困難で
あった。When debugging a plurality of processes, it is necessary to start a process debugger from each of a plurality of terminals or windows and to start a debug command from each of the terminals or windows, and to stop a plurality of processes at the same time, It was difficult to simultaneously debug multiple processes by executing commands such as execution.
【0004】[0004]
【発明が解決しようとする課題】本発明の目的はデバッ
グ要求の認識から、複数のプロセスデバッガの起動及び
複数のプロセスデバッガへデバッグコマンドを送信し複
数のプロセスデバッガからデバッグコマンドに対する応
答を受け取ることにより複数のプロセスのデバッグ作業
を効果的に進めることができるマルチプロセスデバッグ
装置を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to recognize a debug request, start multiple process debuggers, send debug commands to multiple process debuggers, and receive responses to debug commands from multiple process debuggers. It is an object of the present invention to provide a multi-process debug device capable of effectively proceeding with the debugging work of a plurality of processes.
【0005】[0005]
【課題を解決するための手段】本発明のマルチプロセス
デバッグ装置は、デバッグシステムを操作する作業者
(以下、ユーザ)のデバッグ要求を認識して受け取るユ
ーザコマンド受信手段と、該ユーザコマンド受信手段の
受け取ったユーザコマンドを解析し、デバッグ対象プロ
セスを認識するユーザコマンド解析手段と、デバッグ開
始時には、指定したデバッグ対象の全プロセスに対して
プロセスデバッガを起動するプロセスデバッガ起動手段
と、該ユーザコマンド解析手段の解析結果に従って、指
定されたデバッグ対象のプロセスに対してデバッグコマ
ンドを発行するデバッグコマンド発行手段と、各プロセ
スデバッガ内に存在し、該デバッグコマンド発行手段が
発行したデバッグコマンドを受信するデバッグコマンド
受信手段とを備え、各プロセスデバッガに動作指示を行
なうことにより複数のプロセスのデバッグを可能にする
ことを特徴とするものである。A multi-process debug device of the present invention includes a user command receiving means for recognizing and receiving a debug request of an operator (hereinafter, user) operating a debug system, and the user command receiving means. User command analyzing means for analyzing the received user command and recognizing the debug target process, process debugger starting means for starting the process debugger for all designated debug target processes at the start of debugging, and the user command analyzing means Debug command issuing means for issuing a debug command to a specified debug target process according to the analysis result of step 1, and debug command receiving which is present in each process debugger and receives the debug command issued by the debug command issuing means And means It is characterized in that it allows debugging of multiple processes by performing an operation instruction to process the debugger.
【0006】[0006]
【実施例】次に、本発明について図面を参照して説明す
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.
【0007】図1は、本発明の一実施例を説明するため
の図である。図1において、11は、ユーザのデバッグ
要求を認識して受け取るユーザコマンド受信手段、12
は、該ユーザコマンド受信手段の受け取ったユーザコマ
ンドを解析し、デバッグ対象プロセスを認識するユーザ
コマンド解析手段、13は、デバッグ開始時には、指定
したデバッグ対象の全プロセスに対してプロセスデバッ
ガを起動するプロセスデバッガ起動手段、14は、該ユ
ーザコマンド解析手段の解析結果に従って、指定された
デバッグ対象のプロセスに対してデバッグコマンドを発
行するデバッグコマンド発行手段、15は、各プロセス
デバッガ内に存在し、該デバッグコマンド発行手段が発
行したデバッグコマンドを受信するデバッグコマンド受
信手段である。FIG. 1 is a diagram for explaining one embodiment of the present invention. In FIG. 1, 11 is a user command receiving means for recognizing and receiving a debug request from a user, 12
Is a user command analyzing means for analyzing the user command received by the user command receiving means and recognizing a debug target process, and 13 is a process for activating a process debugger for all specified debug target processes at the start of debugging. Debugger starting means, 14 is a debug command issuing means for issuing a debug command to a specified debug target process according to the analysis result of the user command analyzing means, and 15 is present in each process debugger. The debug command receiving means receives the debug command issued by the command issuing means.
【0008】また、16および17はデバッグ対象のプ
ロセスを制御するプロセスデバッガであり、それぞれ、
プロセスデバッガA、プロセスデバッガBとする。Reference numerals 16 and 17 are process debuggers for controlling the process to be debugged.
Process debugger A and process debugger B are used.
【0009】プロセスデバッガは、デバッグ対象プロセ
スの数だけ存在する。There are as many process debuggers as there are processes to be debugged.
【0010】次に図1をもとに本発明の動作を詳細に説
明する。Next, the operation of the present invention will be described in detail with reference to FIG.
【0011】まず、プロセスデバッガ起動手段13によ
りユーザのデバッグシステム起動要求によりデバッグ対
象分プロセスデバッガを起動する。ここでは、デバッグ
対象は2つとし、プロセスデバッガAとプロセスデバッ
ガBが起動されたものとして説明する。First, the process debugger starting means 13 starts the process debugger for the debug target in response to the user's request for starting the debug system. Here, it is assumed that the number of debug targets is two and the process debugger A and the process debugger B are activated.
【0012】プロセスデバッガA16に対してデバッグ
コマンドを発行する場合は、プロセスデバッガ識別語と
プロセスデバッガAに対するデバッグコマンドを指定し
たデバッグ要求をユーザコマンド受信手段11により受
け取り、受け取ったデバッグ要求を解析し、指定された
デバッガ識別語によりどのプロセスデバッガに対するも
のか認識する。デバッグコマンド発行手段14は、ユー
ザコマンド解析手段12の解析結果に従い、指定された
プロセスデバッガに対してデバッグコマンドを発行す
る。一方、プロセスデバッガ内に組み込まれたデバッグ
コマンド受信手段15により、デバッグコマンドを受信
し、受信したコマンドをデバッグシステムに対して発行
することによりプロセスデバッガA16に制御される被
デバッグプロセスをデバッグする。When a debug command is issued to the process debugger A16, the user command receiving means 11 receives a debug request specifying a process debugger identifier and a debug command for the process debugger A, analyzes the received debug request, Recognize which process debugger the specified debugger identifier is. The debug command issuing means 14 issues a debug command to the designated process debugger according to the analysis result of the user command analyzing means 12. On the other hand, the debug command receiving means 15 incorporated in the process debugger receives the debug command and issues the received command to the debug system to debug the debugged process controlled by the process debugger A16.
【0013】また、プロセスデバッガB17に対してデ
バッグコマンドを発行する場合にも、プロセスデバッガ
A16の場合と同様の手順でデバッグすることができ
る。Also, when issuing a debug command to the process debugger B17, it is possible to perform debugging in the same procedure as in the case of the process debugger A16.
【0014】本システムでは、デバッグ対象となるプロ
セス数は限定しない。In this system, the number of processes to be debugged is not limited.
【0015】[0015]
【発明の効果】以上説明したように、本発明は、複数の
プロセスデバッガを起動し、同一デバッガ操作環境上で
複数のプロセスデバッガで複数のプロセスを同時にデバ
ッグ作業が可能となり、作業者はマルチプロセスのデバ
ッグ作業を効率良く進めることができるという効果があ
る。As described above, according to the present invention, a plurality of process debuggers can be activated simultaneously by starting a plurality of process debuggers, and a plurality of process debuggers can be simultaneously debugged in the same debugger operating environment. There is an effect that the debugging work of can proceed efficiently.
【図1】本発明を示すブロック図である。FIG. 1 is a block diagram showing the present invention.
11 ユーザコマンド受信手段 12 ユーザコマンド解析手段 13 プロセスデバッガ起動手段 14 デバッグコマンド発行手段 15 デバッグコマンド受信手段 16 プロセスデバッガA 17 プロセスデバッガB 11 User Command Receiving Means 12 User Command Analyzing Means 13 Process Debugger Starting Means 14 Debug Command Issuing Means 15 Debug Command Receiving Means 16 Process Debugger A 17 Process Debugger B
Claims (1)
複数のプログラム(以下、プロセスという)のデバッグ
を行なうデバッグシステムにおいて、 デバッグシステムを操作する作業者(以下、ユーザ)の
デバッグ要求を認識して受け取るユーザコマンド受信手
段と、 該ユーザコマンド受信手段の受け取ったユーザコマンド
を解析し、デバッグ対象プロセスを認識するユーザコマ
ンド解析手段と、 デバッグ開始時には、指定したデバッグ対象の全プロセ
スに対してプロセスデバッガを起動するプロセスデバッ
ガ起動手段と、 該ユーザコマンド解析手段の解析結果に従って、指定さ
れたデバッグ対象のプロセスに対してデバッグコマンド
を発行するデバッグコマンド発行手段と、 各プロセスデバッガ内に存在し、該デバッグコマンド発
行手段が発行したデバッグコマンドを受信するデバッグ
コマンド受信手段とを備え、 各プロセスデバッガに動作指示を行なうことにより複数
のプロセスのデバッグを可能にすることを特徴とするマ
ルチプロセスデバッグ装置。1. In a debug system for debugging a plurality of programs (hereinafter referred to as processes) operating on an operating system, a user command which recognizes and receives a debug request from an operator (hereinafter referred to as a user) who operates the debug system. Receiving means, a user command analyzing means for analyzing the user command received by the user command receiving means and recognizing a debug target process, and a process for starting a process debugger for all specified debug target processes at the start of debugging Debugger starting means, debug command issuing means for issuing a debug command to a specified debug target process according to the analysis result of the user command analyzing means, and the debug command issuing means existing in each process debugger. And a debugging command receiving means for receiving a debugging command issued, multiprocess debugging apparatus characterized by enabling debugging multiple processes by performing an operation instruction to each process debuggers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3221298A JPH0546431A (en) | 1991-08-07 | 1991-08-07 | Multiprocess debugger |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3221298A JPH0546431A (en) | 1991-08-07 | 1991-08-07 | Multiprocess debugger |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0546431A true JPH0546431A (en) | 1993-02-26 |
Family
ID=16764600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3221298A Pending JPH0546431A (en) | 1991-08-07 | 1991-08-07 | Multiprocess debugger |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0546431A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006070510A1 (en) * | 2004-12-28 | 2006-07-06 | Sony Computer Entertainment Inc. | Program debug device, program debug method, and information storage medium |
-
1991
- 1991-08-07 JP JP3221298A patent/JPH0546431A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006070510A1 (en) * | 2004-12-28 | 2006-07-06 | Sony Computer Entertainment Inc. | Program debug device, program debug method, and information storage medium |
JP2006185360A (en) * | 2004-12-28 | 2006-07-13 | Sony Computer Entertainment Inc | Program debugging device, program debugging method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0546431A (en) | Multiprocess debugger | |
JPS5750058A (en) | Debugging method by instruction exchange | |
KR100190131B1 (en) | Method and apparatus for robot control | |
JPH02259955A (en) | Log-on system for interactive processing system | |
JPH01205349A (en) | Queuing possible type debugging system | |
JPS63285048A (en) | Data trace system | |
JPS63184845A (en) | Program testing/debugging tool | |
JPH0520122A (en) | Remote debug method | |
JP3358123B2 (en) | Controller input / output simulation method and apparatus | |
JP2653411B2 (en) | How to set breakpoints | |
JPH04299746A (en) | Display system for semaphore state information | |
JPH0830481A (en) | Race operation test system | |
JPH0231242A (en) | Trace system for execution of macroinstruction | |
JPS63216162A (en) | Debugging system | |
JPS61265650A (en) | Channel controlling system | |
JPS63180142A (en) | Debugging device | |
JPH02139639A (en) | Debugging processing system for dynamic link program | |
JPS5839338B2 (en) | Maintenance panel control method | |
JPH01244547A (en) | Program development debugging backup system | |
JPH01147624A (en) | Language processing system | |
JPS63249231A (en) | Debugging system utilizing inter-processor communication | |
JPH10243076A (en) | Inspecting device for portable telephone set | |
JPH0662080A (en) | Control system for information transmission equipment | |
JPH06175882A (en) | Program debugging method | |
JP2001290673A (en) | Method and system for debugging |