JPH0484233A - Recording system for program operation conditions - Google Patents

Recording system for program operation conditions

Info

Publication number
JPH0484233A
JPH0484233A JP2198872A JP19887290A JPH0484233A JP H0484233 A JPH0484233 A JP H0484233A JP 2198872 A JP2198872 A JP 2198872A JP 19887290 A JP19887290 A JP 19887290A JP H0484233 A JPH0484233 A JP H0484233A
Authority
JP
Japan
Prior art keywords
operating status
address
storage area
recording
computer
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
JP2198872A
Other languages
Japanese (ja)
Inventor
Yoshishige Takagi
高木 善繁
Tetsutaka Oda
小田 哲敬
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 JP2198872A priority Critical patent/JPH0484233A/en
Publication of JPH0484233A publication Critical patent/JPH0484233A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To store massive information on operation conditions and to easily recognize the operation conditions of a program by providing an operation conditions display device by means of connecting it to the operation conditions supervisory device of an electronic computer. CONSTITUTION:The operation conditions supervisory device 12 supervises the operation conditions of the electronic computer 10 being the object of recording and informs the information transmission equipment 21 of the operation conditions display device 20 of obtained information through an information transmission equipment 14. The operation conditions of the electronic computer 10 being the object of recording is stored in an operation conditions storage area 233 storing the operation conditions of the program in accordance with a recording procedure which is set in a storage procedure storage area 232 that previously stores the recording procedure of the operation conditions of the program in a storage device 23 in the central processing unit 22 of the operation conditions display device 20. Then, the storage information retrieval means 225 of the central processing unit 22 retrieves the storage area 233 and displays data in a display means 24.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子計算機やマイクロプロセッサ−等が割込
み処理のとき退避させるデータをプログラムの動作状況
として記録するプログラム動作状況記録方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program operation status recording method for recording data saved when an electronic computer, microprocessor, etc. performs interrupt processing as the operation status of a program.

〔従来の技術〕[Conventional technology]

従来のプログラム動作状況記録手段は、プログラムの特
定の番地からプログラムの動作状況を記憶装置内に格納
記録するプログラムを実行する動作状況監視装置を電子
計算機が有する。記録格納する記憶装置は電子計算機が
内蔵する場合が多いが、多量なデータに対しては外部記
憶装置を利用していた。
In the conventional program operating status recording means, an electronic computer has an operating status monitoring device that executes a program that stores and records the operating status of the program in a storage device from a specific address of the program. Computers often have built-in storage devices for recording and storing data, but external storage devices have been used for large amounts of data.

従って、電子計算機はプログラムの動作状況を記録する
記録プログラムを記録対象となる実行プラグラム内に組
み込んでいた。
Therefore, electronic computers have incorporated a recording program for recording the operating status of the program into the execution program to be recorded.

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

上述した従来のプラグラム動作状況記録方式は、プラグ
ラムの動作状況の記録対象となっている記録プラグラム
と同一記憶装置内に動作状況を記録するほか、高速で動
作するプラグラムや、長時間動作するプラグラムの動作
状況は外部記憶装置に記録するが記録した情報を検索す
る検索プログラムを必要とするほか、動作状況を記録す
る記録プラグラムに誤りがあった場合、記録対象の実行
プラグラムを正常に動作させなくなると共に、プラグラ
ムの規模が大きくなるため、コンパイルに時間がかかる
という問題点があった。
The conventional program operating status recording method described above records the operating status of the program in the same storage device as the recording program whose operating status is to be recorded. Although the operating status is recorded in an external storage device, a search program is required to search for the recorded information.If there is an error in the recording program that records the operating status, the execution program to be recorded will not operate properly and may , there was a problem in that it took a long time to compile because the scale of the program became large.

本発明の目的は、記録プラグラムおよびプログラムの動
作状況を記録する記憶領域、並びに記録した動作状況を
検索して取出し表示する表示装置を有する動作状況表示
装置を電子計算機の動作状況監視装置に結合して備える
ことにより、上記問題点を解決したプログラム動作状況
記録方式を提供することにある。
An object of the present invention is to combine an operating status display device having a recording program, a storage area for recording the operating status of the program, and a display device for retrieving and displaying the recorded operating status to an operating status monitoring device of a computer. It is an object of the present invention to provide a program operation status recording method that solves the above-mentioned problems.

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

