JPH06290072A - Program debugging system - Google Patents

Program debugging system

Info

Publication number
JPH06290072A
JPH06290072A JP5096540A JP9654093A JPH06290072A JP H06290072 A JPH06290072 A JP H06290072A JP 5096540 A JP5096540 A JP 5096540A JP 9654093 A JP9654093 A JP 9654093A JP H06290072 A JPH06290072 A JP H06290072A
Authority
JP
Japan
Prior art keywords
program
debugger
user
information
command
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
JP5096540A
Other languages
Japanese (ja)
Inventor
Tamanori Hirota
珠規 廣田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5096540A priority Critical patent/JPH06290072A/en
Publication of JPH06290072A publication Critical patent/JPH06290072A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To eliminate the necessity of preparing complicated processing for debugger by a program operating system (OS), to attain easy development and to prevent the operation efficiency of a debugger program from being reduced even when the load of a processor is increased by mounting the program OS and a debugger OS different from the program OS on the same processor. CONSTITUTION:User programs 160, 161 to be driven under the control of the program OS 153 are debugged by a debugger program 111 driven under the control of the debugger OS 105 independent of the program OS 153. Namely command information or various program information is priviously distributed to either one of the OSs 153, 105 by a hardware means, and when command information is generated, debugging processing is executed under the control of the OS 105. When various program information is generated, user program processing concerned is executed under the control of the OS 153.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、マイクロプロセッサ
で実行されるプログラムのデバッグ方式に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a debugging method for a program executed by a microprocessor.

【0002】[0002]

【従来の技術】従来よりマイクロプロセッサにおけるプ
ログラムのデバッグ方式としては主に、インサーキット
エミュレータ装置を使用する方式およびデバッグ専用プ
ログラムを組み込んでおき、メモリやCRT装置など外
部から参照できる媒体へ出力する方式が知られている。
このうち、後者の実現方式としては、図2に示すように
デバッガ・プログラムをオペレーティングシステム(以
下、OSという)の機能の一部として組み込む方法と、
図3に示すようにデバッガ・プログラムをOSによって
制御されるユーザー・プログラムの一つとして組み込む
方法がある。
2. Description of the Related Art Conventionally, as a method of debugging a program in a microprocessor, a method of using an in-circuit emulator device and a method of incorporating a program dedicated for debugging, and outputting to a medium such as a memory or a CRT device that can be referenced from the outside have been mainly used. It has been known.
Among these, as the latter implementation method, a method of incorporating a debugger program as a part of the function of an operating system (hereinafter referred to as OS) as shown in FIG.
There is a method of incorporating a debugger program as one of user programs controlled by the OS as shown in FIG.

【0003】まず、図2において、1はマイクロプロセ
ッサの本体とは独立して設けられて、コマンドの投入お
よび情報表示を行う情報表示/コマンド操作部、2はマ
イクロプロセッサのOS3と情報表示/コマンド操作部
1との間の情報の通知に利用する回線である。
First, in FIG. 2, reference numeral 1 is an information display / command operating unit which is provided independently of the main body of the microprocessor for inputting commands and displaying information, and 2 is the OS 3 of the microprocessor and information display / command. It is a line used to notify information to and from the operation unit 1.

【0004】また、4はOS3に設けられて割込の内容
を判定する割込判定部、5はコマンド通知、6はユーザ
ー・プログラム停止などを通知する要因、7,8はユー
ザー・プログラム用情報、9はデバッガ用割込要因判定
部、10はユーザー用割込要因判定部である。
Further, 4 is an interrupt determination unit provided in the OS 3 for determining the contents of the interrupt, 5 is a command notification, 6 is a factor for notifying the user program stop, and 7 and 8 are user program information. Reference numerals 9 and 9 denote a debugger interrupt factor determination unit and a user interrupt factor determination unit, respectively.

【0005】さらに、11〜15は各割込に応じた割込
受付処理、16はプログラム起動処理、17はプログラ
ムがデバッガ起動状態にあるか否かを判定する起動判定
部、18はデバッガ・プログラム、19はこのデバッガ
・プログラム18の起動、20はユーザー・プログラム
起動判定部、21,22はユーザー・プログラムであ
る。
Further, 11 to 15 are interrupt acceptance processing corresponding to each interrupt, 16 is a program starting processing, 17 is a start judging section for judging whether the program is in a debugger starting state, 18 is a debugger program. , 19 is the start-up of this debugger program 18, 20 is a user program start-up determination section, and 21 and 22 are user programs.

