JPH0628171A - Data display method - Google Patents

Data display method

Info

Publication number
JPH0628171A
JPH0628171A JP4207159A JP20715992A JPH0628171A JP H0628171 A JPH0628171 A JP H0628171A JP 4207159 A JP4207159 A JP 4207159A JP 20715992 A JP20715992 A JP 20715992A JP H0628171 A JPH0628171 A JP H0628171A
Authority
JP
Japan
Prior art keywords
data
card
program
displayed
name
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
JP4207159A
Other languages
Japanese (ja)
Inventor
Yoshihisa Yamanaka
良久 山中
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.)
Nissin Electric Co Ltd
Original Assignee
Nissin 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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP4207159A priority Critical patent/JPH0628171A/en
Publication of JPH0628171A publication Critical patent/JPH0628171A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To display data on a selected two-dimensional array nearby a program in an easy-to-see state by selecting the data name in the program on a screen. CONSTITUTION:Once the data name in the program 2 on the screen 1 is selected, the data on the two-dimensional array having the selected data name 3 are divided into unit data by rows or columns and distributed to respective cards 7 given indexes of the rows or columns; and a card holder 6 where the respective cards 7 are put one over another so that the indexes 8 of the respective cards 7 and the contents of the foremost card 7 can be seen, is displayed nearby the program 2, and one selected card 7 in the holder 6 is displayed at the foremost position by selecting its index 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラム開発のデバ
ッグ等に利用される2次元配列データのデータ表示方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data display method of two-dimensional array data used for debugging program development.

【0002】[0002]

【従来の技術】従来、種々のプログラム開発におけるデ
バッグは、多くの場合、ソースレベルで行われる。この
ソースレベルのプログラムはC言語等の高級なプログラ
ム言語で記述される。
2. Description of the Related Art Conventionally, debugging in developing various programs is often performed at the source level. This source level program is written in a high-level programming language such as C language.

【0003】そして、デバッグ中はCRT等にソースレ
ベルのプログラムを表示しながらその実行,修正等がく
り返えされる。また、デバッグ中には、プログラム中の
各データ名(変数名)のデータにつき、例えばプログラ
ムの実行によりどのように変化したかを確認する必要が
生じる。
During debugging, the source level program is displayed on the CRT or the like, and its execution and modification are repeated. Further, during debugging, it becomes necessary to confirm how the data of each data name (variable name) in the program is changed, for example, by executing the program.

【0004】そして、データの選択,表示は、通常、コ
マンドラインからの変数名の入力により実行され、選択
されたデータがM(行)×N(列)の2次元配列データ
であれば、表示画面の一部又は全体にメモリから読出さ
れたM×Nのデータの数字列が表示される。
The selection and display of data is usually executed by inputting a variable name from the command line. If the selected data is two-dimensional array data of M (rows) × N (columns), it is displayed. A numerical string of M × N data read from the memory is displayed on a part or the whole of the screen.

【0005】[0005]

【発明が解決しようとする課題】前記従来の2次元配列
データのデータ表示方法の場合、コマンドラインからデ
ータ名を入力しなければならず、しかも、選択されたデ
ータのM×Nの数字を羅列表示するのみであるため、デ
ータの状態を把握することが容易でなく、その管理,解
折等が能率よく行えない問題点がある。また、データ表
示の際に表示画面が切換わってプログラム表示が中断す
ると、プログラムとデータとを同時に見ることができ
ず、不便であり、効率の高いプログラム開発が行えない
問題点もある。
In the conventional data display method for two-dimensional array data, a data name must be entered from the command line, and M × N numbers of the selected data are listed. Since it is only displayed, there is a problem in that it is not easy to grasp the state of the data, and the management, solution, etc. cannot be performed efficiently. Further, if the display screen is switched during the data display and the program display is interrupted, the program and the data cannot be viewed at the same time, which is inconvenient and there is a problem that efficient program development cannot be performed.

