JPS59128652A - Program testing method using display device - Google Patents

Program testing method using display device

Info

Publication number
JPS59128652A
JPS59128652A JP58004748A JP474883A JPS59128652A JP S59128652 A JPS59128652 A JP S59128652A JP 58004748 A JP58004748 A JP 58004748A JP 474883 A JP474883 A JP 474883A JP S59128652 A JPS59128652 A JP S59128652A
Authority
JP
Japan
Prior art keywords
program
display
contents
keyboard
test
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
JP58004748A
Other languages
Japanese (ja)
Inventor
Masaaki Nishimura
西村 正昭
Kensaku Ihara
井原 健策
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP58004748A priority Critical patent/JPS59128652A/en
Publication of JPS59128652A publication Critical patent/JPS59128652A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/28Error detection; Error correction; Monitoring by checking the correct order of processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To improve the debugging efficiency of a program and the producitivity of software by displaying a compile list or an assembly list to be tested and the test result on a CRT screen to process the contents. CONSTITUTION:A test program 24 is started by operating a keyboard 12 at first, then its contents are displayed successively in steps. Subsequently, a program 24a to be debugged is started and the contents of each memory register are correspondingly displayed as a table on the basis of a display program 23b. If an error is detected in a program 24a or in a compile process, the display status is stopped at that time, a carsor is set up on an information area to be corrected and then new data are inputted through the keyboard 12. Consequently, the error is directly corrected and the corrected contents are sent to an arithmetic processing part 21 to correct the program. Thus, the debugging efficiency and the producitivity of software are improved.

Description

【発明の詳細な説明】 この発明は、ディスプレイ装置を用いたプログラム検査
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program verification method using a display device.

プログラム開発作成したプログラムのデバッグに対する
従来の方式としては、第1図に示す如く、デバッグ用の
コンソールパネル1に設けられた各種のエン) IJ−
キースイッチ群2のキーを選択的に設定して、スタート
キースイッチ6及びストップキースイッチ4を、オず操
作する。そして、アドレスデータ表示部6におけるL 
E D群6aの点灯状況と、アドレスセット内容表示部
50セツトアドレスとを確認することにより行なうとい
うものである。具体的には、スタートキースイッチ3を
操作して、あるアドレスからあるアドレスまでのプログ
ラムを実行させて、ストップキースイッチ4とエントリ
ーキースイッチ′2とを操作して、その停止したアドレ
ス位置での内部レジスタ、および内部メモリ等の内容を
アドレスデータ表示部6に表示して、これを調べ、プロ
グラムのコンパイルリストあるいはアッセンブルリスト
と、この内容とをつき合せて行なう。
As shown in FIG. 1, the conventional method for debugging programs created by program development involves various engines installed on a debugging console panel 1.
The keys of the key switch group 2 are selectively set, and the start key switch 6 and stop key switch 4 are operated automatically. Then, L in the address data display section 6
This is done by checking the lighting status of the ED group 6a and the set address of the address set content display section 50. Specifically, the start key switch 3 is operated to execute a program from a certain address to a certain address, and the stop key switch 4 and entry key switch '2 are operated to execute the program at the stopped address position. The contents of internal registers, internal memories, etc. are displayed on the address data display section 6, checked, and compared with the compile list or assemble list of the program.

この方式では、コンパイルリストあるいはアッセンブル
リストを終始つき合せながらエントリーキーにアドレス
をセットしなければならない上、ストップしたアドレス
位置でのレジスタ及びメモリ内容の確認もエン) IJ
−キーをその都度操作して行なわなければならない。し
たがって、操作が繁雑で能率が良くないという欠点があ
る。
In this method, addresses must be set in the entry keys while checking the compile list or assemble list from beginning to end, and it is also necessary to check the contents of registers and memory at the stopped address position.)
- You have to operate the keys each time. Therefore, there is a drawback that the operation is complicated and the efficiency is not good.