本発明によるプラグラム動作状況記録方式の基本構成は
、電子計算機が割込み処理発生時に走行中のプログラム
動作状況を記憶装置に記録するプログラム動作状況記録
方式において、 電子計算機内の動作状況を監視する動作状況監視装置か
ら割込み処理の発生により電子計算機の記憶装置への退
避データ書込みの通知を受けたとき電子計算機の中央処
理装置の動作停止を指示する一方、予め記憶する動作状
況の記録手順を読出し、読出した記録手順にしたがって
前記動作状況監視装置を介し電子計算機の動作状況を取
出して記録すると共に、外部からの表示要求を受信する
とき記録した動作状況情報を取出して表示する動作状況
表示装置を有する 前記基本構成で記載の動作状況表示装置の一具体化楕或
は、 割込みのための対象番地を記憶する割込用番地記憶領域
、電子計算機のプログラム動作状況を記憶する動作状況
記憶領域、および電子計算機の記憶装置に退避記録した
内容を取出して前記動作状況記憶領域に記録する記録手
順を記憶する記録手順記憶領域を備える記憶装置と、 電子計算機から割込み処理発生による退避データ書込み
の通知と共に受信する書込みの実行番地を、前記割込用
番地記憶領域が記憶する対象番地と比較して一致したこ
とを出力する番地判断部。
The basic configuration of the program operating status recording method according to the present invention is that the program operating status recording method records the running program operating status in a storage device when the computer generates an interrupt process, and the operating status monitors the operating status inside the computer. When receiving a notification from the monitoring device to write saved data to the storage device of the computer due to the occurrence of an interrupt process, it instructs the central processing unit of the computer to stop operating, and reads out the recording procedure of the operating status stored in advance. The operating status display device extracts and records the operating status of the computer via the operating status monitoring device according to a recorded recording procedure, and also extracts and displays the recorded operating status information when receiving a display request from the outside. An embodiment of the operating status display device described in the basic configuration, or an interrupt address storage area that stores target addresses for interrupts, an operating status storage area that stores computer program operating status, and computer a storage device comprising a recording procedure storage area for storing a recording procedure for extracting the contents saved and recorded in the storage device and recording them in the operation status storage area; an address determining unit that compares the execution address of the interrupt address with the target address stored in the interrupt address storage area and outputs that they match.

この番地判断部の一致情報を入力しなとき受信した実行
番地により前記記録手順記憶領域がら読出した記録手順
に従って電子計算機の記憶装置に記憶すると退避データ
を読出す番地読出部、この番地読出部が読出した退避デ
ータを前記記録手順に従って動作状況記憶領域に書込む
記録実行部、並びに外部からの所定の指示により前記動
作状況記憶領域から指示番地に記録された動作状況を取
出して出力する記憶情報検索部を備える中央処理装置と
、 前記記憶情報検索部の出力を受信して画面表示する表示
装置とを有する。
When the matching information of the address determination section is not input, the address reading section reads out the saved data when it is stored in the storage device of the computer according to the recording procedure read from the recording procedure storage area using the received execution address. a recording execution unit that writes the read saved data to the operating status storage area according to the recording procedure; and a storage information retrieval unit that retrieves and outputs the operating status recorded at the specified address from the operating status storage area based on a predetermined instruction from the outside. and a display device that receives the output of the stored information retrieval unit and displays it on a screen.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す機能ブロック図、第2
図および第3図のそれぞれは第1図による主要動作手順
の一例を示すフローチャートである。
Fig. 1 is a functional block diagram showing one embodiment of the present invention;
Each of FIG. 3 and FIG. 3 is a flowchart showing an example of the main operation procedure according to FIG.