【0006】また、23,24はユーザー・プログラム
21,22に対する起動、25,26はユーザー・プロ
グラム21,22に対する実行制御や情報参照/変更、
27はデバッガ・プログラム18からOS3への情報表
示要求、28は情報表示/コマンド操作部1に対する通
知である。
Further, 23 and 24 are activations for the user programs 21 and 22, 25 and 26 are execution control and information reference / change for the user programs 21 and 22,
Reference numeral 27 is an information display request from the debugger program 18 to the OS 3, and 28 is a notification to the information display / command operating unit 1.

【0007】次に動作について説明する。いま、情報表
示/コマンド操作部1よりコマンドが投入されると回線
2を経由して、まず、マイクロプロセッサのOS3の中
にある割込判定部4にコマンド通知5という要因で起動
がかかる。
Next, the operation will be described. Now, when a command is input from the information display / command operating unit 1, the interrupt determination unit 4 in the OS 3 of the microprocessor is activated via the line 2 due to the command notification 5.

【0008】この割込判定部4では、他にもユーザー・
プログラム停止などの状態を通知する要因6やユーザー
・プログラム用情報7,8による起動を受ける。
In the interrupt determination unit 4, other users
It is activated by the factor 6 for notifying the status such as program stop and the user program information 7, 8.

【0009】そして、上記割込判定部4では起動を受け
た際、まず、デバッガ用割込か、ユーザー用割込か判定
し、デバッガ用割込要因判定部9かユーザー用割込要因
判定部10に移行する。
When the interrupt determination unit 4 receives the activation, it first determines whether it is a debugger interrupt or a user interrupt, and the debugger interrupt factor determination unit 9 or the user interrupt factor determination unit. Go to 10.

【0010】さらに、デバッガ用割込要因判定部9もし
くはユーザー用割込要因判定部10において、詳細要因
を判定し、それぞれの割込に応じた割込受付処理11〜
15を実行した上で、プログラム起動処理16を行う。
Further, the interrupt factor determination unit 9 for the debugger or the interrupt factor determination unit 10 for the user determines the detailed factors, and the interrupt acceptance processing 11 to 11 corresponding to each interrupt.
After executing 15, the program activation process 16 is performed.

【0011】このプログラム起動処理16では、まず最
初に、起動判定部17でプログラムがデバッガ起動状態
にあるかどうかの判定をする。デバッガ起動状態であれ
ば、OS3の中にあるデバッガ・プログラム18の起動
19を行う。
In the program starting process 16, first, the starting judgment unit 17 judges whether the program is in the debugger starting state. If the debugger is in the activated state, the debugger program 18 in OS 3 is activated 19.

【0012】これに対して、デバッガ起動状態でなけれ
ば、さらに、ユーザー・プログラム起動判定部20にお
いて起動プログラム種別の判定を行い、ユーザー・プロ
グラム21,22の起動23,24を行う。
On the other hand, if the debugger is not activated, the user program activation determination unit 20 further determines the activation program type, and activates 23 and 24 the user programs 21 and 22.

【0013】デバッガ・プログラム18では、起動を受
けた後、その内容に応じてユーザー・プログラム21,
22に対し、実行制御や情報参照/変更25,26を行
う。
In the debugger program 18, after being activated, the user program 21,
Execution control and information reference / change 25, 26 are performed on the data 22.

【0014】そして、その結果については、デバッガ・
プログラム18が、情報表示要求27という要因でOS
3に対し起動を行うと、再びOS3は要因判定をして、
回線2を経由して情報表示/コマンド操作部1に対して
通知28を行い、デバッグ動作が完了する。
Then, as for the result,
The program 18 has an OS due to the information display request 27.
When booting to OS3, OS3 again determines the cause and
The information display / command operation unit 1 is notified 28 via the line 2 to complete the debug operation.