しかも、この方式では、デバッグ記録も残し難く、プロ
グラム全体の繋がシを見ながらデバッグすることができ
ないという問題点がある。
Moreover, this method has the problem that it is difficult to leave debugging records, and it is not possible to debug while looking at the connections of the entire program.

この発明は、このような従来技術の欠点乃至問題点にか
んがみてなされたものであって、このような欠点及び問
題点を除去するとともに、能率的に開発プログラムのデ
バッグができるディスプレイ装置を用いたプログラム検
査方式を提供することを特徴とする 特に、ここで提供するプログラム検査方式は、プログラ
ムステップ数が比較的小さい、小規模プログラムの開発
に適するものである。
The present invention has been made in view of the drawbacks and problems of the prior art, and provides a display device that eliminates these drawbacks and problems and allows efficient debugging of development programs. In particular, the program checking method provided herein is suitable for developing small-scale programs with a relatively small number of program steps.

しかして、上記目的を達成するための構成上から見るこ
の発明の特徴は、いわゆる、CRTディスプレイを具え
るディスプレイ装置を用いて行なうものであって、プロ
グラムをデバッグする際に検出される各種のスタブにつ
いて、定義を行なったテストプログラムを備えていて、
テスト対象のコンパイルリスト又はそのアッセンブルリ
ストをCRTディスプレイの画面上に表示し、かつ、キ
ーボードから入力された実行番地指定信号及び起動信号
に応じて、前記テストプログラムのもとに、指定された
実行番地の範囲で前記テスト対象プログラムを実行して
、その実行過程における各実行アドレスと実行状態を示
す情報とテストの結果得られる前記スタブに対応する情
報とを、それぞれ前記画面上の対応する表示エリアに表
示するか、又はこれとは独立の画面上に表示する検査方
式にある。
Accordingly, the feature of the present invention seen from a configuration point of view for achieving the above object is that it is carried out using a display device equipped with a so-called CRT display, and various stubs detected when debugging a program are used. It has a test program that defines the
A compile list to be tested or an assemble list thereof is displayed on the screen of a CRT display, and an execution address specified under the test program is displayed in response to an execution address designation signal and a start signal input from the keyboard. The test target program is executed within the range of , and information indicating each execution address and execution state in the execution process and information corresponding to the stub obtained as a result of the test are displayed in the corresponding display area on the screen. There are inspection methods that display the information on a separate screen.

このように構成すれば、キーボードの操作と、これに対
応するCRTディスプレイの表示とにより、求めるデー
タが簡単に視覚情報として得られ、同時に、コンパイル
リスト又はアッセンブルリス 3− トが表示されているので、そのつき合せも容易に行える
。その結果として、プログラムのデバッグ効率の向上を
図ることができる。しかも、CRTディスプレイ上のデ
ータは、必要に応じて、各画面対応にプリントアウトで
きるので、デバッグ履歴を残すことができることにもな
る。
With this configuration, the desired data can be easily obtained as visual information by operating the keyboard and displaying the corresponding CRT display, and at the same time, the compile list or assemble list is displayed. , and the correspondence can be done easily. As a result, program debugging efficiency can be improved. Moreover, since the data on the CRT display can be printed out for each screen as necessary, it is also possible to keep a debugging history.

次に、この発明の実施例について、図面を用いて詳細に
説明する。
Next, embodiments of the present invention will be described in detail using the drawings.

第2図は、この発明を適用した一実施例のディスプレイ
装置を用いたプログラム検査装置の外観。
FIG. 2 is an external view of a program inspection device using a display device according to an embodiment of the present invention.

図であシ、第3図は、そのプログラム検査方式のブロッ
ク図、そして、第4図、第5図は、CRTディスプレイ
の画面の表示状態を、それぞれ示す説明図である。
FIG. 3 is a block diagram of the program inspection method, and FIGS. 4 and 5 are explanatory diagrams showing the display state of the CRT display screen, respectively.

ここで、第2図に見る如く、プログラム検査装置10は
、いわゆる、ディスプレイ装置であって、CRTディス
プレイ11とキーボード12とから構成されている。
Here, as shown in FIG. 2, the program inspection device 10 is a so-called display device, and is composed of a CRT display 11 and a keyboard 12.