【0006】本発明は、コマンドラインからデータ名を
入力することなく、画面上のプログラム中のデータ名の
選択により、選択されたプログラム名の2次元配列デー
タをプログラムの近傍に見易く表示することを目的とす
る。
According to the present invention, by selecting the data name in the program on the screen without inputting the data name from the command line, the two-dimensional array data of the selected program name can be easily displayed near the program. To aim.

【0007】[0007]

【課題を解決するための手段】前記の目的を達成するた
めに、本発明のデータ表示方法においては、プログラム
言語により記述された画面上のプログラムのデータ名選
択により、選択されたデータ名の2次元配列のデータを
行又は列の各単位データに分割し、各単位データを行又
は列の番号の見出しを付けた各カードに分配し、各カー
ドの見出し及び最前の位置のカードの内容が見えるよう
に各カードを重ねた形状のカードホルダをプログラムの
近傍に表示し、カードホルダの各カードの見出しの選択
により、選択されたカードを最前の位置に位置させる。
In order to achieve the above object, in the data display method of the present invention, the data name of the selected data name is selected by selecting the data name of the program on the screen described in the programming language. The dimensional array data is divided into row or column unit data, and each unit data is distributed to each card with a row or column number heading, and the heading of each card and the contents of the card at the front position can be seen. A card holder having a shape in which each card is stacked is displayed near the program, and the selected card is positioned at the frontmost position by selecting the heading of each card in the card holder.

【0008】[0008]

【作用】前記のように構成された本発明のデータ表示方
法の場合、データ名が画面上のプログラムから選択さ
れ、選択されたデータ名の2次元配列のデータは1行又
は1列の単位データずつ各カードに分配される。
In the data display method of the present invention configured as described above, the data name is selected from the program on the screen, and the data of the two-dimensional array of the selected data name is the unit data of one row or one column. Each is distributed to each card.

【0009】そして、各カードは行又は列の番号の見出
しが付けられ、各カードの見出し及び最前のカードの内
容が見えるように重ねたカードホルダがプログラムの近
傍に表示される。しかも、各カードの見出しの選択によ
り、選択されたカードが最前のカードになるように、カ
ードホルダの各カードの順序が変わる。
Each card is labeled with a row or column number, and an overlapping card holder is displayed near the program so that the header of each card and the contents of the front card can be seen. Moreover, by selecting the heading of each card, the order of each card in the card holder is changed so that the selected card becomes the frontmost card.

【0010】[0010]

【実施例】1実施例について、図1ないし図4を参照し
て説明する。図1において、1はCRT等の表示画面、
2は画面1のほぼ左半分に上下方向にスクロール自在に
ウィンドウ表示されたプログラムであり、C言語で記載
されている。3はプログラム1に含まれた3×3の2次
元配列のデータのデータ名(変数名)である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment will be described with reference to FIGS. In FIG. 1, 1 is a display screen such as a CRT,
Reference numeral 2 denotes a program displayed in a window in the upper left half of the screen 1 so as to be vertically scrollable, and is written in C language. 3 is a data name (variable name) of the data of the 3 × 3 two-dimensional array included in the program 1.

【0011】4は画面1の右上に表示されたデータ選択
ウィンドウであり、プログラム2の各データ名のアイコ
ン5を表示する。6は画面1の右下に表示されたガード
ホルダであり、選択された2次元配列のデータの1行又
は1列ずつのカード7を前後方向に重ねた形状に表示す
る。8は各カード7の凸状の見出しであり、各カード7
それぞれの行又は列の0番からの番号が付されている。
そして、画面1はアイコン,ワークステーション等のコ
ンピュータ装置により、プログラムのデバッグ処理中に
図3,図4の表示処理が実行されて表示される。
Reference numeral 4 is a data selection window displayed on the upper right of the screen 1, and displays an icon 5 for each data name of the program 2. Reference numeral 6 denotes a guard holder displayed at the lower right of the screen 1, which displays the cards 7 of one row or one column of the selected two-dimensional array of data in a shape in which they are stacked in the front-rear direction. 8 is a convex heading for each card 7.
Each row or column is numbered from 0.
Then, the screen 1 is displayed by the display device shown in FIGS. 3 and 4 being executed by the computer device such as the icon and the workstation during the debugging process of the program.