【0015】また、図3は上記のようにデバッガ・プロ
グラムをOSによって制御されるユーザー・プログラム
の1つとして組み込んだものであり、同図において、5
1は表示/コマンド操作部、52は情報の通知に利用す
る回線である。
Further, FIG. 3 shows the debugger program incorporated as one of the user programs controlled by the OS as described above. In FIG.
Reference numeral 1 is a display / command operation unit, and 52 is a line used for notification of information.

【0016】さらに、53はOS、54は割込判定部、
55はコマンド通知、56はユーザー・プログラム停止
などを通知する要因、57,58はユーザー・プログラ
ム用情報、59〜63は割込受付処理である。
Further, 53 is an OS, 54 is an interrupt determination unit,
Reference numeral 55 is a command notification, 56 is a factor for notifying the user program stop, 57 and 58 are user program information, and 59 to 63 are interrupt acceptance processing.

【0017】また、65は起動判定部、66はデバッガ
・プログラム、67,68はユーザー・プログラム、6
9,70,74はデバッガ・プログラム66やユーザー
・プログラム67,68に対する起動、72,73は各
ユーザー・プログラム67,68に対する実行制御や情
報参照/変更、74は情報表示要求、75は表示/コマ
ンド操作部51に対する通知である。
Further, 65 is a start-up determination unit, 66 is a debugger program, 67 and 68 are user programs, 6
Reference numerals 9, 70 and 74 are activations for the debugger program 66 and user programs 67 and 68, 72 and 73 are execution control and information reference / change for the respective user programs 67 and 68, 74 is an information display request, and 75 is display / This is a notification to the command operation unit 51.

【0018】次に動作について説明する。まず、情報表
示/コマンド操作部51よりコマンドが投入されると、
回線52を経由して、まず、マイクロプロセッサのOS
53の中にある割込判定部54に、コマンド通知55と
いう要因で起動がかかる。
Next, the operation will be described. First, when a command is input from the information display / command operation unit 51,
First, via the line 52, the OS of the microprocessor
The interruption determination unit 54 in 53 is activated due to the command notification 55.

【0019】この割込判定部54では、コマンド通知5
5およびユーザー・プログラム停止などの状態を通知す
る要因56に対し、ユーザー・プログラム用情報57,
58に対する場合と同様に割込および詳細要因判定処理
を行い、それぞれの割込に応じた割込受付処理59〜6
3を実行したうえで、プログラム起動処理64を行う。
In the interrupt judging section 54, the command notification 5
5 and the factor 56 for notifying the state such as the user program stop, the user program information 57,
Interruption and detailed factor determination processing is performed in the same manner as for 58, and interrupt acceptance processing 59 to 6 corresponding to each interruption.
After executing 3, the program activation process 64 is performed.

【0020】そして、このプログラム起動処理64にお
ける起動判定部65において、起動プログラム種別の判
定を行い、デバッガ・プログラム66ないしはユーザー
・プログラム67,68の起動69ないしは起動70,
71をまったく同一手順で行う。
Then, the start determination unit 65 in the program start processing 64 determines the start program type and starts the debugger program 66 or the user programs 67, 68 69 or 70.
71 is done in exactly the same way.

【0021】デバッガ・プログラム66では、起動を受
けた後、その内容に応じてユーザー・プログラム67,
68に対し、実行制御や情報参照/変更72,73を行
う。その結果については、デバッガ・プログラム66
が、情報表示要求74をOS53に対し発行する。
In the debugger program 66, after receiving the activation, the user program 67,
For 68, execution control and information reference / change 72, 73 are performed. For the result, see the debugger program 66.
Issues an information display request 74 to the OS 53.

【0022】このため、OS53は通常のユーザー・プ
ログラム67や68からと同じ処理で、回線52を経由
して情報表示/コマンド操作部51に対し通知75を行
い、デバッグ動作が完了する。なお、OS3に、または
OS3の管理下のプログラムにデバッグのための処理を
含ませる技術として、特開平−105532号公報に示
されたものがある。
Therefore, the OS 53 sends the notification 75 to the information display / command operating section 51 via the line 52 by the same processing as the normal user programs 67 and 68, and the debugging operation is completed. There is a technique disclosed in Japanese Patent Laid-Open No. 105532/1998 as a technique for including processing for debugging in the OS3 or a program managed by the OS3.

【0023】[0023]