CRTディスプレイ11の画面上には、それぞれコンパ
イルリスト又はアッセンブルリストのプ 4− ログラムステートメントを表示するエリア16と、メモ
リ・レジスタの内容変化表示エリア14、アドレス位置
表示エリア15、そして、プログラムのテストの結果得
られるスタブに対応する情報等を表示するメツセージエ
リア16とがある。なお、17は、カーソル位置を示す
もので、プログラムの実行に応じて、その実行に対応す
るステートメントの位置に移動する。
On the screen of the CRT display 11, there are an area 16 for displaying program statements of a compile list or an assemble list, an area 14 for displaying changes in memory/register contents, an address position display area 15, and a program test area 15. There is also a message area 16 that displays information and the like corresponding to the resulting stub. Note that 17 indicates the cursor position, and as the program is executed, the cursor moves to the position of the statement corresponding to the execution.

一方、キーボード12には、テストプログラムの制御下
において、テスト対象プログラムに起動をかけるスター
トキー等のファンクションキーと、アドレス等を設定す
るテン・キー及びファンクションキーとを具えるほか、
画面等をスクロールするなどの、ディスプレイ装置一般
に、具えている各種のファンクションキ一群を具えてい
る。
On the other hand, the keyboard 12 includes function keys such as a start key for starting the test program under the control of the test program, and numeric keys and function keys for setting addresses, etc.
Display devices generally include a group of various function keys, such as scrolling a screen.

ここで、CRTディスプレイ11の内部には、CRTデ
ィスプレイに対する各種回路を含めて、第3図に示すプ
ログラム検査システム20が内蔵されている。
Here, a program inspection system 20 shown in FIG. 3 is built inside the CRT display 11, including various circuits for the CRT display.

第3図に見る如く、この検査システム20は、マイクロ
プロセッサを主体とした演算処理部21がバス22によ
り、入出力インタフェース25を介して、キーボード1
2からの入力信号を受けるとともに、CRTディスプレ
イ11には出力信号を送出する。さらに、バス22を介
しC1メインメモリ26に記憶されているCRT表示プ
ログラム群23nと、テストプログラム24と、テスト
対象プログラム24aとを読み出して、実行する。
As shown in FIG. 3, in this inspection system 20, an arithmetic processing unit 21 mainly composed of a microprocessor is connected to a keyboard 1 via a bus 22 and an input/output interface 25.
It receives an input signal from the CRT display 11 and sends an output signal to the CRT display 11. Furthermore, the CRT display program group 23n, test program 24, and test target program 24a stored in the C1 main memory 26 are read out via the bus 22 and executed.

ここで、表示プログラム23aは、第2図に示すCRT
ディスプレイ11の画面を形成するプログラムであり、
表示プログラム23bは、第4図に示すメインメモリの
内容を表示するための画面を形成するプログラムである
。この他、第5図に示す画面を形成する表示プログラム
等、各種の表示プログラムが、表示プログラム群23n
として設けられているものである。
Here, the display program 23a is a CRT shown in FIG.
A program that forms the screen of the display 11,
The display program 23b is a program that forms a screen for displaying the contents of the main memory shown in FIG. In addition, various display programs such as a display program forming the screen shown in FIG. 5 are included in the display program group 23n.
It is established as

ここで、演算処理部21は、プログラム実行指示部21
aとプログラム実行制御部21bと、キーボード12か
らの指令信号の内容を記憶する指令情報記憶部21cと
を有している。ここに1プログラム実行指示部21aは
、指令情報記憶部21cの内容とテストプログラム24
の実行結果に応じて、メインメモリ23に記憶されてい
る各種プログラムの中から実行すべきプログラムを選定
して、起動要求ブロックを作り出す。
Here, the arithmetic processing unit 21 includes a program execution instruction unit 21
a, a program execution control section 21b, and a command information storage section 21c that stores the contents of command signals from the keyboard 12. Here, the 1-program execution instruction section 21a inputs the contents of the command information storage section 21c and the test program 24.
Depending on the execution result, a program to be executed is selected from among the various programs stored in the main memory 23, and an activation request block is created.