【0012】つぎに、プログラム2中の所望の2次元配
列のデータを図1の”data[3][3]”の3×3
のデータ名3のデータとし、このデータを選択,表示す
る際の手順等を説明する。まず、あるデバッグ状態でマ
ウスにより、図1の破線に示すように所望のデータ名3
の範囲を指定した後、同図の矢印カーソル9に示すよう
にそのデータ名3をダブルクリックし、データ名3を選
択してコンピュータ装置に通知すると、図3のステップ
S1,S2を介してステップS3の選択アイコン表示に
移行する。
Next, the data of a desired two-dimensional array in the program 2 is converted into 3 × 3 of "data [3] [3]" in FIG.
Assuming that the data has the data name 3 of, the procedure for selecting and displaying this data will be described. First, with a mouse in a certain debug state, the desired data name 3
After designating the range, the data name 3 is double-clicked as shown by the arrow cursor 9 in the figure, and the data name 3 is selected and notified to the computer device. Then, steps S1 and S2 in FIG. The display moves to the selection icon display in S3.

【0013】そして、データ名3の通知に基づき、コン
ピュータ装置は”Whatch”というウィンドウ4を
メモリから読出して形成(オープン)する。また、ステ
ップS4に移行してメモリに登録された2次元配列デー
タのシンボルマークのアイコン5を読出す。
Then, based on the notification of the data name 3, the computer device reads out the window 4 called "Watch" from the memory and forms (opens) it. Further, the process proceeds to step S4 and the icon 5 of the symbol mark of the two-dimensional array data registered in the memory is read out.

【0014】さらに、ステップS5に移行し、読出した
アイコン5に通知されたデータ名3を付してウィンドウ
4に表示する。
Further, the process proceeds to step S5, and the read icon 5 is displayed on the window 4 with the notified data name 3 attached.

【0015】このとき、ウィンドウ4には最新のアイコ
ン5を先頭にして複数のアイコン5が選択順に表示され
る。また、ステップS6により現在アクティブでないデ
ータについてはその階調を下げて表示色をグレーにし、
各データのアクティブ/ノンアクティブを見易く表示す
る。
At this time, a plurality of icons 5 are displayed in the window 4 in the order of selection, with the latest icon 5 at the top. Further, in step S6, the gradation of the data which is not currently active is lowered to make the display color gray,
The active / non-active of each data is displayed in an easy-to-see manner.

【0016】そして、選択アイコン表示の処理を終了す
ると、ステップS7のアイコン選択の判断に移行し、こ
のとき、マウスによりウィンドウ4の現在アクティブな
データ名3のアイコン5が矢印カーソル9で指定され、
ダブルクリックされて選択されると、このステップS7
を肯定(YES)で通過してステップS8に移行する。
このステップS8により選択されたアイコン5が現在選
択中か否かを判定し、選択中でなければ否定(NO)で
通過してステップS9のカードホルダ表示に移行する。
When the process of displaying the selected icon is completed, the process moves to the determination of icon selection in step S7. At this time, the icon 5 of the currently active data name 3 in the window 4 is designated by the arrow cursor 9 by the mouse,
When selected by double-clicking, this step S7
In the affirmative (YES), the process proceeds to step S8.
It is determined whether or not the icon 5 selected in step S8 is currently selected, and if not selected, the process proceeds to negative (NO) and the display moves to the card holder display in step S9.

