JPH01305446A - Program debug support processing system - Google Patents

Program debug support processing system

Info

Publication number
JPH01305446A
JPH01305446A JP63136922A JP13692288A JPH01305446A JP H01305446 A JPH01305446 A JP H01305446A JP 63136922 A JP63136922 A JP 63136922A JP 13692288 A JP13692288 A JP 13692288A JP H01305446 A JPH01305446 A JP H01305446A
Authority
JP
Japan
Prior art keywords
history
program
file
file access
history collection
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
JP63136922A
Other languages
Japanese (ja)
Inventor
Moichi Matsubara
松原 茂一
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 JP63136922A priority Critical patent/JPH01305446A/en
Publication of JPH01305446A publication Critical patent/JPH01305446A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To rapidly clear up an unauthorized cause in debugging by constituting a system so that the history of file access performed by a program can be extracted in a program debug support processing. CONSTITUTION:An input/output control part E which controls the file access of an external memory device 3 by each of programs 2-1 to 2-M is instructed to perform an operation to extract the history from a history extraction operation indication part C. Thereby, when the file access for a data set represented by either the data sets registered on a history extraction data indication table holding part A is generated, a program name performing the file access and the content of a targeted data set are sent to and preserved at a history output file D.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラムデバッグ支援処理方式に関し、特に
プログラム開発のデバッグツールでファイルアクセス時
の履歴採取を実施するプログラムデバッグ支援処理方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program debugging support processing method, and more particularly to a program debugging support processing method that collects history at the time of file access using a debugging tool for program development.

〔従来の技術〕[Conventional technology]

プログラム開発のデバッグツールでファイルアクセス時
の履歴採取を実施する従来のプログラムデバッグ支援処
理方式は、単一のプログラムを実行させ、そのプログラ
ムがファイルアクセスを行ったとき、履歴出力ファイル
に、そのファイルアクセスにおけるデータセットの内容
を履歴として保存させている。
The conventional program debugging support processing method that collects the history of file accesses using a debugging tool for program development is to run a single program, and when that program accesses a file, the history output file shows the history of the file access. The contents of the dataset are saved as a history.