【発明が解決しようとする課題】従来のプログラムデバ
ッグ方式は以上のように実施されているので、図2のデ
バッグ方式ではOS3にデバッガ・プログラム18を組
み込むと、OS3においてデバッガ用要因のみを判定
し、デバッガ・プログラム18の場合だけ特別に起動1
9するという処理が必要になり、OS3の処理が複雑に
なるほか、かつ大きさも増え、OS3の開発やOS3の
試験時における障害解析の効率が低下するなどの問題点
があった。
Since the conventional program debugging method is carried out as described above, if the debugger program 18 is incorporated in the OS3 in the debugging method of FIG. 2, only the cause for the debugger is judged in the OS3. , Start specially only for debugger program 18 1
However, there is a problem in that the processing of the OS3 becomes complicated and the size increases, and the efficiency of failure analysis during the development of the OS3 and the test of the OS3 decreases.

【0024】また、図3のデバッグ方式では、デバッガ
・プログラム66のOS53に対する影響は少ないが、
前提としてOS53が正常動作することがあげられ、そ
のためOS53の開発完了前には、デバッガ開発できな
いことと、OS53を含めたマイクロプロセッサ全体の
負荷が上がったとき、デバッガ・プログラム66の動作
効率が低下するなどの問題点があった。
In the debugging method of FIG. 3, the debugger program 66 has little effect on the OS 53,
The premise is that the OS 53 operates normally. Therefore, before the development of the OS 53 is completed, the debugger cannot be developed, and when the load of the entire microprocessor including the OS 53 increases, the operation efficiency of the debugger program 66 decreases. There was a problem such as doing.

【0025】この発明は上記のような問題点を解消する
ためになされたものであり、ユーザー・プログラムを制
御するためのOSとは異なったデバッガ用OSを同一プ
ロセッサ上に搭載することにより、プログラム用OSで
はデバッガ・プログラムの起動を考慮した複雑な処理を
準備する必要性をなくし、プログラム用OSの開発,生
産性を向上できるとともに、マイクロプロセッサ全体の
負荷が上がったときも、デバッガ・プログラムの動作効
率が低下するのを防止できるプログラムデバッグ方式を
得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and by installing a debugger OS different from the OS for controlling the user program on the same processor, the program The operating system OS eliminates the need to prepare complicated processing in consideration of the start-up of the debugger program, thereby improving the development and productivity of the program OS, and even when the load on the entire microprocessor increases, the debugger program It is an object of the present invention to obtain a program debugging method that can prevent the deterioration of operation efficiency.

【0026】[0026]

【課題を解決するための手段】この発明に係るプログラ
ムデバッグ方式は、マイクロプロセッサ上に搭載され、
プログラム用オペレーティングシステムの制御下で動作
するユーザー・プログラムを、上記マイクロプロセッサ
内において、上記プログラム用オペレーティングシステ
ムとは独立したデバッガ用オペレーティングシステムの
制御下で動作するデバッガ・プログラムによりデバッグ
するようにしたものである。
A program debugging method according to the present invention is mounted on a microprocessor,
A user program operating under the control of a program operating system is debugged by a debugger program operating under the control of a debugger operating system independent of the program operating system in the microprocessor. Is.

【0027】[0027]

【作用】この発明におけるデバッグ方式は、まず、ハー
ドウェア(割込処理登録用テーブル)的にコマンド通知
や各種プログラム用情報を二種類のいずれかのOSに振
り分けておき、コマンド通知が発生した場合デバッガ用
OSの制御下へ移り、該当するデバッグ処理を実行し、
一方、各種プログラム用情報が発生した場合はプログラ
ム用OSの制御下へ移り、該当するユーザー・プログラ
ム処理を実行する。
In the debugging method according to the present invention, first, command notification and various program information are distributed to one of two types of OSs by hardware (interrupt processing registration table), and when a command notification occurs. Move to the control of the OS for the debugger, execute the corresponding debug processing,
On the other hand, when various program information is generated, the process moves to the control of the program OS and the corresponding user program process is executed.