第1図の符号10は記録対象の電子計算機、符号20は
プログラムの動作状況を記録し表示する動作状況表示装
置である。動作状況監視装置12は、記録対象の電子計
算機10の中央処理装置11と、記憶装置13の間に位
置して、記録対象の電子計算に10の動作状況を監視し
、入手した情報を情報伝送装置14および信号線を介し
て動作状況表示装置20の情報伝送装置21へ通知する
。記録対象の電子計算機10の動作状況は、動作状況表
示装置20の中央処理装置22において、予め記憶装置
23内のプラグラム動作状況の記録手順を記憶する記憶
手順記憶領域232に設定されていた記録手順に従いプ
ログラムの動作状況を記憶する動作状況記憶領域233
に記憶する。
Reference numeral 10 in FIG. 1 is an electronic computer to be recorded, and reference numeral 20 is an operating status display device for recording and displaying the operating status of a program. The operating status monitoring device 12 is located between the central processing unit 11 of the electronic computer 10 to be recorded and the storage device 13, and monitors the operating status of the electronic computer 10 to be recorded, and transmits the obtained information. The information transmission device 21 of the operating status display device 20 is notified via the device 14 and the signal line. The operating status of the computer 10 to be recorded is stored in the central processing unit 22 of the operating status display device 20 using a recording procedure that has been set in advance in the storage procedure storage area 232 that stores the recording procedure of the program operating status in the storage device 23. Operating status storage area 233 that stores program operating status according to
to be memorized.

次に動作状況を記憶する為の動作を、フローチャートの
第2図に併せて機能ブロック図の第1図を参照して説明
する。
Next, the operation for storing the operating status will be explained with reference to FIG. 1, which is a functional block diagram, along with FIG. 2, which is a flowchart.

第1図の電子計算機10の動作状況監視装置12が中央
処理装置11から記憶装置113への情報を伝えるアド
レスバスと、記憶装置13から中央処理装W11への情
報を伝えるアンサ−バスとから取込み送出する実行番地
情報を、動作状況表示装置20は情報伝送手段14を介
して情報伝送手段21で受信(ステップ101)する。
The operating status monitoring device 12 of the computer 10 shown in FIG. The operating status display device 20 receives the execution address information to be sent by the information transmitting means 21 via the information transmitting means 14 (step 101).

動作状況表示装置20は、記憶装置23の割込みの対象
となる対象番地をトラップ番地記憶領域231から読み
だしくステップ102)L、該当番地を判断する番地判
断部221が、動作状況監視装置12から入手した情報
の番地との一致を判断(ステップ103)する。一致す
る場合、計算機制御部223が記録対象となっている電
子計算機10の中央処理装置11に動作の停止を指示(
ステップ104)して、現状のプログラムの動作状態を
保持させる一方、記憶装置23内の任意の番地を読み出
す番地読出部222が電子交換機10の記憶装置13の
内容を、記憶手順記憶領域232で記憶する手順に従い
読みだしくステップ105)し、記録実行部224が記
憶装置23の動作状況記憶領域233に記憶(ステップ
106)する。
The operating status display device 20 reads the target address of the storage device 23 that is the target of the interrupt from the trap address storage area 231. In step 102)L, the address determining unit 221 that determines the corresponding address reads the address from the operating status monitoring device 12. It is determined whether the address matches the obtained information (step 103). If they match, the computer control unit 223 instructs the central processing unit 11 of the computer 10 targeted for recording to stop operation (
In step 104), the current operating state of the program is maintained, while the address reading unit 222 reads out an arbitrary address in the storage device 23. The address reading unit 222 stores the contents of the storage device 13 of the electronic exchange 10 in the storage procedure storage area 232. The recording execution unit 224 reads the information according to the procedure described in step 105), and stores it in the operation status storage area 233 of the storage device 23 (step 106).

その後、計算機制御部223は記録対象となっている電
子計算機10の中央処理装置11に再開を指示(ステッ
プ107)して記録手順を終了する。
Thereafter, the computer control unit 223 instructs the central processing unit 11 of the computer 10 to be recorded to restart (step 107), and ends the recording procedure.

次に記憶した動作状況の情報を利用者に表示する手順を
フローチャート第3図に第2図を参照して説明する。中
央処理装置22の記憶情報検索手段225は、操作盤3
0がらの操作指示を受けた表示装置24からの指示を受
信(ステップ111)し記憶装置23の動作状況記憶領
域233を検索し記憶情報から目的に合っな情報を取り
出しくステップ112)、表示手段24を用いて本装置
の使用者に表示(ステップ113)する。
Next, the procedure for displaying the stored operating status information to the user will be explained with reference to the flowchart of FIG. 3 and FIG. 2. The storage information retrieval means 225 of the central processing unit 22 is connected to the operation panel 3.
Step 112): receiving an instruction from the display device 24 that has received a blank operation instruction (step 111), searching the operating status storage area 233 of the storage device 23, and extracting information suitable for the purpose from the stored information; 24 to display it to the user of the device (step 113).