【0017】そして、このカードホルダ表示において
は、まず、ステップS10により、選択されたデータ名
3のデータの現在の各値(数値)をメモリ或いはレジス
タから読出す。つぎに、ステップS11に移行し、読出
した各数値を例えば1行ずつの単位データに分割し、各
カード7に分配して割当てる。
In this card holder display, first, in step S10, the current respective values (numerical values) of the data of the selected data name 3 are read from the memory or the register. Next, in step S11, each read numerical value is divided into unit data, for example, one row, and the divided numerical values are distributed and assigned to each card 7.

【0018】そして、各1行を第0,1,2行とする
と、最初は図1に示すように、第0行のカード7を最前
のカードとして各カード7を前後方向に重ねた形状のカ
ードホルダ6の表示データを形成し、この表示データに
基づき、プログラム2の近傍に、第0行を最前のカード
とするカードホルダ6のウィンドウを同時表示する。こ
のとき、各カード7の見出し8が重ならないようにずれ
て設けられているため、画面1上に各カード7の見出し
8の0,1,2の数字及び第0行の3つの数値のみがコ
ンパクトに見易く表示される。
Assuming that each row is the 0th, 1st and 2nd rows, first, as shown in FIG. 1, the card 7 in the 0th row is used as the frontmost card and each card 7 is stacked in the front-rear direction. The display data of the card holder 6 is formed, and the window of the card holder 6 with the 0th line as the frontmost card is simultaneously displayed in the vicinity of the program 2 based on this display data. At this time, since the headlines 8 of the respective cards 7 are provided so as not to overlap with each other, only the numbers 0, 1 and 2 of the headings 8 of the respective cards 7 and the three numerical values of the 0th line are displayed on the screen 1. The display is compact and easy to see.

【0019】そして、このカードホルダ6はマウスによ
り見出し8を選択的にダブルクリックすると、このクリ
ックにより選択されたカード7が最前に位置するように
各カード7の重ね順序が変わる。すなわち、図1の状態
から番号1のカード7の見出し8を選択すると、カード
ホルダ6の表示は図2に示すように番号0のカード7の
前に番号1のカード7が位置した表示に変わり、第1行
の3つの数値が表示される。
In the card holder 6, when the headline 8 is selectively double-clicked by the mouse, the stacking order of the cards 7 is changed so that the card 7 selected by this click is located at the front. That is, when the heading 8 of the card 7 of number 1 is selected from the state of FIG. 1, the display of the card holder 6 is changed to the display in which the card 7 of number 1 is positioned before the card 7 of number 0 as shown in FIG. , The three numbers in the first line are displayed.

【0020】そして、プログラム2の近傍に2次元配列
のデータが例えば1行ずつのカードホルダ形式で同時に
表示され、しかも、マウスによる各カード7の見出し8
の選択により最前のカードが自在に変わり、各1行の内
容を自在に確認できる。ところで、カードホルダ6の表
示中にステップS8の判定が行われるときは、このステ
ップS8を肯定で通過してステップS12に移行し、カ
ードホルダ6のウィンドウを閉じて画面1上から消す。
Then, the data of the two-dimensional array is simultaneously displayed in the vicinity of the program 2 in a card holder format, for example, one line at a time, and the heading 8 of each card 7 is displayed by the mouse.
By selecting, the front card can be changed freely and the contents of each line can be checked freely. By the way, when the determination in step S8 is made while the card holder 6 is being displayed, this step S8 is passed in the affirmative and the process proceeds to step S12 to close the window of the card holder 6 and erase it from the screen 1.

【0021】そして、ステップS7の判定が否定になる
か、ステップS9〜S11又はS12の処理が終了する
かすると、つぎに図4のステップS13に移行する。こ
のステップS13により、選択中のアイコン5のデータ
内容が直前のデバッグの実行で変化したか否かを判定す
る。
When the determination in step S7 becomes negative or the processing in steps S9 to S11 or S12 ends, the process proceeds to step S13 in FIG. By this step S13, it is determined whether or not the data content of the selected icon 5 has changed in the immediately preceding execution of debugging.