【0028】[0028]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図1において、101はデバッグのために必要な
コマンドを操作したり、その応答やユーザー・プログラ
ムの情報を表示するための表示/コマンド操作部、10
2は表示/コマンド操作部101とマイクロプロセッサ
側との間にあって、前述のコマンドや情報を伝達するた
めの回線である。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 101 is a display / command operating unit for operating commands necessary for debugging, and displaying the response and information of user programs.
A line 2 is provided between the display / command operation unit 101 and the microprocessor side for transmitting the above-mentioned commands and information.

【0029】また、103はマイクロプロセッサ側に渡
されたコマンド通知、104はユーザー・プログラム停
止などの状態を通知する要因、105はデバッガへの要
求等をまとめデバッガの実行制御を行うデバッガ用OS
である。
Further, 103 is a command notification passed to the microprocessor side, 104 is a factor for notifying a state such as a user program stop, 105 is a debugger OS for controlling requests to the debugger by summarizing requests to the debugger.
Is.

【0030】さらに、106はデバッガ用OS105の
中にあるデバッガ用割込判定部、107,108はデバ
ッガ割込受付処理、109はデバッガ起動処理、110
はその中にあるデバッガ起動判定部、111はデバッガ
・プログラム、112はデバッガ処理によって発生した
データー送出要求、113はデバッガ処理通知である。
Further, 106 is a debugger interrupt determination unit in the debugger OS 105, 107 and 108 are debugger interrupt acceptance processing, 109 is a debugger start processing, and 110 is
Is a debugger start-up determination unit therein, 111 is a debugger program, 112 is a data transmission request generated by debugger processing, and 113 is a debugger processing notification.

【0031】また、151,152はユーザー・プログ
ラム用情報、153は従来のOSと等価な機能を持ち、
ユーザー・プログラムの実行制御を行うユーザー・プロ
グラム用OS、154はユーザー・プログラム用OS1
53の中にあるユーザー用割込判定部である。
Further, 151 and 152 are user program information, 153 has a function equivalent to the conventional OS,
OS for user program for controlling execution of user program, 154 is OS for user program 1
53 is a user interrupt determination unit.

【0032】さらに、155〜157はユーザー・プロ
グラム割込受付処理、158はユーザー・プログラム用
OS153の中にあるユーザー・プログラム起動処理、
159はその中にあるユーザー・プログラム用起動判定
部である。
Further, 155 to 157 are user program interrupt acceptance processings, 158 is a user program activation processing in the OS 153 for user programs,
Reference numeral 159 is a user program start-up determination unit therein.

【0033】160,161は、ユーザー・プログラム
であり、115,116はユーザー・プログラムに対す
る実行制御や情報参照/変更、117はユーザー・プロ
グラム用OS153に対する実行制御や情報参照/変更
である。
Reference numerals 160 and 161 are user programs, 115 and 116 are execution control and information reference / change for the user program, and 117 is execution control and information reference / change for the user program OS 153.

【0034】次に動作について説明する。まず、デバッ
グを実施する操作員が、デバッグに必要なコマンドを表
示/操作部101より入力する。このコマンドは回線1
02を経由してマイクロプロセッサ側に渡り、デバッガ
用OS105の中にあるデバッガ用割込判定部106に
コマンド通知103という要因で起動がかかる。
Next, the operation will be described. First, an operator who performs debugging inputs a command necessary for debugging from the display / operation unit 101. This command is line 1
02 to the microprocessor side via 02, and the debugger interrupt determination unit 106 in the debugger OS 105 is activated due to the command notification 103.

【0035】このコマンド通知103を受けて、デバッ
ガ用割込判定部106はまずその内容を検定し、それぞ
れの割込に応じたデバッガ割込受付処理107ないしは
108を行ったあと、デバッガ起動処理109に移行す
る。
In response to the command notification 103, the debugger interrupt determination unit 106 first verifies the contents, performs the debugger interrupt acceptance processing 107 or 108 according to each interrupt, and then the debugger start processing 109. Move to.

【0036】このデバッガ起動処理では、デバッガ起動
判定部110においてその起動内容を検定して、デバッ
ガ・プログラム111を起動114する。このデバッガ
・プログラム111では、従来同様、対象となるユーザ
ー・プログラム160や161に対しコマンド内容に対
応した処理である実行制御や情報参照/変更115,1
16を実行する。
In this debugger activation process, the debugger activation determination unit 110 verifies the activation contents and activates 114 the debugger program 111. In the debugger program 111, execution control and information reference / change 115, 1 which are processes corresponding to the command contents for the target user programs 160 and 161 are performed as in the conventional case.
Execute 16.