生成した起動要求ブロックは、プログラム実行制御部2
1bに渡され、プログラム実行制御部21bは、テスト
プログラム240制御下で、この起動要求ブロックに応
じて、所定のプログラムを実行する。ここで、実行プロ
グラム中に、指令情報記憶部21cのデータ参照命令が
あると、この命令からインタフェース回路25を介して
、割込み信号を受けると、キーボード12からの信号を
受けて、これをデコードし、指令情報記憶部21cに、
所定の情報として、記憶するものである。
The generated startup request block is sent to the program execution control unit 2.
1b, and the program execution control unit 21b executes a predetermined program under the control of the test program 240 in response to this startup request block. Here, if there is an instruction to refer to data in the command information storage section 21c in the execution program, when an interrupt signal is received from this instruction via the interface circuit 25, a signal from the keyboard 12 is received and decoded. , in the command information storage section 21c,
This information is stored as predetermined information.

さて、テストプログラム24の構成例としては、O8提
供の標準サブルーチンと、例えば、プロセス制御のプロ
グラムを検査する場合には、プロセ−7= ス制御用の標準サブルーチンに、それぞれ標準スタブ(
stab:  プログラムにおける傷)定義を行なった
標準テストシステムを設けることになる。
Now, as an example of the configuration of the test program 24, when testing a standard subroutine provided by O8 and, for example, a process control program, a standard stub (7) is added to the standard subroutine for process control.
stab: a flaw in the program) A standard test system will be established.

ここで、ソフトウェアとしてのモジュール未登録のもの
、ハードウェアとして未実装のブロックについては、ス
タブ定義によシ処理し、テストの際に、システムの内部
にアクセスのかかるととを防止する。
Here, unregistered software modules and unimplemented hardware blocks are processed using stub definitions to prevent access to the inside of the system during testing.

なお、デバッグ対象となるテスト対象プログラムは、す
でに、文法上の誤りがないものであって、デバッグ対象
のプログラムが使用するファイル。
Note that the test target program to be debugged is a file that already has no grammatical errors and is used by the program to be debugged.

テーブル等は、標準化されたものを使用し、そのインタ
フェースも統一されたものであると仮定する。
It is assumed that tables and the like are standardized and their interfaces are also unified.

また、第3図には、特別に図示していないが、メインメ
モリ23には、CRTディスプレイ12の一般的な制御
プログラムも、当然具備しているものである。
Although not specifically shown in FIG. 3, the main memory 23 naturally also includes a general control program for the CRT display 12.

次に、第3図に示す検査システムについて、全体的な動
作を説明する。
Next, the overall operation of the inspection system shown in FIG. 3 will be explained.

−8= まず、キーボード12よシ、ファンクションキーを押下
して、テストプログラム24に起動をかける。そして、
メインメモリ23上の表示プログラム23aに基づき、
第2図に示す如き画面をCRTディスプレイ上に表示さ
せる。
-8= First, press the function key on the keyboard 12 to start the test program 24. and,
Based on the display program 23a on the main memory 23,
A screen as shown in FIG. 2 is displayed on the CRT display.

