JPS6045455B2 - Program progress indicator - Google Patents

Program progress indicator

Info

Publication number
JPS6045455B2
JPS6045455B2 JP52065692A JP6569277A JPS6045455B2 JP S6045455 B2 JPS6045455 B2 JP S6045455B2 JP 52065692 A JP52065692 A JP 52065692A JP 6569277 A JP6569277 A JP 6569277A JP S6045455 B2 JPS6045455 B2 JP S6045455B2
Authority
JP
Japan
Prior art keywords
program
contents
block
register
executed
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
Application number
JP52065692A
Other languages
Japanese (ja)
Other versions
JPS54840A (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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP52065692A priority Critical patent/JPS6045455B2/en
Publication of JPS54840A publication Critical patent/JPS54840A/en
Publication of JPS6045455B2 publication Critical patent/JPS6045455B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 本発明は、プログラム制御の計算機がプログラムを実行
していく順序を二次元画面に表示するプログラム進行状
態表示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program progress display device that displays the order in which a program is executed by a program-controlled computer on a two-dimensional screen.

複数のプログラムを多重処理している計算機のプログ
ラムの処理状態の監視やプログラム・デバッグを行なつ
たりするには、その計算機のプログラム進行状態を知ら
なければならない。
In order to monitor the program processing status of a computer that is multi-processing multiple programs or to perform program debugging, it is necessary to know the program progress status of the computer.

従来プログラムの進行状況を表わすにはソフトウェア
による方法やハードウェアによる方法などがある。
Conventionally, there are methods using software and methods using hardware to represent the progress of a program.

ソフトウェアによる方法としてトレース機能をもつプロ
グラム(以下トレーサと略称する)が知られている。ト
レーサは計算機がトレーサの対象となるプログラムの命
令を実行していく たびに計算機の内部状態をラインリ
ンタやキャラクタディスプレイ装置に表示していく。あ
るいは分岐命令を実行するたびにその命令のメモリ格納
番地と分岐命令の種類をキャラクタディスプレイ装置に
順次表示していく。これらの方法では詳しい情報が得ら
れるのでエラー個所がおおよそ見当がついている時には
有効である。しカルながらエラー個所が分らない場合に
は、情報が膨大であるし、列記式の表現法であるため、
エラー個所を見付けるのは難カルい。またトレースの対
象となるプログラムの1命令実行するたびにトレーサの
命令を数多く実行するので、プログラムの処理速度が非
常に遅くなる。それに伴ない、プログラムが周辺装置と
データを授受するタイミングが実際の動作とは異なるの
で、そのプログラム実行時に生ずる計算機と周辺装置と
のタイミングエラーによる誤動作を発見することができ
ない。 ハードウェアによる方法として、計算機が実行
していく命令のメモリ格納番地を順次二次元画面Iこ表
示する方法や、画面の一方の軸の目盛をメモリ格納番地
の上位ビットの大きさに対応させ他方の軸の目盛を下位
ビットの大きさに対応させて、計算機が命令を実行して
いくに従い命令のメモリ格納番地に対応した画面の一点
をドット表示する門方法などがある。
As a software method, a program having a tracing function (hereinafter abbreviated as tracer) is known. The tracer displays the internal state of the computer on the line printer or character display device each time the computer executes the instructions of the program targeted by the tracer. Alternatively, each time a branch instruction is executed, the memory storage address of the instruction and the type of branch instruction are sequentially displayed on the character display device. Since these methods provide detailed information, they are effective when you have a rough idea of the location of the error. If you are unable to find the error location, there is a huge amount of information and the expression method is an enumeration, so
It is difficult to find the error location. Furthermore, since a large number of tracer instructions are executed every time one instruction of the program to be traced is executed, the processing speed of the program becomes extremely slow. As a result, the timing at which the program exchanges data with the peripheral device differs from the actual operation, making it impossible to detect malfunctions due to timing errors between the computer and the peripheral device that occur when the program is executed. Hardware-based methods include sequentially displaying the memory storage addresses of the instructions that the computer executes on a two-dimensional screen; There is a method in which the scale of the axis corresponds to the size of the lower bits, and as the computer executes the instructions, a point on the screen corresponding to the memory storage address of the instruction is displayed as a dot.

これらの方法では、正常なプログラムの流れにおいては
実行するはずのない番地とその前後のプログラムの流れ
や、誤動作した前後のプログラムの流れは簡単に表示で
きる。誤動作の原因は往々にして誤動作よりはるか以前
に存在するので、この方法では原因となる所が表示され
ない場合が多い。又ループしている途中からのプログラ
ムの流れを知りたい場合、どの番地から表示するかを指
定するトリガの設定も難かしい。本発明の目的は、上記
のような問題点を解決するために、計算機が実行中のプ
ログラムを乱すことなく、かつ大記憶容量のメモリを必
要とせずにプログラムの進行状態を把握し易い表示方法
で二次元画面に表示する装置を提供することにある。以
下図面を参照して本発明を詳細に説明する。プログラム
の進行状態を知るには、計算機が命令を実行していく順
序(以下ステップ数と略す)と実行した命令のメモリ格
納番地が分かればよい。実際には、全ての命令を1つず
つ確めなくてもメモリに連絡して格納されている命令の
あつまり(以下ブロックと略す)にプログラムを分割し
て、それらのブロック内の命令が実行される順序をブロ
ック名の順序で表わすことによつてもプログラム進行状
態が分かる。このブロックとして分割する命令のあつま
りは、最小のものとして1命令であり、普通は小ループ
に対応し、長いものとしてはサブルーチン単位が考えら
れる。あるいは、プログラムを均等な長さに分割し各々
をブロックとする方法も考えられる。誤りの種類によつ
てプログラムの分割法は異なるので、どの命令からどの
命令までを1ブロックにするかの指定は、本装置の外部
から行なう。各ブロックが実行されていく順序を表わす
例を第1図に示す。
With these methods, it is possible to easily display addresses that should not be executed in a normal program flow, the program flow before and after that address, and the program flow before and after a malfunction. Because the cause of a malfunction often exists long before the malfunction, this method often does not show the cause. Furthermore, if you want to know the flow of a program from the middle of a loop, it is difficult to set a trigger to specify from which address the program should be displayed. SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, it is an object of the present invention to provide a display method that allows a computer to easily understand the progress of a program without disturbing the program being executed and without requiring a large memory capacity. The purpose of this invention is to provide a device for displaying images on a two-dimensional screen. The present invention will be described in detail below with reference to the drawings. To know the progress state of a program, it is sufficient to know the order in which the computer executes instructions (hereinafter referred to as the number of steps) and the memory storage address of the executed instructions. In reality, a program is divided into a collection of instructions (hereinafter referred to as blocks) stored in memory without having to check all the instructions one by one, and the instructions in those blocks are executed. The program progress status can also be understood by expressing the order of block names. The minimum set of instructions to be divided into blocks is one instruction, which usually corresponds to a small loop, and the longest one can be considered to be a subroutine unit. Alternatively, it is also possible to divide the program into equal lengths and use each block as a block. Since the method of dividing a program differs depending on the type of error, designation of which instructions are to be made into one block is made from outside the apparatus. FIG. 1 shows an example of the order in which each block is executed.

第1図では16ケのブロックが表示−されている。画面
の一方の軸方向にブロック別を表わし、他方の軸にはス
テップ数を対応させる。第1図ては1ブロック内の命令
を実行している間は、そのブロックに対応した縦軸方向
の位置とその時のステップ数に対応した横軸方向の位置
に、1つのブロック内の命令を続けて実行した回数に比
例した長さの横棒で表示する。次にステップ数が増加し
他のブロック内の命令を始めると、そのブロックに対応
した縦軸方向の位置とステップ数に対応した横軸方向の
位置に、実行した回数に比例した長さの横棒で表示する
。表示しているブロック以外の命令を実行した場合はそ
のステップ数に対応した場所は空白となる。このような
表示をするのに必要な情報として、計算機が実行した命
令が振り分けられているブロック名とそのブロックが続
けて何回実行されたのかを示すステップ数とがある。
In FIG. 1, 16 blocks are displayed. Each block is represented along one axis of the screen, and the number of steps corresponds to the other axis. In Figure 1, while an instruction within one block is being executed, the instruction within one block is placed at a position along the vertical axis corresponding to that block and a position along the horizontal axis corresponding to the number of steps at that time. Displayed as a horizontal bar with a length proportional to the number of consecutive executions. Next, when the number of steps increases and instructions in another block are started, a horizontal line with a length proportional to the number of executions will be placed at the vertical axis position corresponding to that block and at the horizontal axis position corresponding to the number of steps. Display as a bar. If an instruction other than the block being displayed is executed, the location corresponding to the number of steps becomes blank. Information necessary for such a display includes the name of the block to which the instructions executed by the computer are distributed and the number of steps indicating how many times the block has been executed consecutively.

第2図に記憶様式の一例を示す。このメモリは1ワード
が8ビットで構成されている。1つのブロックを続けて
実行したステップ数を表わすのに必要なビット数が増減
するので、1つのブロック名と実行したステップ数を表
わすのに必要な語数は不定である。
Figure 2 shows an example of a memory format. One word of this memory is composed of 8 bits. Since the number of bits required to represent the number of steps successively executed in one block increases or decreases, the number of words required to represent the name of one block and the number of steps executed is indeterminate.

各ブロックの最後の語の先頭ビットは1で、その他の語
は先頭ビットが0である。各ブロックの先頭語にはブロ
ック名とそれに対応したステップ数の1部あるいは全部
が格納されている。従つて第2図の例では、ブロック名
が(4)100)2でありこのブロック内で続けて(B
lr・・・Blqblp・・・Blnbl′・・・Bl
lblO)2回のステップを実行した事を表わす。なお
ステップ数の上位ビットと下位ビットを逆転してある。
これは、なるべく短い語数で表現するための一方法であ
る。次に実行するブロック名は(1101)2であり要
したステップ数は(B2x・・・B2sb,・・・B2
qb2p・・・B2nb2′・・・B2lb2O)2回
である。なお数字の添字は何進数であるかを示している
。以上述べた様な方法により、膨大な情報を、少ない記
憶容量で記憶し、プログラム進行状態を簡単に把握でき
る様になる。第3図A,bは本発明の一実施例を示す図
である。
The first bit of the last word in each block is 1, and the first bits of the other words are 0. Part or all of the block name and the corresponding step number are stored in the first word of each block. Therefore, in the example shown in Figure 2, the block name is (4)100)2, and within this block, (B
lr...Blqblp...Blnbl'...Bl
lblO) indicates that the step has been executed twice. Note that the upper and lower bits of the step number are reversed.
This is one way to express it in as few words as possible. The block name to be executed next is (1101)2, and the number of steps required is (B2x...B2sb,...B2
qb2p...B2nb2'...B2lb2O) twice. Note that the subscript of the number indicates the base number. By using the method described above, a huge amount of information can be stored with a small storage capacity, and the program progress status can be easily grasped. FIGS. 3A and 3B are diagrams showing an embodiment of the present invention.

同図において±旦は問題となるプログラムを実行してい
るプログラム制御の計算機であり、2旦がプログラム状
態表示装置である。11はプログラム・カウンタであり
、計算機±■が実行している命令のメモリ格納番地を示
している。
In the figure, 1 and 2 are program-controlled computers that are executing the program in question, and 2 and 3 are program status display devices. 11 is a program counter, which indicates the memory storage address of the instruction being executed by the computer ±■.

制御線101はプログラム・カウンタへのアクセス信号
であり、このアクセス信号によつてプログラム・カウン
タの内容が更新されていく。制御線102は、計算機↓
■の内部状態をクリアするシステムクリア線である。制
御線101にアクセス信号が出るたびに、カウンタ50
の内容は+1加算器51によつて1を加える。このカウ
ンタ50の内容は信号線501を通してデータ処理部4
0に入る。レジスタ30は制御線101のアクセス信号
に同期してプログラムカウンタの内容を取り込みADR
Sとしてデータ処理部40に出力する。コンクールパネ
ル60では、各ブロックが計算機10の主メモリの何番
地から何番地迄に対応しているのかを外部から指定して
その内容をデータ処理部40へ出力する。90はメモリ
であり、アドレスレジスタ80はメモリ90の番地を指
す。
A control line 101 is an access signal to the program counter, and the contents of the program counter are updated by this access signal. The control line 102 is the computer ↓
■This is a system clear line that clears the internal state. Every time an access signal is output to the control line 101, the counter 50
1 is added to the contents by the +1 adder 51. The contents of this counter 50 are transmitted to the data processing unit 4 through a signal line 501.
Enters 0. The register 30 takes in the contents of the program counter in synchronization with the access signal on the control line 101 and performs ADR.
It is output to the data processing unit 40 as S. The competition panel 60 specifies externally which address each block corresponds to in the main memory of the computer 10 and outputs the contents to the data processing section 40. 90 is a memory, and the address register 80 indicates the address of the memory 90.

41,42,61,92はレジスタである。41, 42, 61, and 92 are registers.

レジスタ42は1つ前のステップで実行した命令のブロ
ック名が格納されている。43,81は+1加算器であ
り、93は−1減算器である。
The register 42 stores the block name of the instruction executed in the previous step. 43 and 81 are +1 adders, and 93 is a -1 subtracter.

91はデータを定まつた記憶様式に変換するためのデー
タ変換部である。
Reference numeral 91 denotes a data converter for converting data into a predetermined storage format.

データ処理部40は、ADRSがどのブロックに対応し
ているかを調べる。
The data processing unit 40 checks which block the ADRS corresponds to.

1ステップ前とブロック名が同じならば、+1加算器4
3によつてレジスタ41の内容に1を加え、異なつてい
るならば、ブロック名とレジスタ41の内容をデータ変
換部91に供給し第2図の様な記憶様式に変換し、アド
レスレジスタ80が指定する番地のメモリ90に変換デ
ータを書き込む。
If the block name is the same as one step before, +1 adder 4
3 adds 1 to the contents of the register 41, and if they are different, the block name and the contents of the register 41 are supplied to the data converter 91 and converted into the storage format as shown in FIG. 2, and the address register 80 is Write the conversion data to the memory 90 at the specified address.

同時に、レジスタ41の内容をクリアする。次に取込部
の動作を説明する。
At the same time, the contents of the register 41 are cleared. Next, the operation of the capturing section will be explained.

コンクールパネル60からレジスタ61に、16ケのブ
ロックか計算機±■の主メモリのどの番地からどの番地
までに対応しているかを指定する。計算機1Uがプログ
ラムを実行する前にシステムクリア信号102を出力し
カウンタ50の内容やレジスタ41,61の内容、メモ
リ90の内容などをクリアする。計算機±立が現在実行
中の命令の主メモリ内格納番地を表わすプログラム・カ
ウンタ11の内容は制御線101に同期して変化してい
く。上述のように制御線101にアクセス信号が出力さ
れると、カウンタ50の内容に1を加えると共にレジス
タ30にプログラム・カウンタ11の内容を取り込む。
データ処理部40ではレジスタ61とレジスタ30の内
容とを比較して、現在実行中の命令がどのブロックに属
しているかを調べ、レジスタ42に一時記憶している1
ステップ前のブロック名と比較する。等しければレジス
タ41の内容に1を加える。異なつていれば、レジスタ
41の内容とブロック名を91のデータ変換部へ出力し
た後、レジスタ41の内容をクリアし、レジスタ42に
新しいブロック名を格納する。例えば第3ブロックの命
令を1回実行し、次に第0ブロックの命令を24回実行
すると托進数で 0301という信号を線401に
出力する。
The contest panel 60 specifies in the register 61 which address to which address of the main memory of the computer ±■ corresponds to the 16 blocks. Before the computer 1U executes a program, it outputs a system clear signal 102 to clear the contents of the counter 50, the contents of the registers 41 and 61, the contents of the memory 90, etc. The contents of the program counter 11, which represents the storage address in the main memory of the instruction currently being executed by the computer, changes in synchronization with the control line 101. When the access signal is output to the control line 101 as described above, 1 is added to the contents of the counter 50 and the contents of the program counter 11 are taken into the register 30.
The data processing unit 40 compares the contents of the register 61 and the register 30 to find out which block the currently executing instruction belongs to, and temporarily stores it in the register 42.
Compare with the block name before the step. If they are equal, 1 is added to the contents of register 41. If they are different, the contents of the register 41 and the block name are output to the data converter 91, the contents of the register 41 are cleared, and the new block name is stored in the register 42. For example, if the instruction in the third block is executed once and then the instruction in the zeroth block is executed 24 times, a signal of 0301 in the trigonometric number is output to the line 401.

データ変換部91ではデータ処理部40から送られて
きたステップ数の上位ビットと下位ビットこ をなら
びかえてブロック名に続ける。
The data conversion unit 91 rearranges the upper and lower bits of the step number sent from the data processing unit 40 and continues it with the block name.

このデータを先頭ビットから順に7ビットずつ区切る。
最後にはんぱなビットがあれば後3にOを加えて7ビッ
トとする。最後のワードには先頭ビットとして1を置き
、その他のワードには0を置く。このよ うにして第2
図の様な記憶様式に変換されたデータは先頭ワードから
順にメモリ90へ出力する。アドレスレジスタ80に1
を加え、レジスタ92から1を引く。レジスタ92の内
容が0になると出力を停止する。 第5図にブロック名
が(3)16″ステップ数が(19D)16回の場合の
データ変換例を示す。
This data is divided into 7-bit units starting from the first bit.
If there is a blank bit at the end, add O to the last 3 to make 7 bits. A 1 is placed as the first bit in the last word, and 0 is placed in the other words. In this way, the second
The data converted into the storage format shown in the figure is output to the memory 90 in order from the first word. 1 in address register 80
, and subtract 1 from register 92. When the contents of register 92 become 0, output is stopped. FIG. 5 shows an example of data conversion when the block name is (3) 16'' and the number of steps is (19D) 16.

同図からも明らかな様に、最後の語の内容がすべてOな
らばその語はなくす。その1つ前の語の内容もすべて0
ならばその語もなくす。以下同様にする。従つて状態を
表わすワード数は不定である。 メモリ90では、デー
タ変換部91から送られてきたデータを、アドレス・レ
ジスタ80で指定する番地に格納する。 再び第3図A
,bにおいてコンソール60は、表示を開始するステッ
プ数(以一μSTEPと略す)と横軸方向のきざみ幅(
以下Wと略す)をデータ処理部25とローカルメモリ3
5に出力する。
As is clear from the figure, if the content of the last word is all O, that word is deleted. The content of the word before it is also all 0.
If so, let's eliminate that word. Do the same below. Therefore, the number of words representing the state is undefined. The memory 90 stores the data sent from the data converter 91 at the address specified by the address register 80. Figure 3A again
, b, the console 60 determines the number of steps to start displaying (hereinafter abbreviated as μSTEP) and the step width in the horizontal axis direction (
(hereinafter abbreviated as W) are the data processing unit 25 and the local memory 3.
Output to 5.

データ処理部25は、メモリ90の内容を逆変換し、S
TEP.5Wから横軸方向の位置を計算しプロノック名
と共にローカルメモリ35に出力する。ローカルメモリ
35は現在表示中の画面の内容をデジタル量で記憶して
いる。画面の文字表示などの不変部分は固定記憶し、ブ
ロックの番地範囲、STEP.Wの値などはコンソール
60から書き込5み、グラフ表示する内容はデータ処理
部25から与えられる。DA変換回路45では、ローカ
ルメモリ35の内容を表示するためのアナログ信号(画
面の縦軸方向のバイアス電圧y1横軸方向のバイアス電
圧0x)を出力する。信号線453はZ信号であり、ド
ットの輝度変調信号である。二次元画面55では信号線
X,y,zに対応した位置に輝点表示し、文字あるいは
グラフを表示する。 レジスタ26はメモリ90のアド
レスレジスタである。
The data processing unit 25 inversely transforms the contents of the memory 90 and S
TEP. The position in the horizontal axis direction is calculated from 5W and output to the local memory 35 along with the professional knock name. The local memory 35 stores the contents of the currently displayed screen in digital form. Unchangeable parts such as character display on the screen are fixedly stored, and block address ranges, STEP. The value of W etc. is written 5 from the console 60, and the content to be displayed in a graph is given from the data processing section 25. The DA conversion circuit 45 outputs an analog signal (bias voltage y1 in the vertical axis direction of the screen, bias voltage 0x in the horizontal axis direction) for displaying the contents of the local memory 35. The signal line 453 is a Z signal, which is a dot brightness modulation signal. On the two-dimensional screen 55, bright spots are displayed at positions corresponding to the signal lines X, y, and z, and characters or graphs are displayed. Register 26 is an address register for memory 90.

レジスタ28はメモリ90からデータ処理部25に読み
出されたステップ数の合計が一時記憶されている。レジ
スタ28は、アドレスレジスタ26の内容0の時クリア
される。次に第1図の表示画面を例にして本実施例の動
作の説明をする。
The register 28 temporarily stores the total number of steps read from the memory 90 to the data processing section 25. Register 28 is cleared when the content of address register 26 is 0. Next, the operation of this embodiment will be explained using the display screen of FIG. 1 as an example.

システムクリア信号102が出力されると、すべてのレ
ジスタ類をクリアする。コンソールパネル60で各ブロ
ックの番地範囲とSTE,PlWの値などを指定すると
それらの値がデータ処理部25とローカルメモリ35に
出力される。ローカルメモリ35ではブロック名とその
番地範囲、STEPとWの値などをあらかじめ定められ
た番地に記憶する。データ処理部25は、メモリ90か
ら順に1ワードずつ取り出す。1ワードの先頭ビットが
0ならば続けてアドレスレジスタ26の内容に1を加え
て次のワードを読み出す。
When the system clear signal 102 is output, all registers are cleared. When the address range and STE, PlW values, etc. of each block are specified on the console panel 60, those values are output to the data processing section 25 and the local memory 35. The local memory 35 stores block names, their address ranges, STEP and W values, etc. at predetermined addresses. The data processing unit 25 sequentially retrieves one word from the memory 90. If the first bit of one word is 0, then 1 is added to the contents of the address register 26 and the next word is read.

以下同様にして、1ワードの先頭ビットが2になるまで
読み出す。第5図に示す様に、これら一群のワードから
前述した変換の逆変換を行ない、ブロック名とステップ
数を読み出す。
Thereafter, data is read in the same manner until the first bit of one word becomes 2. As shown in FIG. 5, the inverse transformation of the aforementioned transformation is performed on these groups of words, and the block name and step number are read out.

読み出したステップ数をレジスタ28の内容に加えて合
計ステップ数とする。データ処理部25はSTEPとw
から表示するステップ数の始めと終りの値を計算して、
レジスタ28の内容がこの範囲り入ると、表示する横棒
の長さと位置に対応した信号をローカルメモリ35に出
力し記憶させる。DA変換回路45は、ローカルメモリ
35の内容をアナログ信号に変換してバイアス電圧X,
yと輝度変調信号zとして出力する。
The read number of steps is added to the contents of the register 28 to obtain the total number of steps. The data processing unit 25 uses STEP and w.
Calculate the starting and ending values of the number of steps to display from
When the contents of the register 28 fall within this range, a signal corresponding to the length and position of the horizontal bar to be displayed is output to the local memory 35 and stored therein. The DA conversion circuit 45 converts the contents of the local memory 35 into an analog signal and outputs the bias voltages X,
y and a brightness modulation signal z.

二次画面55ではDA変換回路45から送られてくるX
,y,z信号に対応して文字あるいは横棒を表示する。
第1図の例では横軸方向のきざみ幅wを10に指定した
ので1目盛中に複数のブロックを表示することがある。
以上述べたように本発明によれば、プログラムの進行
状態をブロック化して二次元画面に表示することによつ
て、プログラムの大きな流れが瞬時に判読できる様にな
つた。
On the secondary screen 55, X sent from the DA conversion circuit 45
, y, and z signals are displayed.
In the example of FIG. 1, the increment width w in the horizontal axis direction is specified as 10, so a plurality of blocks may be displayed in one scale.
As described above, according to the present invention, by displaying the progress state of the program in blocks on a two-dimensional screen, it has become possible to instantly read the general flow of the program.

従つて従来のプログラム・デバッグ法では見付けにくか
つた、正常な流れを1部分だけ乱す様な誤りや、非常に
長いステップあるいは膨大なループを実行中に生ずる誤
りの発見が簡単になる。また複数のプログラムを多フ重
処理している計算機のモニタとしても役立つ。 本発明
は上記実施例に限定されるものではない。 上記実施例
では圧縮した記憶様式を用いたけれども、高速の大容量
記憶装置が使えるならば、各・ステップ毎にメモリ格納
番地を記憶したりプログラムが開始してから現在実行中
の命令までのステップ数の合計も同時に記憶してもよい
Therefore, it becomes easier to detect errors that disrupt only one part of the normal flow, which are difficult to find using conventional program debugging methods, or errors that occur during the execution of very long steps or huge loops. It is also useful as a monitor for computers that are processing multiple programs. The present invention is not limited to the above embodiments. Although a compressed storage format is used in the above embodiment, if a high-speed mass storage device is available, the memory storage address can be stored for each step, and the memory storage address for each step from the start of the program to the currently executed instruction can be stored. The total number may also be stored at the same time.

表示法も横表示に限らず、命令を実行していく各ブロ
ックの順序のみが重要であるならば、第6図に示す様な
点表示などが考えられる。
The display method is not limited to horizontal display; if only the order of the blocks in which instructions are executed is important, dot display as shown in FIG. 6 can be considered.

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

第1図は本発明装置による表示の一例を示す図、第2
図は本発明の装置で用いられる記憶様式の一例を示す図
、第3図A,bは本発明の一実施例を示す図、第4図及
び第5図は本発明装置のデータ変換の一例を示す図、第
6図は本発明装置による表示の他の例を示す図である。
FIG. 1 is a diagram showing an example of display by the device of the present invention, and FIG.
The figure shows an example of a storage format used in the device of the present invention, FIGS. 3A and 3B show an embodiment of the present invention, and FIGS. 4 and 5 are examples of data conversion by the device of the present invention. FIG. 6 is a diagram showing another example of display by the device of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1 プログラム制御方式の計算機のプログラム・カウン
タの内容を取り込む手段と、前記プログラム・カウンタ
の内容が変化した回数を計数する手段と、この手段によ
つて得られた計数値及び前記取り込まれたプログラム・
カウンタの内容を複数のブロックに区分した後予め定め
られた記憶様式へ変換して記憶する手段と、この記憶手
段の内容を表示する二次元画面を有する表示装置と、前
記記憶手段の内容をその一方の軸には前記プログラム・
カウンタの内容を前記ブロック毎に分類し、他方の軸に
はプログラム進行を表示させる手段とを備えたことを特
徴とするプログラム進行状態表示装置。
1 means for importing the contents of a program counter of a program control computer; means for counting the number of times the contents of the program counter have changed;
means for dividing the contents of the counter into a plurality of blocks and then converting the contents into a predetermined storage format for storage; a display device having a two-dimensional screen for displaying the contents of the storage means; On one axis is the program
A program progress state display device characterized by comprising means for classifying the contents of the counter into each of the blocks and displaying the program progress on the other axis.
JP52065692A 1977-06-06 1977-06-06 Program progress indicator Expired JPS6045455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52065692A JPS6045455B2 (en) 1977-06-06 1977-06-06 Program progress indicator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52065692A JPS6045455B2 (en) 1977-06-06 1977-06-06 Program progress indicator

Publications (2)

Publication Number Publication Date
JPS54840A JPS54840A (en) 1979-01-06
JPS6045455B2 true JPS6045455B2 (en) 1985-10-09

Family

ID=13294312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52065692A Expired JPS6045455B2 (en) 1977-06-06 1977-06-06 Program progress indicator

Country Status (1)

Country Link
JP (1) JPS6045455B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59148962A (en) * 1983-02-14 1984-08-25 Hitachi Denshi Ltd Monitoring device of memory data
JPS62217333A (en) * 1986-03-19 1987-09-24 Hitachi Ltd Tracing method for execution of program

Also Published As

Publication number Publication date
JPS54840A (en) 1979-01-06

Similar Documents

Publication Publication Date Title
JPH0756892A (en) Computer having vector arithmetic unit with mask
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
JPS6045455B2 (en) Program progress indicator
JPH10187484A (en) Simulator
JPS59116785A (en) Character/graphic information input display system
JPH0581087A (en) Processor monitoring system
Matta A Zenith Z-100 Emulator
JP2557366B2 (en) Input / output procedure converter
JP2845519B2 (en) Data path simulation device
JPH05312837A (en) Waveform display method and its device
JPH0112309Y2 (en)
JP2004145670A (en) Method and device for generating test bench, and computer program
JPS61193190A (en) Display controller
JP2509981B2 (en) Virtual storage controller
JP2721364B2 (en) Diagram editing device
JP2829051B2 (en) Character display method
JPS63197264A (en) Simulator
JPS6355646A (en) Controlling system for symbolic debugger
JPH11191072A (en) Debug break processing method and debug processor
JPH1027113A (en) Method and device for supporting development of firmware
JPH10149357A (en) Undo processor and undo processing method
JPS60260988A (en) Graphic display
JPH0311396A (en) Character display system
JPS61290546A (en) Tracing system for microprogram controller
JPS63240617A (en) Display procedure converting device