【0037】その処理により、ユーザー・プログラム停
止などが発生した場合、状態通知104をデバッガ用O
S105が受け、コマンド通知と同様にデバッガ・プロ
グラム111が起動114され、デバッガの処理が実行
される。
When the user program is stopped due to the processing, the status notification 104 is sent to the debugger O
In step S105, the debugger program 111 is activated 114 as in the command notification, and the debugger process is executed.

【0038】また、デバッガ・プログラム111では、
前述の処理の結果として発生したコマンドの実行結果や
ユーザー・プログラム状態通知を表示/コマンド操作部
101へ送出するため、デバッガ用OS105に対して
送信要求112を発行する。
In the debugger program 111,
In order to send the execution result of the command generated as a result of the above-described processing and the user / program status notification to the display / command operation unit 101, a transmission request 112 is issued to the debugger OS 105.

【0039】これにより、デバッガ用OS105は、回
線102を経由して表示/コマンド操作部101へコマ
ンドの実行結果やユーザー・プログラム状態通知104
を送出する。この間の動作にはプログラム用OS153
は一切関与していない。
As a result, the debugger OS 105 notifies the display / command operating unit 101 of the command execution result and the user / program status notification 104 via the line 102.
Is sent. During this period, the program OS 153 is used.
Is not involved at all.

【0040】一方、これとは別に発生したユーザー・プ
ログラム用情報151や152については、従来のOS
53と同等であるプログラム用OS153に渡り、ユー
ザー・プログラム用割込判定部154での検定を行った
あと、対応するユーザー・プログラム割込受付処理15
5〜157を実行する。
On the other hand, regarding the user program information 151 and 152 generated separately from this, the conventional OS is used.
After passing through the program OS 153, which is equivalent to 53, to the user program interrupt determination unit 154, the corresponding user program interrupt acceptance processing 15
5 to 157 are executed.

【0041】そして、ユーザー・プログラム起動処理1
58の中のユーザー・プログラム用起動判定部159に
よってユーザー・プログラム160や161が起動16
2,163される。この間の動作には、デバッガ用OS
105は一切関与しない。
Then, the user program starting process 1
The user program activation determination unit 159 in 58 activates the user program 160 or 161.
2,163. During this operation, the OS for the debugger is
105 is not involved at all.

【0042】[0042]

【発明の効果】以上のように、この発明によれば、マイ
クロプロセッサ上に搭載され、プログラム用オペレーテ
ィングシステムの制御下で動作するユーザー・プログラ
ムを、上記マイクロプロセッサ内において、上記プログ
ラム用オペレーティングシステムとは独立したデバッガ
用オペレーティングシステムの制御下で動作するデバッ
ガ・プログラムによりデバッグするように構成したの
で、プログラム用OSではデバッガ・プログラムの起動
を考慮した煩雑な処理を準備する必要がなくなるため、
プログラム用OSの生産性が向上し、プログラム用OS
が完成しないでもデバッガ用OSおよびデバッガ・プロ
グラムを作成することができるものが得られる効果があ
る。
As described above, according to the present invention, a user program installed on a microprocessor and operating under the control of a program operating system is stored in the microprocessor as the program operating system. Is configured to perform debugging with a debugger program that operates under the control of an independent debugger operating system, the program OS does not need to prepare complicated processing in consideration of the activation of the debugger program.
The productivity of the program OS is improved, and the program OS is
Even if the above is not completed, there is an effect that a debugger OS and a debugger program can be created.

【0043】また、デバッガ・プログラムの起動をユー
ザー・プログラムと同様にした場合に問題となるコマン
ドの応答性の低下についても、デバッガ用OSの優先順
位をプログラム用OSよりも高くすることにより解決で
きる。
Further, the deterioration of the command responsiveness, which is a problem when the debugger program is activated similarly to the user program, can be solved by setting the priority of the debugger OS higher than that of the program OS. .