ここで、カーソルを移動して、例えば、アドレス位置表
示エリア15に位置付けして、ストップすべきプログラ
ムの相対アドレスをキーインするか、又はカーソルを実
行すべきステートメントの位置まで移動して、スタート
キーを入力する(このとき同時にアドレス位置表示エリ
ア15に内容が表示される)と、これらの信号は、イン
タフェース回路25を介して、演算処理部21に送出さ
れ、指令情報記憶部21cに、入力信号に応じた情報が
セットされる。そして、このセット情報をプログラム実
行指示部21aが参照して、プログラム実行制御部21
bに、所定の起動プログラム情報を送出して、デバッグ
対象プログラムであるプログラム24aが起動されて、
指定された番地までの処理が実行される。
Here, you can move the cursor to, for example, position it in the address position display area 15 and key in the relative address of the program to be stopped, or move the cursor to the position of the statement to be executed and press the start key. When input (at this time, the contents are simultaneously displayed in the address position display area 15), these signals are sent to the arithmetic processing unit 21 via the interface circuit 25, and are stored in the command information storage unit 21c as input signals. The corresponding information will be set. Then, the program execution instruction unit 21a refers to this set information, and the program execution control unit 21
The program 24a, which is the program to be debugged, is started by sending predetermined startup program information to b.
Processing up to the specified address is executed.

このとき、キーボード上の7アンクシヨンキ一操作で一
般のディスプレイ装置と同様に、各表示エリアに表示さ
れる情報を、順次ステップ表示することができる。しか
し、このようなキー操作をしないときには、一定の速度
で表示が進行して、画面上のアドレス位置表示エリア1
5に示されたストップすべきアドレス位置まで、自動的
に画面がスクロールアップされ、最終結果状態が、各表
示エリアである、プログラムステートメント表示エリア
13.メモリ・レジスタの内容変化表示エリア14.ア
ドレス位置表示エリア15に、それぞれ表示される。
At this time, the information displayed in each display area can be displayed step by step in the same manner as in a general display device by operating one of the seven keys on the keyboard. However, when such key operations are not performed, the display progresses at a constant speed and the address position display area 1 on the screen
The screen is automatically scrolled up to the stop address position shown in 5, and the final result state is each display area, program statement display area 13. Memory register contents change display area 14. They are each displayed in the address position display area 15.

なお、ここで、一定のステップごと自動的に実行させて
、順次、結果を表示して、スクロールして行くようにし
て、ブレイクキーの押下信号による特定位置で、この自
動ステップを停止させるように構成してもよい。
In addition, here, we will automatically execute a certain number of steps, display the results one by one, scroll through them, and stop this automatic step at a specific position by the press signal of the break key. may be configured.

ここに、スクロールアップする速度は、人の目で判る程
度に設定することによシ、デバッグ能率を向上させるこ
とができる。
Here, debugging efficiency can be improved by setting the speed of scrolling up to a level that is visible to the human eye.

ところで、自動スクロールモードにするか、オフライン
で、順次、キーボード12からの入力信号によシ、各実
行ステップを表示させるかは、デバッグする際に、あら
かじめ所定のファンクションキーをキーボード12から
入力することにょシ、定められるように構成する。この
ようなキーボード12からの入力情報は、すべて、指令
情報記憶部21cに記憶される。
By the way, whether to set the automatic scroll mode or display each execution step offline sequentially according to input signals from the keyboard 12, it is necessary to input a predetermined function key from the keyboard 12 in advance when debugging. Nyoshi, configure as determined. All such input information from the keyboard 12 is stored in the command information storage section 21c.

ここで、キーボード12から、メモリ及びレジスタの内
容表示のファンクションキー情報が入力されると、その
指令情報が記憶部21cに記憶されて、これを受けて、
プログラム実行指示部21aが、こんどは、表示プログ
ラム23bを起動させる信号を発生して、表示プログラ
ム23bに基づいて、第4図に示すような画面60を形
成する。
Here, when function key information for displaying the contents of the memory and registers is input from the keyboard 12, the command information is stored in the storage section 21c, and in response to this,
The program execution instruction unit 21a then generates a signal to start the display program 23b, and forms a screen 60 as shown in FIG. 4 based on the display program 23b.

第4図は、テーブルとして、各メモリ、レジスタの内容
を対応表示するものであって、第1のエリア31は、メ
モリ上のアドレス位置を示すもので、第2のエリア32
は、アドレス位置に対応して、そのメモリ上のデータを
表示するものであり、−11− 第3のエリア33は、内部レジスタの各内容を表示する
ものである。
FIG. 4 shows the contents of each memory and register as a table, in which the first area 31 shows the address position on the memory, and the second area 32 shows the contents of each memory and register.
The area 33 displays the data on the memory corresponding to the address position, and the third area 33 displays the contents of the internal registers.