従って、本発明の装置を記録対象となる電子計算機や、
マイクロプロセッサ−に複数台接続し、各々の動作状態
表示装置に、違ったプログラムの動作状況を記憶させて
おき、記録対象となる電子計算機や、マイクロプロセッ
サ−を使用しない時に、記憶情報を検索する事で、デバ
ッグ時に記録対象となる電子計算機や、マイクロプロセ
ッサ−の有効利用が可能となる。
Therefore, the device of the present invention can be used on a computer to be recorded,
Connect multiple units to a microprocessor, store the operating status of a different program in each operating status display device, and search the stored information when the computer to be recorded or the microprocessor is not in use. This makes it possible to make effective use of electronic computers and microprocessors to be recorded during debugging.

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

以上説明したように本発明は、記録対象となる電子計算
機や、マイクロプロセッサ−の動作状況を、記録対象の
電子計算機や、マイクロプロセッサ−の装置外の動作状
況表示装置の記憶装置に記憶することにより、大量の動
作状況の情報を記憶することが可能となり、また、この
情報を検索することにより、プログラムの動作状況を容
易に知る事が出来る効果がある。
As explained above, the present invention is capable of storing the operating status of a computer or microprocessor to be recorded in a storage device of an operating status display device outside the computer or microprocessor to be recorded. This makes it possible to store a large amount of information on the operating status, and by searching this information, it is possible to easily know the operating status of the program.

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

第1図は本発明のプログラム動作状況記録方式の一実施
例を示すブロック図、第2図は第1図による記録手順の
−・例を示すフローチャー1〜、第3図は記録情報を表
示する手順の一例を示すフローチャー)へである。 10・・・電子計算機、1.1.22中央処理装置、1
2・・・動作状況監視装置、13.23・・・記憶装置
1.4.21・・・情報伝送装置、20・・・動作状況
表示装置424・・・表示装置、30・・操作盤、22
1・・番地判断部、222・・・番地読取部、223・
・・計算機制御部、224・・・記録実行部、225・
・・記憶情報検索部、231・・・割込用番地記憶領域
、232・・記録手順記憶領域、233・・・動作状況
記憶領域。
Fig. 1 is a block diagram showing an embodiment of the program operation status recording method of the present invention, Fig. 2 is a flowchart 1 to 1 showing an example of the recording procedure according to Fig. 1, and Fig. 3 is a display of recorded information. Flowchart illustrating an example of the procedure to do so. 10...Electronic computer, 1.1.22 Central processing unit, 1
2... Operating status monitoring device, 13.23... Storage device 1.4.21... Information transmission device, 20... Operating status display device 424... Display device, 30... Operation panel, 22
1...Address determination section, 222...Address reading section, 223.
... Computer control section, 224 ... Recording execution section, 225.
. . . Storage information search unit, 231 . . . Interrupt address storage area, 232 . . . Recording procedure storage area, 233 . . . Operation status storage area.

Claims (1)