【0022】そして、データ内容が変化したときはステ
ップS14に移行し、表示中のカードホルダ6の最前の
カード7の内容を最前の内容(数値)に更新する。さら
に、ステップS13の判定が否定になるか、ステップS
14の処理が終わるかすると、ステップS15に移行し
てデバッグを起動し、デバッグ処理を進める。
When the data content has changed, the process proceeds to step S14, and the content of the frontmost card 7 of the displayed card holder 6 is updated to the frontmost content (numerical value). Further, whether the determination in step S13 is negative or step S
When the process of 14 is completed, the process proceeds to step S15, debug is started, and the debug process is advanced.

【0023】そして、ステップS15から再び図3のス
テップS1に戻り、このステップS1からの処理をくり
返す。したがって、プログラム2の所望のデータが、そ
のデータ名3をコマンドラインから入力する代わりにマ
ウス操作でプログラム2のデータ名3を選択して容易に
行える。
Then, the process returns from step S15 to step S1 of FIG. 3 again, and the processing from step S1 is repeated. Therefore, desired data of the program 2 can be easily selected by selecting the data name 3 of the program 2 by operating the mouse instead of inputting the data name 3 from the command line.

【0024】しかも、選択された2次元配列のデータは
プログラム2の近傍にカードホルダ6のウィンドウ表示
により、例えば1行ずつに区切って選択自在に表示さ
れ、その内容を容易に把握して解折できる。さらに、こ
の実施例ではデータ選択ウィンドウ4を表示し、このウ
ィンドウ4のアイコン選択により、選択されたアクティ
ブなアイコン5のデータをカードホルダ6で表示するた
め、例えば同じデータ名のデータをくり返し選択するよ
うなときに極めて便利である。なお、カードホルダ6の
各カード7に2次元配列データの各1列ずつを分配し、
選択されたデータをその列単位で表示するようにしても
よいのは勿論である。
Moreover, the data of the selected two-dimensional array is displayed in the vicinity of the program 2 by the window display of the card holder 6 so that it can be freely divided into, for example, lines, and the contents can be easily grasped and broken. it can. Further, in this embodiment, the data selection window 4 is displayed, and the data of the selected active icon 5 is displayed on the card holder 6 by selecting the icon of this window 4, so that, for example, the data of the same data name is repeatedly selected. It is extremely convenient in such cases. In addition, each column of the two-dimensional array data is distributed to each card 7 of the card holder 6,
Of course, the selected data may be displayed in the column unit.

【0025】[0025]

【発明の効果】本発明は、以上説明したように構成され
ているため、以下に記載する効果を奏する。画面1上の
プログラム2から選択されたデータ名3の2次元配列の
データを1行又は1列の単位データずつ各カード7に分
配し、各カード7に行又は列の番号の見出し8を付け、
各見出し8及び最前のカード7の内容が見えるように重
ねたカードホルダ6をプログラム2の近傍に表示し、し
かも、各カード7の見出し8の選択により、選択された
カードが最前のカードになるように、カードホルダ6の
各カード7の表示順序を変えたため、従来のようにコマ
ンドラインからデータ名を入力することなく、プログラ
ム中のデータ名の指定で所望のデータを選択でき、しか
も、選択したデータをプログラムの近傍に1行又は1列
ずつに区切って選択自在に見易く表示することができ、
データの把握,解折等が極めて容易に行え、効率の高い
プログラム開発が実現する。
Since the present invention is configured as described above, it has the following effects. The data of the two-dimensional array having the data name 3 selected from the program 2 on the screen 1 is distributed to each card 7 by unit data of one row or one column, and a heading 8 of the row or column number is attached to each card 7. ,
The card holder 6 is displayed in the vicinity of the program 2 so that the contents of each heading 8 and the frontmost card 7 can be seen. Moreover, by selecting the heading 8 of each card 7, the selected card becomes the frontmost card. As described above, since the display order of the cards 7 in the card holder 6 is changed, desired data can be selected by designating the data name in the program without inputting the data name from the command line as in the conventional case. The displayed data can be divided into rows or columns in the vicinity of the program and can be freely displayed for easy viewing.
Data can be grasped and broken up very easily, and highly efficient program development is realized.

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