さらに、メインメモリ23における、テスト対象プログ
ラムの内容を、直接参照したいときには、対応するファ
ンクションキーを押すことにより、対応する表示プログ
ラムが起動されて、第5図に示すテーブルの形式で、画
面66として形成する。
Furthermore, when it is desired to directly refer to the contents of the test target program in the main memory 23, by pressing the corresponding function key, the corresponding display program is started and a screen 66 is displayed in the form of a table shown in FIG. Form.

なお、第5図において、34は、アドレス表示エリアを
示すものであり、35は、メインメモリ23の対応領域
のデータそのものを表示するエリアである。
In FIG. 5, numeral 34 indicates an address display area, and numeral 35 indicates an area in which the data itself in the corresponding area of the main memory 23 is displayed.

ところで、これら表示データの表示形式は、16進で表
示するものであるが、直接、2進のXX1 //。
By the way, the display format of these display data is in hexadecimal, but directly in binary XX1 //.

気0〃情報で表示してもよく、また、10進表示であっ
てもよい。ここに、データの表示形式は、問うものでは
ない。
It may be displayed as 0 information, or it may be displayed in decimal notation. Here, the display format of the data does not matter.

ここで、テスト対象プログラム24aが実行されている
ステートメントに対しては、カーソルが順次移動して、
これを表示するとともに、その部分の色表示を変更する
ことにより、他の部分と分−12− けて、明示するようにすることが好ましい。
Here, the cursor moves sequentially to the statements on which the test target program 24a is being executed.
It is preferable to display this and to clearly distinguish it from other parts by changing the color display of that part.

以上の如き、動作において、デバッグ対象であるテスト
対象プログラム24aに誤りが発見されたり、コンパイ
ル過程に誤シがあった場合には、その場において、表示
状態をストップさせて、カーソルを修正したい情報エリ
アに合せて、キーボード12上から新しいデータを入力
することになる。このことにより、直ちに、修正するも
のである。ここで、修正した情報は、キーボード12上
にあるリターンキー等の割込みキーを押下することによ
シ、演算処理部21に送出されて、プログラムの修正が
なされる。このとき、メモリ・レジスタの内容変化表示
エリア14には、修正前のものと修正後のものがI O
LD 、 NEW Jという表示の下に対比され、表示
される。ところで、デバッグプログラムのテスト中にお
いてスタブがあると、これは、メツセージエリア16に
表示されて、プログラム24aの実行は、中断されるこ
とになる。
In the above operations, if an error is discovered in the test target program 24a to be debugged or an error is found in the compilation process, the display state is stopped on the spot and the cursor is corrected. New data will be input from the keyboard 12 according to the area. This will be corrected immediately. Here, the corrected information is sent to the arithmetic processing section 21 by pressing an interrupt key such as a return key on the keyboard 12, and the program is corrected. At this time, the content change display area 14 of the memory register shows the content before modification and the content after modification.
They are compared and displayed under the indications LD and NEW J. By the way, if a stub is found during testing of the debug program, it will be displayed in the message area 16 and the execution of the program 24a will be interrupted.

また、プログラムチェック異常とか、ループ現象などの
異常が発生した時には、異常発生箇所を色替えし、例え
ば、赤色表示にして、フリッカさせる。そ!〜で、この
異常原因を、前記メツセージエリア16に表示するよう
にする。この時、ループ発生の場合は、アドレス対アド
レスを、併せて、メツセージ情報として表示するもので
ある。
Further, when an abnormality such as a program check abnormality or a loop phenomenon occurs, the abnormality location is changed in color, for example, displayed in red and flickered. So! In ~, the cause of this abnormality is displayed in the message area 16. At this time, if a loop occurs, the address pair address is also displayed as message information.

