JPH04336629A - Trap report analyzing tool - Google Patents
Trap report analyzing toolInfo
- Publication number
- JPH04336629A JPH04336629A JP3107764A JP10776491A JPH04336629A JP H04336629 A JPH04336629 A JP H04336629A JP 3107764 A JP3107764 A JP 3107764A JP 10776491 A JP10776491 A JP 10776491A JP H04336629 A JPH04336629 A JP H04336629A
- Authority
- JP
- Japan
- Prior art keywords
- trap
- register information
- memory
- link map
- analyzing
- 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
- 238000010586 diagram Methods 0.000 description 4
- 238000007781 pre-processing Methods 0.000 description 2
- 238000011282 treatment Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、デバック中プログラム
のトラップレポートを出力するトラップレポート解析ツ
ールに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trap report analysis tool for outputting a trap report of a program being debugged.
【0002】0002
【従来の技術】従来のトラップレポートの解析は、直接
プリンタ装置に出力されたトラップレポートを人手を介
して解析することにより、トラップ発生場所及びその原
因等を得ていた。2. Description of the Related Art In conventional trap report analysis, trap reports directly output to a printer are manually analyzed to determine the location and cause of trap occurrence.
【0003】0003
【発明が解決しようとする課題】上述した従来のトラッ
プレポートの解析は、人手を介して解析しているので、
トラップレポートから得られる情報が担当者のデバック
経験により、それぞれ異ってしまうという問題点がある
。[Problem to be Solved by the Invention] The conventional trap report analysis described above is performed manually, so
There is a problem in that the information obtained from the trap report varies depending on the debugging experience of the person in charge.
【0004】また、トラップレポートは、一度プリンタ
などに出力されると消去されるので、プリンタ出力され
た用紙を紛失するとまた最初からやり直さなければなら
ないという問題点がある。[0004]Furthermore, since the trap report is erased once it is output to a printer or the like, there is a problem that if the paper output from the printer is lost, the report must be restarted from the beginning.
【0005】[0005]
【課題を解決するための手段】本発明のトラップレポー
ト解析ツールは、デバックプログラムに、トラップレポ
ート解析用データ取得をパラメータとして与えるデータ
取得手段と、メモリ/レジスタ情報退避用ファイルの作
成/初期設定を行う退避用ファイル作成手段と、前記デ
バックプログラムでデバックを開始するデバック手段と
、前記デバックプログラム実行中に、トラップを発見す
るトラップ発生判定手段と、前記トラップ発生判定手段
がトラップを発見したならば、前記メモリ/レジスタ情
報退避用ファイルにメモリ/レジスタ情報を書込み保存
する退避用ファイル書込手段と、前記メモリ/レジスタ
情報退避用ファイルからメモリレジスタ情報を入力する
メモリレジスタ情報入力手段と、オブジェクト間のリン
ク状況を示すリンクマップにより、発生タスク名,発生
モジュール名,発生箇所を検出するリンクマップ参照手
段と、トラップの発生するパターンとそれに対応する原
因,処理とのデータから構成されている原因解析用デー
タベースを参照し、原因,処理を検出するデータベース
参照手段と、前記リンクマップ参照手段とデータベース
参照手段との解析結果情報からトラップ解析結果リスト
を出力する出力手段とを有している。[Means for Solving the Problems] The trap report analysis tool of the present invention includes a data acquisition means for providing data acquisition for trap report analysis as a parameter to a debug program, and creation/initialization of a file for saving memory/register information. debugging means for starting debugging using the debugging program; trap occurrence determining means for discovering a trap during execution of the debugging program; and if the trap occurrence determining means discovers a trap; a save file writing means for writing and saving memory/register information in the memory/register information save file; a memory register information input means for inputting memory register information from the memory/register information save file; A link map reference means for detecting the occurrence task name, occurrence module name, and occurrence location using a link map that shows the link status, and a cause analysis tool that consists of data on trap occurrence patterns and their corresponding causes and processing. It has a database reference means for referring to the database and detecting causes and treatments, and an output means for outputting a trap analysis result list from the analysis result information of the link map reference means and the database reference means.
【0006】[0006]
【実施例】本発明について図面を参照して説明する。図
1は本発明の一実施例のブロック図、図2は図1により
出力されるトラップ解析結果リストの出力例を示す図で
ある。CPU1のトラップレポート解析ツール1bは前
処理10とし、データ取得手段11でデバックプログラ
ム1aに、磁気ディスク装置2に格納されているトラッ
プレポート解析用データ2aをパラメータとして与える
。次に、退避用ファイル作成手段12で磁気ディスク装
置2に、メモリ/レジスタ情報退避用ファイル(以後、
退避用ファイルと記す)2bの作成/初期設定を行う。
デバック手段13でデバックを開始し、トラップ発生判
定手段14でトラップを発見したならば、退避用ファイ
ル書込手段15で退避用ファイル2bにメモリ/レジス
タ情報を書込み保存する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a diagram showing an output example of a trap analysis result list outputted from FIG. 1. The trap report analysis tool 1b of the CPU 1 performs preprocessing 10, and the data acquisition means 11 supplies the trap report analysis data 2a stored in the magnetic disk device 2 to the debug program 1a as a parameter. Next, the save file creation means 12 stores a memory/register information save file (hereinafter referred to as
Create/initialize the save file 2b. When the debugging means 13 starts debugging and the trap occurrence determining means 14 finds a trap, the saving file writing means 15 writes and saves the memory/register information in the saving file 2b.
【0007】解析結果を出力する場合は、メモリレジス
タ情報入力手段16により、退避用ファイル2bからメ
モリレジスタ情報をトラップレポート解析ツール1bに
入力する。リンクマップ参照手段17により、磁気ディ
スク装置2に予め格納されているオブジェクト間のリン
ク状況を示すリンクマップ2cを参照し、図2のトラッ
プ解析結果リスト20の発生タスク名21,発生モジュ
ール名22,発生箇所23を検出する。次に、データベ
ース参照手段18により磁気ディスク装置2に予め格納
されているトラップの発生するパターンとそれに対応す
る原因,処理とのデータから構成されている原因解析用
データベース2dを参照し、トラップ解析結果リスト2
0の原因24,処理25を検出する。解析結果から出力
手段19により、トラップ解析結果リスト20をプリン
タ3で出力するWhen outputting the analysis results, the memory register information input means 16 inputs memory register information from the save file 2b to the trap report analysis tool 1b. The link map reference means 17 refers to the link map 2c that shows the link status between objects stored in advance in the magnetic disk device 2, and reads the generated task name 21, generated module name 22, and generated module name 22 of the trap analysis result list 20 in FIG. The occurrence point 23 is detected. Next, the database reference means 18 refers to the cause analysis database 2d, which is pre-stored in the magnetic disk device 2 and is composed of data on trap occurrence patterns, their corresponding causes, and treatments, and obtains the trap analysis results. List 2
The cause 24 and process 25 of 0 are detected. From the analysis results, the output means 19 outputs a trap analysis result list 20 using the printer 3.
【発明の効果】以上説明したように本発明は、リンクマ
ップと原因解析用データベースとを参照することにより
、誰が解析しても同じ結果を得ることができる効果があ
る。As described above, the present invention has the advantage that by referring to the link map and the database for cause analysis, the same result can be obtained no matter who performs the analysis.
【0008】また、メモリレジスタ情報退避用ファイル
に情報を格納しておくので、トラップ解析結果リストを
必要な時に何度でも出力させることができる効果がある
。Furthermore, since the information is stored in the memory register information save file, there is an advantage that the trap analysis result list can be output as many times as necessary.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
【図2】図1により出力されるトラップ解析結果リスト
の出力例を示す図である。FIG. 2 is a diagram showing an output example of a trap analysis result list output in FIG. 1;
1 CPU
1a デバックプログラム
1b トラップレポート解析ツール2 磁
気ディスク装置
2a トラップレポート解析用データ2b
退避用ファイル
2c リンクマップ
2d 原因解析用データベース
3 プリンタ
10 前処理
11 データ取得手段
12 退避用ファイル作成手段
13 デバック手段
14 トラップ発生判定手段
15 退避用ファイル書込手段
16 メモリレジスタ情報入力手段17
リンクマップ参照手段
18 データベース参照手段
19 出力手段
20 トラップ解析結果リスト
21 発生タスク名
22 発生モジュール名
23 発生箇所
24 原因
25 処理1 CPU 1a Debug program 1b Trap report analysis tool 2 Magnetic disk device 2a Trap report analysis data 2b
Save file 2c Link map 2d Cause analysis database 3 Printer 10 Preprocessing 11 Data acquisition means 12 Save file creation means 13 Debugging means 14 Trap occurrence determination means 15 Save file writing means 16 Memory register information input means 17
Link map reference means 18 Database reference means 19 Output means 20 Trap analysis result list 21 Occurrence task name 22 Occurrence module name 23 Occurrence location 24 Cause 25 Processing
Claims (1)
ート解析用データ取得をパラメータとして与えるデータ
取得手段と、メモリ/レジスタ情報退避用ファイルの作
成/初期設定を行う退避用ファイル作成手段と、前記デ
バックプログラムでデバックを開始するデバック手段と
、前記デバックプログラム実行中に、トラップを発見す
るトラップ発生判定手段と、前記トラップ発生判定手段
がトラップを発見したならば、前記メモリ/レジスタ情
報退避用ファイルにメモリ/レジスタ情報を書込み保存
する退避用ファイル書込手段と、前記メモリ/レジスタ
情報退避用ファイルからメモリレジスタ情報を入力する
メモリレジスタ情報入力手段と、オブジェクト間のリン
ク状況を示すリンクマップにより、発生タスク名,発生
モジュール名,発生箇所を検出するリンクマップ参照手
段と、トラップの発生するパターンとそれに対応する原
因,処理とのデータから構成されている原因解析用デー
タベースを参照し、原因,処理を検出するデータベース
参照手段と、前記リンクマップ参照手段とデータベース
参照手段との解析結果情報からトラップ解析結果リスト
を出力する出力手段とを有することを特徴とするトラッ
プレポート解析ツール。1. Data acquisition means for supplying data acquisition for trap report analysis to a debug program as a parameter; save file creation means for creating/initializing a file for saving memory/register information; a trap occurrence determining means for discovering a trap during the execution of the debugging program; and if the trap occurrence determining means discovers a trap, memory/register information is stored in the memory/register information saving file. A save file writing means that writes and saves the memory/register information save file, a memory register information input means that inputs memory register information from the memory/register information save file, and a link map that shows the link status between objects. A link map reference means for detecting the module name and occurrence location, and a database reference for detecting causes and processing by referring to a cause analysis database consisting of data on trap occurrence patterns and corresponding causes and processing. and output means for outputting a trap analysis result list from the analysis result information of the link map reference means and the database reference means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3107764A JPH04336629A (en) | 1991-05-14 | 1991-05-14 | Trap report analyzing tool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3107764A JPH04336629A (en) | 1991-05-14 | 1991-05-14 | Trap report analyzing tool |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04336629A true JPH04336629A (en) | 1992-11-24 |
Family
ID=14467406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3107764A Pending JPH04336629A (en) | 1991-05-14 | 1991-05-14 | Trap report analyzing tool |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04336629A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017539031A (en) * | 2014-12-09 | 2017-12-28 | エントイット ソフトウェア エルエルシーEntit Software Llc | Separation of test verification from test execution |
-
1991
- 1991-05-14 JP JP3107764A patent/JPH04336629A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017539031A (en) * | 2014-12-09 | 2017-12-28 | エントイット ソフトウェア エルエルシーEntit Software Llc | Separation of test verification from test execution |
US10534700B2 (en) | 2014-12-09 | 2020-01-14 | Micro Focus Llc | Separating test verifications from test executions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2143145C (en) | Determining dynamic properties of programs | |
US5513317A (en) | System and method for permitting rapid refinement of data output from a debugger | |
JP2006185211A (en) | Program analysis system, test execution device, and analysis method and program thereof | |
KR20180009589A (en) | Apparatus and method for analyzing programs | |
JPH04336629A (en) | Trap report analyzing tool | |
US7036045B2 (en) | Method and system for isolating exception related errors in Java JVM | |
JPH08314760A (en) | Program development supporting device | |
Lyle et al. | Using the unravel program slicing tool to evaluate high integrity software | |
JPH02220145A (en) | Program tracing system | |
JP2870735B2 (en) | Automatic check method of data value in debugger | |
JP2932987B2 (en) | Automatic test equipment for computer systems | |
JPH08137714A (en) | Debugging method and debugging system for multitask program | |
JPH05181702A (en) | Soft debugger | |
JP2746180B2 (en) | Program test support management device and program test support management method | |
JPH04358232A (en) | Function testing method for information processor | |
JP2751539B2 (en) | Interface verification processing method | |
JPH05204698A (en) | Debugger processing system | |
JPH03142636A (en) | System quality analysis system using knowledge data base | |
JP2000276344A (en) | Program generation system using object and its program generating method | |
JPH06259278A (en) | System for acquiring debugging information | |
JPH0333944A (en) | Instruction address tracing system | |
JPH03129537A (en) | Test coverage system for microprogram | |
JPH04229343A (en) | Memory contents display system in interactive debugger | |
JPH04307636A (en) | Program test system | |
JPH04213725A (en) | Automatic generating system for test program |