【図1】本発明のデータ表示方法の1実施例の表示画面
の説明図である。
FIG. 1 is an explanatory diagram of a display screen according to one embodiment of a data display method of the present invention.

【図2】図1のカードホルダの表示変化の説明図であ
る。
FIG. 2 is an explanatory diagram of a display change of the card holder of FIG.

【図3】図1の表示処理の第1のフローチャートであ
る。
FIG. 3 is a first flowchart of the display process of FIG.

【図4】図3に続く表示処理の第2のフローチャートで
ある。
FIG. 4 is a second flowchart of display processing continued from FIG.

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

1 画面 2 プログラム 3 データ名 6 カードホルダ 7 カード 8 見出し 1 screen 2 program 3 data name 6 card holder 7 card 8 heading

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラム言語により記述された画面上
のプログラムのデータ名選択により、選択されたデータ
名の2次元配列のデータを行又は列の各単位データに分
割し、該各単位データを行又は列の番号の見出しを付け
た各カードに分配し、該各カードの見出し及び最前の位
置のカードの内容が見えるように前記各カードを重ねた
形状のカードホルダを前記プログラムの近傍に表示し、 前記カードホルダの前記各カードの見出しの選択によ
り、選択されたカードを前記最前の位置に位置させるこ
とを特徴とするデータ表示方法。
1. The data of a two-dimensional array of the selected data name is divided into each unit data of a row or a column by selecting the data name of a program written in a programming language on the screen, and each unit data is lined. Or, it is distributed to each card with a column number heading, and a card holder in the shape of overlapping each card is displayed near the program so that the heading of each card and the contents of the card at the frontmost position can be seen. A data display method, wherein the selected card is positioned at the foremost position by selecting the heading of each card in the card holder.
JP4207159A 1992-07-10 1992-07-10 Data display method Pending JPH0628171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4207159A JPH0628171A (en) 1992-07-10 1992-07-10 Data display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4207159A JPH0628171A (en) 1992-07-10 1992-07-10 Data display method

Publications (1)

Publication Number Publication Date
JPH0628171A true JPH0628171A (en) 1994-02-04

Family

ID=16535207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4207159A Pending JPH0628171A (en) 1992-07-10 1992-07-10 Data display method

Country Status (1)

Country Link
JP (1) JPH0628171A (en)

Similar Documents

Publication Publication Date Title
US5312478A (en) System for managing information in a three dimensional workspace
US6292188B1 (en) System and method for navigating in a digital information environment
US5835916A (en) Document preparing apparatus capable of relocating cells forming a table and resetting cell size
JPH0727349B2 (en) Multi-window display control method
JPH0784750A (en) Method and apparatus for display of content of container object
JP3712749B2 (en) Window display processing method in information processing equipment
JPH0628171A (en) Data display method
JP2585311B2 (en) How to create a program
JPH07141137A (en) Method for selecting menu
JP2845897B2 (en) Document search / display method and apparatus
JP2618865B2 (en) Information processing device
JPS61176985A (en) Crt display unit
JP3411934B2 (en) Program variable data processing device
JP3666906B2 (en) Graphic processing apparatus and list display control method thereof
JPH05324240A (en) Display method for screen with image information
JP3154844B2 (en) Graphic input method and graphic input device
JP2842511B2 (en) Form creation device
WO1994017468A1 (en) Method and apparatus for generating and displaying visual cues on a graphic user interface
JPH0667835A (en) Multiwindow display system
JPS62133516A (en) Menu item indicating device
JPH08180118A (en) Table processor
JPS63217497A (en) Process display device
JP2000207087A (en) Displayed graphic selecting method
JPH09223241A (en) Method for selecting object
JPH0736655A (en) Picture information processor