(、発明が解決しようとする課題〕 上述した従来のプログラムデバッグ支援処理方式は、プ
ログラム−本−本の単独の動作についての履歴情報を採
取することができるけれども、複数のプログラムが動作
するときに、それぞれのプログラムが行ったファイルア
クセスの履歴と採取することができないという欠点があ
る。
(Problem to be Solved by the Invention) The conventional program debugging support processing method described above can collect historical information about the single operation of program-book-book, but when multiple programs are running, However, the disadvantage is that it is not possible to collect the history of file accesses made by each program.

本発明の目的は、複数のプログラムが動作するときに、
それぞれのプログラムが行ったファイルアクセスの履歴
を採取することができるプログラムデバッグ支援処理方
式を提供することにある。
An object of the present invention is to, when multiple programs operate,
The object of the present invention is to provide a program debugging support processing method that can collect the history of file accesses performed by each program.

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

本発明のプログラムデバッグ支援処理方式は、外部記憶
装置を有し、少なくとも一つのプログラムから、前記外
部記憶装置を使用して処理を行うコンピュータシステム
にあって、 (A)前記外部記憶装置に保存されるデータセットの中
で、ファイルアクセス時に履歴採取を実施するN11j
lのデータセット名を保持する履歴採取データ指示テー
ブル保持部、 (B)ff履歴採取行うデータセット名をあらかじめ入
力して、前記履歴採取データ指示テーブル保持部に登録
する履歴採取データ指示テーブル管理部、 (C)履歴採取の実施についての起動および停止などの
動作を指示する履歴採取動作指示部、(D)ファイルア
クセスを実行させたプログラム名およびそのファイルア
クセスにおける対象のデータセラ1〜の内容を履歴とし
て保存する履歴出力ファイル、 (E)前記プログラムのそれぞれによる前記外部記憶装
置のファイルアクセスを制御し、前記履歴採取動作指示
部から履歴採取の動作を指示されることにより、前記履
歴採取データ指示テーブル保持部に登録されたデータセ
ット名の何れかが示すデータセットに対するファイルア
クセスが生じたとき、そのファイルアクセスを行ったプ
ログラム名およびそのファイルアクセスにおける対象の
データセットの内容を前記履歴出力ファイルに送付して
保存させる入出力制御部、 を鍋えて構成されている。
The program debugging support processing method of the present invention is provided in a computer system having an external storage device and performing processing from at least one program using the external storage device, comprising: N11j that collects history when accessing files in the dataset
(B) A history collection data instruction table management unit that inputs in advance the name of the data set for which ff history collection is to be performed and registers it in the history collection data instruction table storage unit. , (C) a history collection operation instruction unit that instructs operations such as starting and stopping for history collection; (D) the name of the program that executed the file access and the contents of the target Data Sera 1 to 1 in the file access; (E) A history output file to be saved as a history; (E) controlling file access of the external storage device by each of the programs, and instructing the history collection data by receiving a history collection operation instruction from the history collection operation instruction unit; When a file access occurs to a dataset indicated by any of the dataset names registered in the table holding unit, the name of the program that accessed the file and the contents of the target dataset in that file access are written to the history output file. It consists of an input/output control section that sends and stores data.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のプログラムデバッグ支援処理方式の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the program debugging support processing method of the present invention.

第1図に示すように、コンピュータシステムの中央処理
装置1は、実行中の複数のプログラム2−1.・・・・
・・・・・2−Mから、接続している外部記憶装置3を
使用して、ファイルアクセスを行う処理を行っている。
As shown in FIG. 1, a central processing unit 1 of a computer system has a plurality of programs 2-1.・・・・・・
. . . From 2-M, file access processing is performed using the connected external storage device 3.

履歴採取データ指示テーブル保持部Aは、外部記憶装置
3に保存されるデータセット1.・・・・・・・・・・
・・・・・Lの中で、ファイルアクセス時に履歴採取を
実施するN個のデータセット名1,2.・・・・・・N
を保持している。
The history collection data instruction table holding unit A stores datasets 1.・・・・・・・・・・・・
...N data set names 1, 2, .・・・・・・N
is held.

また、履歴採取データ指示テーブル管理部Bは、あらか
じめ使用者がキーボード4から入力した履歴採取を行う
データセット名1.2.・・・・・・Nを受けて、それ
らを履歴採取データ指示テーブル保持部Aに登録するこ
とができる。
The history collection data instruction table management unit B also stores the data set names 1, 2, . . . . Upon receiving N, they can be registered in the history collection data instruction table holding unit A.

一方、履歴採取動作指示部Cは、使用者がキーボード4
から入力した指示を受けて、履歴採取の実施についての
起動および停止などの動作を入出力制御部Eに指示して
いる。
On the other hand, the history collection operation instruction unit C is configured by the user to
In response to instructions input from the input/output control unit E, the input/output control unit E is instructed to perform operations such as starting and stopping the history collection.

さらに、履歴出力ファイルDは、ファイルアクセスを実
行させたプログラム名およびそのファイルアクセスにお
ける対象のデータセットの内容を履歴として保存するこ
とができる。
Further, the history output file D can store the name of the program that executed the file access and the contents of the target data set in the file access as a history.

そこで、プログラム2−1.・・・・・・・・・2−M
のそれぞれによる外部記憶装置3のファイルアクセスを
制御している入出力制御部Eは、履歴採取動作指示部C
から履歴採取の動作を指示されることにより、履歴採取
データ指示テーブル保持部Aに登録されたデータセット
名の何れかが示すデータセットに対するファイルアクセ
スが生じたとき、そのファイルアクセスを行ったプログ
ラム名およびそのファイルアクセスにおける対象のデー
タセットの内容を履歴出力ファイルDに送付して保存さ
せている。
Therefore, program 2-1.・・・・・・・・・2-M
The input/output control unit E that controls file access to the external storage device 3 by each of the history collection operation instruction unit C
When a file access to a dataset indicated by any of the dataset names registered in the history collection data instruction table holding unit A occurs due to an instruction to perform history collection from , the name of the program that accessed the file. Then, the contents of the target data set in the file access are sent to the history output file D and stored therein.

以上述べたように、本実施例のプログラムデバッグ支援
処理方式は、複数のプログラムが動作するときに、それ
ぞれのプログラムが行ったファイルアクセスの履歴を採
取することができる。
As described above, the program debugging support processing method of this embodiment can collect the history of file accesses performed by each program when a plurality of programs are running.

また、関連する複数のデータセットを履歴採取データ指
示テーブルに登録して動作させることにより、関連する
複数のデータセットの内容の履歴が得られるので、これ
らのデータは、プログラムデバッグにおける不正原因の
解明に大きく貢献することができる。
In addition, by registering multiple related datasets in the history collection data instruction table and operating them, you can obtain a history of the contents of multiple related datasets.This data can be used to clarify the cause of irregularities during program debugging. can make a significant contribution.

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

以上説明したように、本発明のプログラムデバッグ支援
処理方式は、複数のプログラムが動作するときに、それ
ぞれのプログラムが行ったファイルアクセスの履歴を採
取することができるという効果を有している。
As described above, the program debugging support processing method of the present invention has the advantage that when a plurality of programs are running, it is possible to collect the history of file accesses performed by each program.

また、システム開発における総合テスI・では、多数の
プログラムを実行させるが、それらの実行により、ある
データセットに誤りが発生した場き、そのデータセット
にファイルアクセスを行ったプログラム名とそのデータ
セットの内容との履歴を調べることができるので、不正
な値に更新を行ったプログラムおよびそのフェーズを特
定または推定することができることにより、不正原因の
解明に要する時間を大幅に短縮することができるという
効果がある。
In addition, in comprehensive test I in system development, a large number of programs are executed, and if an error occurs in a certain data set due to the execution of these programs, the name of the program that accessed the data set and the data set Since it is possible to examine the contents and history of the program, it is possible to identify or estimate the program that updated the invalid value and its phase, thereby significantly reducing the time required to uncover the cause of the violation. effective.

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

第1図は本発明のプログラムデバッグ支援処理方式の一
実施例を示すブロック図である。 1・・・・・・中央処理装置、2−1.〜2−M・・・
・・・プログラム、3・・・・・・外部記憶装置、4・
・・・・・キーボード、A・・・・・・履歴採取データ
指示テーブル保持部、B・・・・・・履歴採取データ指
示テーブル管理部、C・・・・・・履歴採取動作指示部
、D・・・・・・履歴出力ファイル、E・・・・・・入
出力制御部。
FIG. 1 is a block diagram showing an embodiment of the program debugging support processing method of the present invention. 1...Central processing unit, 2-1. ~2-M...
...Program, 3...External storage device, 4.
...Keyboard, A...History collection data instruction table holding unit, B...History collection data instruction table management unit, C...History collection operation instruction unit, D: History output file, E: Input/output control unit.

Claims (1)

【特許請求の範囲】 外部記憶装置を有し、少なくとも一つのプログラムから
、前記外部記憶装置を使用して処理を行うコンピュータ
システムにあって、 (A)前記外部記憶装置に保存されるデータセットの中
で、ファイルアクセス時に履歴採取を実施するN個のデ
ータセット名を保持する履歴採取データ指示テーブル保
持部、 (B)履歴採取を行うデータセット名をあらかじめ入力
して、前記履歴採取データ指示テーブル保持部に登録す
る履歴採取データ指示テーブル管理部、 (C)履歴採取の実施についての起動および停止などの
動作を指示する履歴採取動作指示部、(D)ファイルア
クセスを実行させたプログラム名およびそのファイルア
クセスにおける対象のデータセットの内容を履歴として
保存する履歴出力ファイル、 (E)前記プログラムのそれぞれによる前記外部記憶装
置のファイルアクセスを制御し、前記履歴採取動作指示
部から履歴採取の動作を指示されることにより、前記履
歴採取データ指示テーブル保持部に登録されたデータセ
ット名の何れかが示すデータセットに対するファイルア
クセスが生じたとき、そのファイルアクセスを行ったプ
ログラム名およびそのファイルアクセスにおける対象の
データセットの内容を前記履歴出力ファイルに送付して
保存させる入出力制御部、 を備えることを特徴とするプログラムデバッグ支援処理
方式。
[Scope of Claims] A computer system having an external storage device and performing processing from at least one program using the external storage device, wherein: (A) a data set stored in the external storage device; (B) a history collection data instruction table holding unit that holds the names of N data sets for which history collection is to be performed when a file is accessed; A history collection data instruction table management unit that is registered in the storage unit; (C) a history collection operation instruction unit that instructs operations such as starting and stopping history collection; (D) the name of the program that executed the file access and its name; a history output file that stores the contents of the target data set in file access as a history; (E) controls file access of the external storage device by each of the programs, and instructs the history collection operation from the history collection operation instruction section; As a result, when a file access is made to a dataset indicated by any of the dataset names registered in the history collection data instruction table holding unit, the name of the program that accessed the file and the target of the file access are displayed. A program debugging support processing method, comprising: an input/output control unit that sends and saves the contents of the data set to the history output file.
JP63136922A 1988-06-02 1988-06-02 Program debug support processing system Pending JPH01305446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63136922A JPH01305446A (en) 1988-06-02 1988-06-02 Program debug support processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63136922A JPH01305446A (en) 1988-06-02 1988-06-02 Program debug support processing system

Publications (1)

Publication Number Publication Date
JPH01305446A true JPH01305446A (en) 1989-12-08

Family

ID=15186712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63136922A Pending JPH01305446A (en) 1988-06-02 1988-06-02 Program debug support processing system

Country Status (1)

Country Link
JP (1) JPH01305446A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170515A (en) * 2013-02-08 2014-09-18 Ricoh Co Ltd Device, information storage program, and information storage method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS613255A (en) * 1984-06-15 1986-01-09 Hitachi Ltd Tracing system for program execution by alterable file access permission table registration

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS613255A (en) * 1984-06-15 1986-01-09 Hitachi Ltd Tracing system for program execution by alterable file access permission table registration

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170515A (en) * 2013-02-08 2014-09-18 Ricoh Co Ltd Device, information storage program, and information storage method

Similar Documents

Publication Publication Date Title
US5819024A (en) Fault analysis system
JPH0317753A (en) File access system
JPH01305446A (en) Program debug support processing system
JP2555920B2 (en) Online real-time processor
JP2675088B2 (en) Information collection method
JPS60238948A (en) Device for measuring processing time of computer system
JPH03118642A (en) Method and apparatus for observing execu- tion of program loaded in information processing system
JPS60105043A (en) Information processing system
JPH036644A (en) Storage protection system
JPS5924351A (en) Processing system of fault information
JP2980327B2 (en) Instruction processing unit
JPH02208750A (en) File access system
JPH02304640A (en) Memory dump collecting system
JPS6042968B2 (en) information processing equipment
JPH05143422A (en) Updated journal managing system
JPH0580941A (en) Data processor
JPH0217554A (en) Cache memory test system
JPS63310040A (en) Data sampling system
Neumann Disk-based program swapping in 8080-based microcomputers
JPH0256647A (en) File state tracking processing system
JPS61161548A (en) Data processor
JPH04369706A (en) Terminal function key input system
JPH04174081A (en) Drawing data control system
JPH09106352A (en) Information processing method and device therefor
JPH0454623A (en) Data processor