デパック履歴を残す場合は、必要に応じて、CRTディ
スプレイ11上の画面データをプリンタに打ち出すこと
によシ可能である。
If the depacking history is to be left, it can be done by outputting the screen data on the CRT display 11 to a printer, if necessary.

また、実77+i例では、テスト対象プログラムのコン
パイルリスト又はアッセンブルリストを表示して、デパ
ックを行なうようにしているが、これらと同時に、同−
画面又は別画面に、ソースプログラムを表示して、ソー
スプログラム自体のデノぐラグを行なうようにすること
もできるものである。
In addition, in the actual 77+i example, the compile list or assemble list of the program to be tested is displayed and depacked.
It is also possible to display the source program on a screen or a separate screen so that the source program itself can be decoded.

以上、詳述して来たが、この発明にあっては、CRTの
画面上に、コンパイルリスト又は、アッセンブルリスト
を表示するとともに、各実行アドレスと内部メモリ又は
内部レジスタの内容を実行状態を示す情報として表示で
きるエリアを画面上に設け、さらには、スタブに対応す
る情報を表示するメツセージエリアを設けているので、
視覚的にデバッグができ、プログラム全体の繋がりを見
ながらデバッグでき、デバッグ作業の効率の向上とソフ
トウェア生産性の向上を図ることができる。
As described above in detail, in this invention, a compile list or an assemble list is displayed on the CRT screen, and each execution address and the contents of internal memory or internal registers are displayed to indicate the execution state. There is an area on the screen that can be displayed as information, and there is also a message area that displays information corresponding to the stub, so
You can debug visually, and you can debug while looking at the connections of the entire program, improving the efficiency of debugging work and software productivity.

まだ、スタブ機能を利用しているので、精度のよいデバ
ッグが回部であり、ノ・−トコビーを活用することによ
り、デバッグの記録を採ることができる。さらに、メモ
リ及びレジスタの内容及び内容変化を順次追跡調査がで
き、しかも、モジュールごとに、これが可能となる、い
わゆるモジュールトレースをすることができるものであ
る。
Since the stub function is still used, accurate debugging is the only part of the process, and debugging records can be kept by using Notebook. Furthermore, it is possible to sequentially trace and investigate the contents and changes in contents of memories and registers, and moreover, it is possible to carry out so-called module tracing, which makes it possible to do this for each module.

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

第1図は、従来のプログラムデバッグ用コンソール図、
第2図は、この発明を適用したプログラム検査装置の外
観図、第3図は、そのプログラム検査方式のブロック図
、第4図及び第5図は、それぞれ、CRTディスプレイ
の画面の表示状態の説明図である。 10・・プログラム検査装置、11・・・CRTディス
プレイ、12・・・キーボード、16・・・プログラム
ステートメント表示エリア、14・・・メモリ・レジス
タの内容変化表示エリア、15・・・アドレス位置表示
エリア、21・・・演算処理部、21a・・・プログラ
ム実行指示部、21b・・・プログラム実行制御部、2
1c・・・指令情報記憶部、24・・・テストプログラ
Figure 1 is a conventional program debugging console diagram.
FIG. 2 is an external view of a program inspection device to which the present invention is applied, FIG. 3 is a block diagram of its program inspection method, and FIGS. 4 and 5 are explanations of the display state of a CRT display screen, respectively. It is a diagram. 10...Program inspection device, 11...CRT display, 12...Keyboard, 16...Program statement display area, 14...Memory/register content change display area, 15...Address position display area , 21... Arithmetic processing section, 21a... Program execution instruction section, 21b... Program execution control section, 2
1c... Command information storage unit, 24... Test program

Claims (1)