【0044】さらに、プログラム用OSデバッガ・プロ
グラムおよびデバッガ用OSからみると、ユーザー・プ
ログラムの1つとして位置づけられるので、従来インサ
ーキットエミュレータでしか行えなかったプログラム用
OSのデバッグも、デバッガ・プログラムから行うこと
が可能となり、また、既存のシステムでプログラムOS
の制御下で動作しているものへの追加/移植も簡単に行
えるものが得られる効果がある。
Further, from the viewpoint of the program OS debugger program and the debugger OS, since it is positioned as one of the user programs, the debugging of the program OS, which was conventionally only possible with the in-circuit emulator, can also be performed from the debugger program. It is possible to perform the program OS in the existing system.
There is an effect that what can be easily added / ported to those operating under the control of is obtained.

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

【図1】この発明の一実施例によるプログラムデバッグ
方式を示すブロック図である。
FIG. 1 is a block diagram showing a program debugging method according to an embodiment of the present invention.

【図2】従来のプログラムデバッグ方式を示すブロック
図である。
FIG. 2 is a block diagram showing a conventional program debugging method.

【図3】プログラムデバッグ方式の他の従来例を示すブ
ロック図である。
FIG. 3 is a block diagram showing another conventional example of a program debugging method.

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

105 デバッガ用OS(デバッガ用オペレーティング
システム) 111 デバッガ・プログラム 153 プログラム用OS(プログラム用オペレーティ
ングシステム) 160,161 ユーザー・プログラム
105 OS for Debugger (Operating System for Debugger) 111 Debugger Program 153 OS for Program (Operating System for Program) 160, 161 User Program

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マイクロプロセッサ上に搭載され、プロ
グラム用オペレーティングシステムの制御下で動作する
ユーザー・プログラムを、上記マイクロプロセッサ内に
おいて、上記プログラム用オペレーティングシステムと
は独立したデバッガ用オペレーティングシステムの制御
下で動作するデバッガ・プログラムによりデバッグする
プログラムデバッグ方式。
1. A user program, which is mounted on a microprocessor and operates under the control of a program operating system, is controlled by a debugger operating system independent of the program operating system in the microprocessor. A program debugging method for debugging with a running debugger program.
JP5096540A 1993-04-01 1993-04-01 Program debugging system Pending JPH06290072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5096540A JPH06290072A (en) 1993-04-01 1993-04-01 Program debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5096540A JPH06290072A (en) 1993-04-01 1993-04-01 Program debugging system

Publications (1)

Publication Number Publication Date
JPH06290072A true JPH06290072A (en) 1994-10-18

Family

ID=14167946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5096540A Pending JPH06290072A (en) 1993-04-01 1993-04-01 Program debugging system

Country Status (1)

Country Link
JP (1) JPH06290072A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0395638A (en) * 1989-09-08 1991-04-22 Fujitsu Ltd Debugging device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0395638A (en) * 1989-09-08 1991-04-22 Fujitsu Ltd Debugging device

Similar Documents

Publication Publication Date Title
US5187802A (en) Virtual machine system with vitual machine resetting store indicating that virtual machine processed interrupt without virtual machine control program intervention
JPH0664538B2 (en) A method for interrupting batch task processing in a virtual machine data processing system
JPH06290072A (en) Program debugging system
JPH0395638A (en) Debugging device
JPH02187830A (en) Interruption control system
JP2507789B2 (en) Logical simulation processing method of virtual machine
JPH01145737A (en) System generation confirming and testing system
JPS626335A (en) Data processing system
JP3231505B2 (en) MPU emulator device
JP2684966B2 (en) I / O processor debug device
JPH02178864A (en) Ipl processing system
JPH04251340A (en) Maintenance control system for information processor
JPH03209534A (en) Back-up device for development of program
JPH07105045A (en) Debugging system for information processor function test program
JPH09179822A (en) Console screen control method
JPS6228841A (en) Input/output processor
JPS6267638A (en) Emulation system
JPH04337849A (en) Memory dump method
JPH08179958A (en) Electronic device for control
JPH11102309A (en) Debugging device, processor, and recording medium
JPH10269104A (en) Parallel system testing method
JPH09152978A (en) Restart processing system for information processor
JPH05342021A (en) Multitask computer
JPH05282167A (en) Method for processing fault
JPS60107145A (en) Test control system of computer system