[go: up one dir, main page]

JPH0659928A - Array data display system by debugger - Google Patents

Array data display system by debugger

Info

Publication number
JPH0659928A
JPH0659928A JP4212529A JP21252992A JPH0659928A JP H0659928 A JPH0659928 A JP H0659928A JP 4212529 A JP4212529 A JP 4212529A JP 21252992 A JP21252992 A JP 21252992A JP H0659928 A JPH0659928 A JP H0659928A
Authority
JP
Japan
Prior art keywords
display
array
debugger
dot
displaying
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.)
Granted
Application number
JP4212529A
Other languages
Japanese (ja)
Other versions
JP2743727B2 (en
Inventor
Tsugiichi Shibata
次一 柴田
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 JP4212529A priority Critical patent/JP2743727B2/en
Publication of JPH0659928A publication Critical patent/JPH0659928A/en
Application granted granted Critical
Publication of JP2743727B2 publication Critical patent/JP2743727B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To improve the debugging efficiency of a program for storing much numerical operation in a large array and processing it by displaying an element having an array value larger than a previously specified threshold on a display as a black element. CONSTITUTION:A symbol table reading part 4 reads out a symbol table included in an object program 12. An address conversion part 5 converts an array name and an element value in the symbol table into a memory address. A memory access part 6 reads out the memory value of the specified address. A dot display part 7 displays the values of respective elements in an array specified by a command on a display 9 as the set of dots. When the values of respective elements are larger than the previously specified threshold, the display part 7 displays these elements on the display 9 as black dots. Thereby a user can roughly know which elements include meaningful values in array data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発は情報処理システムにおける
プログラムデバッグ方式に関し、特に大量のデータ配列
を持つプログロムの解析に関する。
This invention relates to a program debugging method in an information processing system, and particularly to analysis of a program having a large amount of data array.

【0002】[0002]

【従来の技術】従来大量のデータ配列を持つプログラム
の動作が意図したとおりでない場合は以下のようなデバ
ッグ方法が知られている。
2. Description of the Related Art Conventionally, the following debugging method is known when the operation of a program having a large amount of data array is not as intended.

【0003】(1)対象となるプログラムの中に配列デ
ータを表示するためのデパッグ行を挿入して再度実行を
行う方法。
(1) A method of inserting a depagu line for displaying sequence data in a target program and executing the program again.

【0004】(2)デバッガによってプログラムの動作
を途中で停止させ、デバッガのコマンドによって配列デ
ータの値を参照する方法。
(2) A method of stopping the operation of the program on the way by the debugger and referring to the array data value by the command of the debugger.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の方法で
は、以下のような問題点があったプログラムの中にデバ
ッグ行を挿入する従来の方式(1)では、参照したいデ
ータ配列が大量であってもデバッグ行の中の論理によっ
てある程度表示するデータを選択することが可能である
という利点があるが、表示するデータを変更したい場合
にはそのたびにプログラムの保守作業が繁雑になるとい
う問題点があった。
In the conventional method described above, the conventional method (1) of inserting a debug line in a program which has the following problems has a large data array to be referred to. However, there is an advantage that the data to be displayed can be selected to some extent by the logic in the debug line, but the problem is that the maintenance work of the program becomes complicated each time you want to change the data to be displayed. was there.

【0006】デバッガによってプログラムの動作を中断
させデバッガのコマンドによって配列データの値を参照
する従来の方法(2)では利用者がデバッガのコマンド
を指定してデータを参照するためプログラムを改造する
ような作業は不要であるという利点はあるが表示したい
データ配列が大量である場合には利用者がデータ配列を
指定して表示するため、多くのデータを一度に表示する
場合には利用者がそのたびにデバッグコマンドを入力し
なければならず、作業の効率が悪くなるという問題点が
ある。
In the conventional method (2) of interrupting the operation of the program by the debugger and referring to the value of the array data by the command of the debugger, the user modifies the program to specify the command of the debugger and refer to the data. Although there is an advantage that no work is required, when the data array to be displayed is large, the user specifies and displays the data array, so when displaying many data at once, There is a problem that the efficiency of the work is deteriorated because the debug command has to be input to.

【0007】本発明の目的は大量のデータ配列を持つプ
ログラムのデバッグを行う際にプログラムロジックを変
更することなく、しかも利用者がデバッガに対するコマ
ンドを簡単に入力して大量のデータ配列の内容を効率良
くアクセス可能とする方式を提供することである。
An object of the present invention is to efficiently input the contents of a large amount of data array without changing the program logic when a program having a large amount of data array is debugged and the user can easily input a command to the debugger. It is to provide a method that enables good access.

【0008】[0008]

【課題を解決するための手段】本発明のデバッガによる
配列データ表示方式は、デバッガの動作指示を行う入力
装置としてキーボード、ポインティングデバイスと、デ
バッガの応答を表示する出力装置としてビットマップデ
ィスプレイ装置を備えるコンピュータシステムにおい
て、コマンドを受け付けるコマンド入力部とオブジェク
トプログラムの中に存在するシンボルテーブルを読み込
むシンボルテーブル読み込み部と配列名と要素値を元に
メモリアドレスに変換するアドレス変換部と、指定され
たアドレスのめもりの値を読み込むメモリアクセス部と
ディスプレイ上にドットの集合として配列の値を表示す
るドット表示部とこれらを制御する主制御部とからな
る。
The array data display method by the debugger of the present invention comprises a keyboard and a pointing device as an input device for instructing the operation of the debugger, and a bitmap display device as an output device for displaying the response of the debugger. In a computer system, a command input section that receives commands, a symbol table reading section that reads the symbol table that exists in the object program, an address conversion section that converts the memory address based on the array name and element value, and a specified address It consists of a memory access unit for reading the memory value, a dot display unit for displaying array values as a set of dots on the display, and a main control unit for controlling these.

【0009】また、第2の本発明は、前記ドット表示部
が複数のドットをまとめて1つのドットとして表示する
機能を持つ。
In the second aspect of the present invention, the dot display section has a function of collectively displaying a plurality of dots as one dot.

【0010】また、第3の本発明は、上記ドット表示部
によって表示されているドットをポインディングデバイ
スによって選択すことでデータ表示を行う配列データ表
示部を持つ。
The third aspect of the present invention has an array data display section for displaying data by selecting dots displayed by the dot display section with a pointing device.

【0011】[0011]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0012】第1図は本発明のデバッガによるデータ表
示方式の構成図である。
FIG. 1 is a block diagram of a data display system by the debugger of the present invention.

【0013】第1図において、1は本発明のデバッガに
よる配列データ表示方式、2は本発明の各部の動作をコ
マンドによって制御する主制御部である。10は利用者
が本発明のデバッガによる配列データ表示方式1に対す
るコマンドを与えるキーボードである。11はキーボー
ド10と同様にコマンドを与えるポインティングデバイ
スである。9はデバッガ応答を表示するディスプレイ装
置である。3はキーボード10やパインディングデバイ
ス11からのコマンドを受け付けるコマンド入力部、4
はオブジェクトプログラム12の中からプログラム中に
含まれるシンボルの情報を取り出すシンボルテーブル読
込部、5はコマンド入力部3が入力したシンボル名がメ
モリ上のどのアドレスに存在するかを変換するアドレス
変換部、6は指定されたメモリアドレスの内容をメモリ
13から読み出すためのメモリアクセス部、7はコマン
ドで指定された配列の各要素の値をディスプレイ上の各
ドットに対応させ、あらかじめ指定したしきい値よりも
大きいときは黒く表示してディスプレイ上にドットの集
合として配列の内容を表示するドット表示部であるまた
第2の本発明ではドット表示部7は隣合う複数の配列要
素の値を1つのドットにまとめて表示する機能を持つ。
In FIG. 1, reference numeral 1 is an array data display method by the debugger of the present invention, and 2 is a main control unit for controlling the operation of each unit of the present invention by commands. A keyboard 10 is used by the user to give commands to the array data display method 1 by the debugger of the present invention. Reference numeral 11 is a pointing device which gives commands similarly to the keyboard 10. A display device 9 displays a debugger response. 3 is a command input section for receiving commands from the keyboard 10 and the pointing device 11, 4
Is a symbol table reading unit that extracts information of symbols included in the program from the object program 12, and 5 is an address conversion unit that converts at which address on the memory the symbol name input by the command input unit 3 exists. 6 is a memory access unit for reading the contents of the specified memory address from the memory 13, 7 is the value of each element of the array specified by the command is made to correspond to each dot on the display, Is large, the dot display section displays the contents of the array as a set of dots on the display in black, and in the second aspect of the present invention, the dot display section 7 displays the values of a plurality of adjacent array elements as one dot. Has a function to display collectively.

【0014】8は第3の本発明に含まれ、ドット表示部
7でディスプレイ9に表示されたドットの集合をポイン
ディングデバイス11で選択した部分の配列要素の値を
ドートではなく実際の値として編集しディスプレイ9に
表示するデータ表示部である。
Numeral 8 is included in the third aspect of the present invention, and the value of the array element at the portion where the dot set displayed on the display 9 in the dot display section 7 is selected by the pointing device 11 is used as the actual value instead of the dot. It is a data display unit which is edited and displayed on the display 9.

【0015】次に第2図を利用してドット表示部7がデ
ィスプレイ9に表示する際の配列とドットの関係につい
て説明する。
Next, the relationship between the array and the dots when the dot display section 7 displays on the display 9 will be described with reference to FIG.

【0016】第2図において2−1はディスプレイ上に
表示されるイメージであり、2−2は表示しようとする
データ配列の値を表形式で示している。
In FIG. 2, 2-1 is an image displayed on the display, and 2-2 is a table showing the values of the data array to be displayed.

【0017】2−2の表ではデータ配列A(10,10
0)の値は25であり、A(11,101)の値は45
であることを示している。本発明のデバッガによる配列
データ表示方式では2−2で示したデータ配列を利用者
が指定したしきい値によって2−1で示すようなドット
を黒くするかどうかによって表示する。表示の際に、た
て、横の軸を逆にすることも可能である。また第1の本
発明ではとなり合った4つの配列要素をしきい値によっ
て調べ、全体として黒くするかどうかを決めることがで
きる。となり合った何個の配列要素を選択するかは利用
者の指定によって変更可能である。
In the table of 2-2, the data array A (10,10
The value of 0) is 25, and the value of A (11,101) is 45.
Is shown. In the array data display method by the debugger of the present invention, the data array shown in 2-2 is displayed depending on whether the dots shown in 2-1 are blackened by the threshold value specified by the user. It is also possible to reverse the vertical axis when displaying. Further, in the first aspect of the present invention, four adjacent array elements can be examined by a threshold value and it can be decided whether or not to make black as a whole. The number of adjacent array elements to be selected can be changed by the specification of the user.

【0018】第3の本発明では2−1で表示されたドッ
トパターンをポインティングデバイスによって領域とし
て指定し、個々の配列要素番号とその値を調べることが
可能である。
In the third aspect of the present invention, the dot pattern displayed at 2-1 can be designated as an area by a pointing device, and individual array element numbers and their values can be examined.

【0019】[0019]

【発明の効果】以上説明したように本発明は利用者プロ
グラムのデバッグ時にプログラムに含まれる大規模な配
列データを個々の要素番号と値として利用者に参照させ
るだけでなく、ディスプレイ上のドットの集まりとして
表現したので、おおまかに配列を調べて意味のある値が
配列データのどの要素に含まれているのかが簡単に利用
者に把握でき、かつその領域を指定して実際の値を参照
できるため、大量の数値演算を大規模配列に格納して処
理するプログラムのデバッグが効率良く行なえるという
効果がある。
As described above, the present invention not only allows the user to refer to the large-scale array data included in the program as individual element numbers and values when debugging the user program, but also to Since it is expressed as a collection, the user can easily check the array to see which element of the array data contains a meaningful value, and specify the area and refer to the actual value. Therefore, there is an effect that a program that stores and processes a large number of numerical operations in a large-scale array can be efficiently debugged.

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

【図1】本発明の構成図FIG. 1 is a block diagram of the present invention

【図2】ドット表示と配列データの関連図[Figure 2] Relationship between dot display and array data

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

1 デバッガによる配列データ表示方式 2 主制御部 3 アドレス変換部 4 シンボルテーブル読込部 5 アドレス変換部 6 メモリアクセス部 7 ドット表示部 8 データ表示部 9 ディスプレイ 10 キーボード 11 ポインティングデバイス 12 オブジェクトプログラム 13 メモリ 1 Array data display method by debugger 2 Main control unit 3 Address conversion unit 4 Symbol table reading unit 5 Address conversion unit 6 Memory access unit 7 Dot display unit 8 Data display unit 9 Display 10 Keyboard 11 Pointing device 12 Object program 13 Memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 利用者の作成したプログラムに含まれる
データの内容を表示、変更するデバッガの表示方式であ
って、デバッガの動作指示を行う入力装置としてキーボ
ード、ポインティングデバイスを備え、デバッガの応答
を表示する出力装置としてビットマップディスプレイ装
置を備えるコンピュータシステムにおいて、利用者がキ
ーボードやパインティンゲデバイスから入力したコマン
ドを受け付けるコマンド入力部と、オブジュクトプログ
ラムの中に存在するシンボルテーブルを読み込むシンボ
ルテーブル読込み部と、コマンド入力部で得た配列名と
要素値を元にメモリアドレスに変換するアドレス変換部
と指定されたアドレスのメモリの値を読み込むメモリア
クセス部と配列の各要素をディスプレイ上の1ドットに
対応させ、あらかじめ指定したしきい値よりも大きい値
を持つ要素を黒く表示してディスプレイ上にドットの集
合として配列の値を表示するドット表示部とこれらを制
御する主制御部とからなるデバッガによる配列データ表
示方式
1. A display method of a debugger for displaying and changing the content of data included in a program created by a user, comprising a keyboard and a pointing device as an input device for instructing the operation of the debugger, and displaying the response of the debugger. In a computer system equipped with a bitmap display device as an output device for displaying, a command input section for receiving a command input by a user from a keyboard or a pintinge device, and a symbol table for reading a symbol table existing in an object program. 1 unit on the display for reading, a memory access unit for reading the memory value of the specified address and an address conversion unit for converting the memory address based on the array name and element value obtained by the command input unit Corresponding to the dot, Therefore, the array data display by the debugger that consists of a dot display unit that displays the values of the array as a set of dots on the display by displaying the elements that have a value greater than the specified threshold in black, and the main control unit that controls these method
【請求項2】 前記ドット表示部は複数のドットをまと
めて1つのドットとして表示する機能を持ち、より多く
の配列要素の値の分布をディスプレイ上に表示可能とす
るデバッガによる配列データ表示方式
2. An array data display method by a debugger, wherein the dot display unit has a function of displaying a plurality of dots collectively as one dot, and can display a distribution of values of more array elements on a display.
【請求項3】 前記ドット表示部によって表示されてい
るドットをポインティングデバイスによって選択するこ
とによって実際の配列要素番号と値を表示するデータ表
示部を持つデバッガによる配列データ表示部
3. An array data display unit by a debugger having a data display unit for displaying the actual array element number and value by selecting the dot displayed by the dot display unit with a pointing device.
JP4212529A 1992-08-10 1992-08-10 Array data display method by debugger Expired - Lifetime JP2743727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4212529A JP2743727B2 (en) 1992-08-10 1992-08-10 Array data display method by debugger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4212529A JP2743727B2 (en) 1992-08-10 1992-08-10 Array data display method by debugger

Publications (2)

Publication Number Publication Date
JPH0659928A true JPH0659928A (en) 1994-03-04
JP2743727B2 JP2743727B2 (en) 1998-04-22

Family

ID=16624186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4212529A Expired - Lifetime JP2743727B2 (en) 1992-08-10 1992-08-10 Array data display method by debugger

Country Status (1)

Country Link
JP (1) JP2743727B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438713B1 (en) 1998-02-27 2002-08-20 Hitachi, Ltd. Debugger for support of debugging of program, array data displaying method in debugger, and recording medium having array data displaying program in debugger

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438713B1 (en) 1998-02-27 2002-08-20 Hitachi, Ltd. Debugger for support of debugging of program, array data displaying method in debugger, and recording medium having array data displaying program in debugger

Also Published As

Publication number Publication date
JP2743727B2 (en) 1998-04-22

Similar Documents

Publication Publication Date Title
CN101118643B (en) Method and system for debugging a graphics pipeline subunit
US4646077A (en) Video display controller system with attribute latch
JP2892978B2 (en) Apparatus and method for generating software trace
US6973642B2 (en) Multi-dimensional programming device and multi-dimensional programming method
JP2743727B2 (en) Array data display method by debugger
JPS62174824A (en) How to print screen display information
JPH01244502A (en) Pc program display system
JPH01177680A (en) Image edit processor
JPH0361212B2 (en)
JP2862369B2 (en) Image display control device
JPH08335249A (en) Document reader
JP3572054B2 (en) Graphic processing apparatus and method
KR100359309B1 (en) Method for applicating memory for repeting graphic pattern
JPH086928A (en) Method and device for processing document
JPH01123369A (en) Presentation device
deAsmundis et al. On-line data acquisition using a multiprocessor architecture
JPH0330062A (en) Document processor
JPS60245037A (en) Crt display system
JPH0118454B2 (en)
JPH09114899A (en) Table data processing device
JPH04332074A (en) Method and device for processing character
JPH05233198A (en) Inter-window corresponding data converter
JPH03228174A (en) Character processor
JPH03248235A (en) Bit pattern display processing method in debugging system
JPH04338841A (en) debugger device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980106