JP2910548B2 - Data check device - Google Patents

Data check device

Info

Publication number
JP2910548B2
JP2910548B2 JP5337853A JP33785393A JP2910548B2 JP 2910548 B2 JP2910548 B2 JP 2910548B2 JP 5337853 A JP5337853 A JP 5337853A JP 33785393 A JP33785393 A JP 33785393A JP 2910548 B2 JP2910548 B2 JP 2910548B2
Authority
JP
Japan
Prior art keywords
data
editing
storage means
software
check device
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.)
Expired - Lifetime
Application number
JP5337853A
Other languages
Japanese (ja)
Other versions
JPH07200354A (en
Inventor
弘行 猪又
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP5337853A priority Critical patent/JP2910548B2/en
Publication of JPH07200354A publication Critical patent/JPH07200354A/en
Application granted granted Critical
Publication of JP2910548B2 publication Critical patent/JP2910548B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ソフトウエアのデバッ
ク時にデータをチェックし表示するデータチェック装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data check apparatus for checking and displaying data when debugging software.

【0002】[0002]

【従来の技術】従来、ソフトウエアの開発においていか
に短期間にソフトウエアの開発を終了し、かつ、ソフト
ウエアの高品質を保つかということは重要な要素となっ
ている。
2. Description of the Related Art Hitherto, it has been an important factor in software development how to finish software development in a short time and to maintain high quality of the software.

【0003】一般にソフトウエアの開発過程において初
めからソフトウエア全体を動作させるのではなくソフト
ウエアを部分的に試験し一通り試験が終了した時点で全
体の試験を行う。そして、ソフトウエアの一部を試験を
する場合には直接、ソフトウエアに試験をするためのテ
スト用ソフトウエアを書き込み動作させ、その結果予定
されたデータが出力されるか否かによってソフトウエア
に内在するバグの有無を判断する場合が多い。例えば、
外部データファイルの変更を行うプログラムの場合に
は、図4のフローチャートように、プログラム中で使用
する変数の型(種類)を設定したり、初期値を代入し
(S11)、色々なアプリケーションプログラムを実行
し(S12、S13)、このアプリケーションプログラ
ムに追加したデータがどのように変化するかチェックす
るためのデバック用プログラムを実行しデータファイル
からデータを読み込み(S14)、この読み込んだデー
タを設定値と比較し適正かチェックする(S15)。そ
して、この読み込んだデータが設定値でない場合はデー
タを変更し(S16)、再びデータファイルからデータ
を読み込み(S17)、変更したデータとこの読み込ん
だデータを比較することによりチェックし(S18)、
他のアプリケーションプログラムを実行する(S1
9)。
Generally, in the course of software development, the entire software is not operated from the beginning, but the software is partially tested, and the entire test is performed when the test is completed. When testing a part of the software, the test software for testing the software is written directly to the software, and as a result, it is determined whether or not the expected data is output. In many cases, it is necessary to determine whether there is an underlying bug. For example,
In the case of a program for changing an external data file, as shown in the flowchart of FIG. 4, the type (type) of a variable used in the program is set or an initial value is substituted (S11), and various application programs are changed. (S12, S13), execute a debugging program for checking how the data added to the application program changes, read data from the data file (S14), and set the read data as a set value. It is compared and checked whether it is appropriate (S15). If the read data is not the set value, the data is changed (S16), the data is read again from the data file (S17), and a check is made by comparing the changed data with the read data (S18).
Execute another application program (S1
9).

【0004】このようにデータ読み込み処理のテスト用
プログラムおよびデータチェック処理のテスト用プログ
ラムを開発中のプログラムに書き込みデータファイルの
データがどのように書き変わるか試験しバグの有無を判
断する。そして、バグが無いと判断した後には、テスト
プログラムを開発中のプログラムから削除もしくは変更
し、他の部分をさらに同じように試験する。
As described above, a test program for the data reading process and a test program for the data check process are tested to determine how the data in the write data file is rewritten in the program under development to determine whether there is a bug. Then, after determining that there is no bug, the test program is deleted or changed from the program under development, and the other parts are further tested in the same manner.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、開発中
のソフトウエアのデバック終了後にテスト用ソフトウエ
アを削除もしくは変更することは、開発中のソフトウエ
アの必要な部分の削除によるソフトウエアの品質低下ま
たはソースプログラムを変更しなければならないので作
業時間の増加もしくは細部にわたるチェック項目の設定
による作業時間の増加などの原因となっていた。
However, deleting or changing the test software after the completion of the debugging of the software under development is likely to reduce the quality of the software due to the deletion of necessary parts of the software under development or Since the source program has to be changed, the work time has been increased or the work time has been increased by setting check items in detail.

【0006】そこで、本発明の目的は、ソフトウエアの
デバックのためにテスト用ソフトウエアを挿入すること
なくデータがチェックできるデータチェック装置を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data check device capable of checking data without inserting test software for software debugging.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めの本発明は、開発中のプログラムを実行させて、その
処理結果のデータを比較することにより、当該プログラ
ムをデバックするためのデータチェック装置であって、
前記プログラムの実行により今回処理後のデータを格納
する第1データ記憶手段と、前回処理後のデータを格納
する第2データ記憶手段と、前記第1記憶手段と前記第
2記憶手段に記憶されているデータをそれぞれ一定周期
毎に読み出すデータ読み出し手段と、データを表示する
ためのデータの形式が記憶されている定義情報記憶手段
と、前記データ読み出し手段により一定周期毎に読み出
した前記今回のデータと前記前回のデータを比較し更新
されたデータをチェックするデータ比較手段と、前記定
義情報記憶手段に記憶されているデータの形式にしたが
って前記データ比較手段によりチェックされ更新された
データを編集するデータ編集手段と、当該データ編集手
段により編集されたデータを表示するデータ表示手段と
を有することを特徴とするデータチェック装置である。
According to the present invention for achieving the above object, a program under development is executed to execute the program.
By comparing the processing result data, the program
A data check device for debugging the system,
A first data storage means for storing the data after this processing by executing the programs, and the second data storage means for storing the data after the last treatment, stored in said second storage means and the first storage means a data reading means for reading are data for each predetermined period, the definition information broom憶means format data for displaying the data is stored, said the current read every constant period by said data reading means Data comparing means for comparing data with the previous data to check for updated data; and editing data updated and checked by the data comparing means in accordance with the format of data stored in the definition information storage means. It has data editing means and data display means for displaying data edited by the data editing means. It is a data check device to.

【0008】[0008]

【作用】本発明のデータチェック装置は、プログラムを
実行し今回処理後のデータを第1データ記憶手段に前回
処理後のデータを第2データ記憶手段にそれぞれ格納
し、これらの格納したデータを一定周期毎にデータ読み
出し手段により読み出す。この読み出したデータはデー
タ比較手段により比較し更新したデータをチェックす
る。さらに、データ編集手段によりこの更新したデータ
を表示のためのデータの形式が記憶されている定義情報
データ記憶手段のデータの形式にしたがってデータを編
集する。そして、この編集されたデータはデータ表示手
段により表示される。
The data check device of the present invention executes a program, stores data after the current processing in the first data storage means in the first data storage means, and stores the data after the previous processing in the second data storage means. The data is read by the data reading means at each cycle. The read data is compared by the data comparing means and the updated data is checked. Further, the data editing means edits the data in accordance with the data format of the definition information data storage means in which the data format for displaying the updated data is stored. Then, the edited data is displayed by the data display means.

【0009】[0009]

【実施例】以下添付した図面を参照して、本発明のデー
タチェック装置を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A data check device according to the present invention will be described below with reference to the accompanying drawings.

【0010】本発明のデータチェック装置には、図1の
ように開発中のソフトウエアを動作させた場合のデータ
の書き込みおよび読み込みとデータの比較を行うデータ
比較部材1と、このデータ比較部材1からのデータを編
集し表示するデータ表示部材2がある。
The data check device of the present invention includes a data comparison member 1 for writing and reading data and comparing data when the software under development is operated as shown in FIG. There is a data display member 2 that edits and displays data from the.

【0011】このデータ比較部材1には、開発中のソフ
トウエアの実行により今回処理したデータを記憶する第
1データ記憶手段である第1データファイル15と、前
回処理したデータを記憶する第2データ記憶手段である
第2データファイル17と、第1データファイルから今
回処理したデータを一定周期毎にデータを読み出すデー
タ読み出し手段であるデータ読み出し部11と、第2デ
ータファイル17から前回処理したデータを読み込み今
回処理したデータと比較しチェックするデータ比較手段
であるデータ比較部13とがある。
The data comparison member 1 has a first data file 15 as first data storage means for storing data processed this time by executing software under development, and a second data file for storing data processed last time. A second data file 17 serving as a storage unit, a data reading unit 11 serving as a data reading unit that reads data processed at this time from the first data file at regular intervals, and a data reading unit configured to read previously processed data from the second data file 17. There is a data comparison unit 13 that is a data comparison unit that reads and compares the read data with the currently processed data.

【0012】また、データ表示部材2には、データ比較
部13により比較されチェックされた更新したデータを
表示するためにデータの編集するデータ編集手段である
データ編集部21と、このデータの編集のためのフォー
マットなどの情報が記憶されている定義情報記憶手段で
ある定義情報データファイル23と、データ編集部21
からのデータを表示するためのデータ表示手段であるデ
ータ表示部25とがある。
The data display member 2 has a data editing unit 21 serving as a data editing unit for editing data in order to display updated data compared and checked by the data comparing unit 13. Information data file 23 which is a definition information storage means storing information such as a format for the
There is a data display unit 25 which is a data display means for displaying data from the server.

【0013】このようなデータチェック装置は、次のよ
うに動作する。
[0013] Such a data check device operates as follows.

【0014】例えば、第1データファイル15にデータ
の書き込みを行うプログラムのデバックを行う場合に
は、まず、あらかじめ知られているデータを用いてこの
プログラムを動作させ第1ファイルに書き込ませる。第
1データファイルに今回書き込まれたデータをデータ読
み出し部11は、一定周期毎に読み込み、データ比較部
によりこの今回書き込まれたデータおよび前回書き込ま
れたデータを比較し、今回更新したと判断されたデータ
をデータ編集部21に送信すると共に今回書き込まれた
データを第2ファイル17に書き込む。そして、データ
編集部21では、定義情報データファイル23からデー
タ表示のためのフォーマットなどを読み込み今回変更に
なったデータを表示用に編集する。この編集されたデー
タはデータ表示部25によって図2のようにエンジンナ
ンバー,生産日,製品の品質のチェックポイントである
ポイント通過マーク,生産工程上の不具合数が表示され
る。
For example, when a program for writing data to the first data file 15 is to be debugged, the program is first operated using previously known data and written into the first file. The data reading unit 11 reads the data written this time in the first data file at regular intervals, compares the data written this time with the data written last time by the data comparing unit, and determines that the data has been updated this time. The data is transmitted to the data editing unit 21 and the data written this time is written to the second file 17. Then, the data editing unit 21 reads a format for data display from the definition information data file 23 and edits the data changed this time for display. The edited data is displayed on the data display section 25 as shown in FIG. 2, the engine number, the production date, the point passing mark which is a check point of the product quality, and the number of defects in the production process.

【0015】図3は、本発明のデータチェック装置の制
御のフローチャートである。
FIG. 3 is a flowchart of control of the data check device of the present invention.

【0016】データ読み出し手段11により第1データ
ファイルから今回処理されたデータを読み込む(S
1)。また、データ比較手段によって第2データファイ
ルより前回処理されたデータを読み込み(S2)、今回
処理されたデータと前回処理されたデータを1件づつ比
較する(S3)。この比較した結果データが更新されて
いる順にレコードナンバーを割り当て記憶し(S5)、
データが更新されていない場合には(S4)、最後のフ
ァイルかどうか(S6)をチェックし、最後のファイル
ではないときには再びデータの比較を1件づつ行う。こ
の比較に使用した今回のデータは第2データファイルに
書き込まれる(S7)。そして、更新されたデータはデ
ータ編集部21により定義情報データファイル23を読
み込んだ後に(S8)、この定義情報データファイル2
3を参照し記憶したレコードナンバー順に編集される
(S9)。この編集されたデータはデータ表示装置25
により表示されることになる。
The data processed this time is read from the first data file by the data reading means 11 (S
1). Further, the previously processed data is read from the second data file by the data comparing means (S2), and the currently processed data and the previously processed data are compared one by one (S3). Record numbers are allocated and stored in the order in which the comparison result data is updated (S5).
If the data has not been updated (S4), it is checked whether it is the last file (S6), and if it is not the last file, the data is compared again one by one. The current data used for this comparison is written to the second data file (S7). Then, after the updated data is read by the data editing unit 21 into the definition information data file 23 (S8), the definition information data file 2
3 are edited in the order of the stored record numbers (S9). The edited data is displayed on the data display device 25.
Will be displayed.

【0017】このように構成し動作させることにより、
本発明のデータチェック装置は開発中のソフトウエアを
動作させた場合に前回処理されたデータと今回処理され
たデータを比較することによってデバックのためのソフ
トウエアを開発中のソフトウエアに挿入または削除する
ことなく、開発中のソフトウエアで処理されるデータを
チェックし表示させることができる。
By configuring and operating in this way,
The data check device of the present invention inserts or deletes software for debugging into software under development by comparing previously processed data and data processed this time when running software under development Without having to do this, you can check and display data that is processed by the software under development.

【0018】[0018]

【発明の効果】以上、述べたように本発明のデータチェ
ック装置によれば、デバックのためのソフトウエアを開
発中のソフトウエアに挿入または削除することなく、開
発中のソフトウエアで処理されるデータをチェックし表
示させることができるので、デバック用ソフトウエアの
誤挿入または誤削除による開発中のソフトウエアの質の
低下を防止することができる。
As described above, according to the data check device of the present invention, the software for debugging is processed by the software under development without inserting or deleting the software for development under software. Since the data can be checked and displayed, the quality of software under development due to erroneous insertion or erroneous deletion of debugging software can be prevented.

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

【図1】 本発明のデータチェック装置の構成を説明す
るための図面である。
FIG. 1 is a diagram for explaining a configuration of a data check device of the present invention.

【図2】 本発明のデータチェック装置によるデータを
チェックするための表示画面を説明するための図面であ
る。
FIG. 2 is a view for explaining a display screen for checking data by the data check device of the present invention.

【図3】 本発明のデータチェック装置の制御を説明す
るためのフローチャートである。
FIG. 3 is a flowchart for explaining control of the data check device of the present invention.

【図4】 従来のデータチェックの方法を説明するため
のフローチャートである。
FIG. 4 is a flowchart for explaining a conventional data check method.

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

1…データ比較部材、 2…データ
表示部材、11…データ読み出し部、
13…データ、15…第1データファイル、
17…第2データファイル、21…データ編集部、
23…定義情報データファイル、
25…データ表示部。
1 ... data comparison member, 2 ... data display member, 11 ... data readout section,
13 ... data, 15 ... first data file,
17: second data file, 21: data editing unit,
23 ... definition information data file
25 Data display unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 開発中のプログラムを実行させて、その
処理結果のデータを比較することにより、当該プログラ
ムをデバックするためのデータチェック装置であって、 前記 プログラムの実行により今回処理後のデータを格納
する第1データ記憶手段と、 前回処理後のデータを格納する第2データ記憶手段と、 前記第1記憶手段と前記第2記憶手段に記憶されている
データをそれぞれ一定周期毎に読み出すデータ読み出し
手段と、 データを表示するためのデータの形式が記憶されている
定義情報記憶手段と、 前記データ読み出し手段により一定周期毎に読み出した
前記今回のデータと前記前回のデータを比較し更新され
たデータをチェックするデータ比較手段と、 前記定義情報記憶手段に記憶されているデータの形式に
したがって前記データ比較手段によりチェックされ更新
されたデータを編集するデータ編集手段と、 当該データ編集手段により編集されたデータを表示する
データ表示手段とを有することを特徴とするデータチェ
ック装置。
1. A program under development is executed, and
By comparing the processing result data, the program
A data check device for debugging the arm, a first data storage means for storing the data after this processing by executing the programs, and the second data storage means for storing the data after the last treatment, the first 1 and the data reading means for reading data stored in each predetermined cycle every storage means and said second storage means, and define information broom憶means format data for displaying the data is stored, the A data comparing unit that compares the current data and the previous data read by the data reading unit at regular intervals and checks updated data; and the data comparing unit according to a format of data stored in the definition information storing unit. Data editing means for editing the data checked and updated by the data comparing means, and editing by the data editing means Data check device and having a data display means for displaying the data.
JP5337853A 1993-12-28 1993-12-28 Data check device Expired - Lifetime JP2910548B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5337853A JP2910548B2 (en) 1993-12-28 1993-12-28 Data check device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5337853A JP2910548B2 (en) 1993-12-28 1993-12-28 Data check device

Publications (2)

Publication Number Publication Date
JPH07200354A JPH07200354A (en) 1995-08-04
JP2910548B2 true JP2910548B2 (en) 1999-06-23

Family

ID=18312600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5337853A Expired - Lifetime JP2910548B2 (en) 1993-12-28 1993-12-28 Data check device

Country Status (1)

Country Link
JP (1) JP2910548B2 (en)

Also Published As

Publication number Publication date
JPH07200354A (en) 1995-08-04

Similar Documents

Publication Publication Date Title
US5124989A (en) Method of debugging a computer program
JP3206641B2 (en) Microcomputer system debugging method, debugging device, and recording medium recording debug program
JP2910548B2 (en) Data check device
JP3110391B2 (en) Program re-execution method
JPH036630A (en) Check system for interactive processing program
JPS63101934A (en) Forming system for maintenance information of assembler language program
JPS60200346A (en) Production of program test data
JP2001236247A (en) Software simulator and simulation processing method
JPH01311335A (en) Program comprehensive ratio measuring system
JPH0253147A (en) Microprogram checking system
JPH01302429A (en) Source program editing system
JPH0269837A (en) Program debug support device
JP2001202272A (en) Debugging method, debugging device using this method and recording medium with debugging method recorded thereon
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JPS63314660A (en) Cache test system
JPS60252959A (en) On-line trace controlling system
JPH07191875A (en) Debugger
JPH0816382A (en) Erroneously corrected line retrieving device
JPH06138911A (en) Programming device
JPS6170644A (en) Program debugging system
JPH08106381A (en) Program evaluation test method
JPS5927303A (en) Program correcting device
JPH01152535A (en) Method and device for managing program
JPH04177437A (en) Debugging state control system
JPH06103172A (en) Memory test method