【特許請求の範囲】 1、電子計算機が割込み処理発生時に走行中のプログラ
ム動作状況を記憶装置に記録するプログラム動作状況記
録方式において、 電子計算機内の動作状況を監視する動作状況監視装置か
ら割込み処理の発生により電子計算機の記憶装置への退
避データ書込みの通知を受けたとき電子計算機の中央処
理装置の動作停止を指示する一方、予め記憶する動作状
況の記録手順を読出し、読出した記録手順にしたがって
前記動作状況監視装置を介し電子計算機の動作状況を取
出して記録すると共に、外部からの表示要求を受信する
とき記録した動作状況情報を取出して表示する動作状況
表示装置を有する ことを特徴とするプログラム動作状況記録方式。 2、請求項1記載の動作状況表示装置が、 割込みのための対象番地を記憶する割込用番地記憶領域
、電子計算機のプログラム動作状況を記憶する動作状況
記憶領域、および電子計算機の記憶装置に退避記録した
内容を取出して前記動作状況記憶領域に記録する記録手
順を記憶する記録手順記憶領域を備える記憶装置と、 電子計算機から割込み処理発生による退避データ書込み
の通知と共に受信する書込みの実行番地を、前記割込用
番地記憶領域が記憶する対象番地と比較して一致したこ
とを出力する番地判断部、この番地判断部の一致情報を
入力したとき受信した実行番地により前記記録手順記憶
領域から読出した記録手順に従って電子計算機の記憶装
置に記憶する退避データを読出す番地読出部、この番地
読出部が読出した退避データを前記記録手順に従って動
作状況記憶領域に書込む記録実行部、並びに外部からの
所定の指示により前記動作状況記憶領域から指示番地に
記録された動作状況を取出して出力する記憶情報検索部
を備える中央処理装置と、 前記記憶情報検索部の出力を受信して画面表示する表示
装置とを有する ことを特徴とする請求項1記載のプログラム動作状況記
録方式。
[Scope of Claims] 1. In a program operation status recording method in which a computer records the operating status of a running program in a storage device when an interrupt process occurs, an operation status monitoring device that monitors the internal computer operation status records the interrupt process. When receiving a notification to write saved data to the computer's storage device due to the occurrence of a A program characterized in that it has an operating status display device that extracts and records the operating status of the computer via the operating status monitoring device, and that extracts and displays the recorded operating status information when receiving a display request from the outside. Operation status recording method. 2. The operating status display device according to claim 1 comprises an interrupt address storage area for storing target addresses for interrupts, an operating status storage area for storing program operating status of the computer, and a storage device of the computer. a storage device comprising a recording procedure storage area for storing a recording procedure for extracting saved and recorded contents and recording them in the operating status storage area; and a write execution address that is received from a computer together with a notification of saving data writing due to the occurrence of an interrupt process. , an address determination unit that compares the interrupt address storage area with the target address stored and outputs a match; an address determination unit that reads from the recording procedure storage area according to the execution address received when the matching information of this address determination unit is input; an address reading unit that reads out the save data to be stored in the storage device of the computer according to the recorded recording procedure; a recording execution unit that writes the saved data read by the address reading unit to the operating status storage area according to the recording procedure; a central processing unit including a stored information retrieval unit that retrieves and outputs the operating status recorded at a designated address from the operating status storage area according to a predetermined instruction; and a display unit that receives the output of the stored information retrieval unit and displays it on a screen. 2. The program operation status recording method according to claim 1, further comprising:
JP2198872A 1990-07-26 1990-07-26 Recording system for program operation conditions Pending JPH0484233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2198872A JPH0484233A (en) 1990-07-26 1990-07-26 Recording system for program operation conditions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2198872A JPH0484233A (en) 1990-07-26 1990-07-26 Recording system for program operation conditions

Publications (1)

Publication Number Publication Date
JPH0484233A true JPH0484233A (en) 1992-03-17

Family

ID=16398328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2198872A Pending JPH0484233A (en) 1990-07-26 1990-07-26 Recording system for program operation conditions

Country Status (1)

Country Link
JP (1) JPH0484233A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479599A (en) * 1993-04-26 1995-12-26 International Business Machines Corporation Computer console with group ICON control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479599A (en) * 1993-04-26 1995-12-26 International Business Machines Corporation Computer console with group ICON control

Similar Documents

Publication Publication Date Title
US20070226172A1 (en) File-management apparatus, file-management method, and computer product
US11262834B1 (en) Data processing system and method for monitoring system properties
JPH0484233A (en) Recording system for program operation conditions
JPH1185264A (en) State data gathering method and control unit
JPH1115701A (en) Method and system for collecting data
JP2919240B2 (en) I / O priority control method
JP2675088B2 (en) Information collection method
JP2590855B2 (en) Fault information management device
JP3295829B2 (en) POS system
JP2721261B2 (en) Uncollected data collection device
JPH03290741A (en) Error logging method
JPS63298550A (en) Non-stop trace system
JP3514168B2 (en) Monitoring control device, monitoring control method, and recording medium storing monitoring program
JPH07302204A (en) Error processor in computer system
JPH06266630A (en) Input/output controller with trace function
JPS63193260A (en) Host processor monitoring system for loosely coupled multiprocessor system
JPH056318A (en) Dynamic loading system for application program in pos controller
JPH0239319A (en) Screen control system
JPH08190444A (en) Timer control unit
JP2002091837A (en) Method and device for processing monitor data and recording medium having monitor data processing program recorded thereon
JPH05101012A (en) On-line data processor
JPS63103339A (en) Recording system for action history information on program
JPS62150444A (en) Software operation tracing device
JPH04174081A (en) Drawing data control system
JP2000267946A (en) General purpose computer device