【特許請求の範囲】[Claims] 計算機とキーボード付きのCRTディスプレイ装置を接
続して成り、テスト対象のプログラムを前記計算機で遂
行時に検出される各種のスタブに対応したテストプログ
ラムを備え、前記テスト対象のプログラムに対するコン
パイルリスト又はアッセンブルリストを前記CRTディ
スプレイの画面上に表示し、かつ、キーボードから入力
された実行番地指定信号及び起動信号に応じて、前記テ
ストプログラムのもとに、指定された実行番地の範囲で
前記テスト対象のプログラムを実行して、その実行過程
における各実行アドレスと、実行状態を示す情報と、テ
ストの結果得られる前記スタブに対応する情報とを、前
記画面上又はこれとは独立の画面上に表示することを特
徴とするディスプレイ装置を用いたプログラム検査方式
It consists of a computer connected to a CRT display device with a keyboard, is equipped with a test program corresponding to various stubs detected when a program to be tested is executed by the computer, and has a compile list or an assemble list for the program to be tested. The program to be tested is executed within the specified execution address range based on the test program in response to an execution address designation signal and a start signal displayed on the screen of the CRT display and input from the keyboard. executing the test, and displaying each execution address in the execution process, information indicating the execution state, and information corresponding to the stub obtained as a result of the test on the screen or on a screen independent from this. A program inspection method using a distinctive display device.
JP58004748A 1983-01-14 1983-01-14 Program testing method using display device Pending JPS59128652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58004748A JPS59128652A (en) 1983-01-14 1983-01-14 Program testing method using display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58004748A JPS59128652A (en) 1983-01-14 1983-01-14 Program testing method using display device

Publications (1)

Publication Number Publication Date
JPS59128652A true JPS59128652A (en) 1984-07-24

Family

ID=11592528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58004748A Pending JPS59128652A (en) 1983-01-14 1983-01-14 Program testing method using display device

Country Status (1)

Country Link
JP (1) JPS59128652A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62214447A (en) * 1986-03-10 1987-09-21 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Performance testing system for interactive system program
JPS63640A (en) * 1986-06-19 1988-01-05 Fujitsu Ltd Execution control system for partial unit of data flow
JPH0322040A (en) * 1989-06-19 1991-01-30 Fuji Electric Co Ltd Program debugging backup method
JPH04132058U (en) * 1991-05-21 1992-12-07 東海アルミ箔株式会社 Composite materials for food packaging and storage bags

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62214447A (en) * 1986-03-10 1987-09-21 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Performance testing system for interactive system program
JPS63640A (en) * 1986-06-19 1988-01-05 Fujitsu Ltd Execution control system for partial unit of data flow
JPH0322040A (en) * 1989-06-19 1991-01-30 Fuji Electric Co Ltd Program debugging backup method
JPH04132058U (en) * 1991-05-21 1992-12-07 東海アルミ箔株式会社 Composite materials for food packaging and storage bags

Similar Documents

Publication Publication Date Title
JP2753500B2 (en) An improved software debugging system and method for debugging code specifically in a multi-architecture environment
JP2003015906A (en) Remote debugging method and device
US20070174037A1 (en) Multiple-microcontroller emulation system, multiple-microcontroller integrated development environment, and method for the same
JPS59128652A (en) Program testing method using display device
JPS62113244A (en) Program test device
JPH10133914A (en) Computer system and device input / output simulator
JP2909685B2 (en) measuring device
JPS61249149A (en) Program tracing device
JPH04145544A (en) Debugging device
JP2659366B2 (en) Debugging method and device
JPS5968034A (en) Input and output port simulator for microcomputer developing device
JPH11219209A (en) General-purpose PLC offline simulation device
JPH11191072A (en) Debug break processing method and debug processor
JPH06101045B2 (en) Data flow type information processing device simulation device
JPS6292034A (en) Program debugging device
JPH05204698A (en) Debugger processing system
JPS5870361A (en) Input controlling system
JPH0695910A (en) Interactive debugging control system for abnormality processing
JPS6277656A (en) Program debugging system
JPH02148335A (en) Device testing system for data processing system
JPH07160525A (en) emulator
JPH11306042A (en) Software development support device and debugging method
McCann et al. Microprocessor product design: The role of the development system
JPS6370178A (en) Tester
JPH05120063A (en) Debugging system for microprocessor and debugging panel for the same