JPH07191881A - Real-time memory monitoring system - Google Patents

Real-time memory monitoring system

Info

Publication number
JPH07191881A
JPH07191881A JP5330294A JP33029493A JPH07191881A JP H07191881 A JPH07191881 A JP H07191881A JP 5330294 A JP5330294 A JP 5330294A JP 33029493 A JP33029493 A JP 33029493A JP H07191881 A JPH07191881 A JP H07191881A
Authority
JP
Japan
Prior art keywords
memory
display
monitoring
registration table
target software
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
JP5330294A
Other languages
Japanese (ja)
Inventor
Hisayuki Aoki
久幸 青木
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 JP5330294A priority Critical patent/JPH07191881A/en
Publication of JPH07191881A publication Critical patent/JPH07191881A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable the monitor and display of memory contents simultaneously with the operation of a target software by grasping the change of memory contents with the passage of time easily for an operator so as to grasp the operation of the target software. CONSTITUTION:When the operator issues a command for registering a monitor area and a command for deleting the monitor area, a monitor area registering means 1 is activated and changes the constitution of a registration table T corresponding to the instruction. A memory monitoring means 2 is activated at fixed intervals, reads the monitor area registered on the table T to be registered at that time point from a memory M allocated to a target software S and records the result in the registration table T. When the entry constitution of the registration table T is changed by the monitor area registering means 1 and data in the monitor area of the registration table T is updated by the memory monitoring means 2, a memory display means 3 is activated, transforms the data in the monitor area so as to clearly observe those data and displays them on a display window W.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムにおい
て、ターゲットソフトウェア動作中のメモリ内容を確認
する方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for confirming the memory contents during operation of target software in a computer system.

【0002】[0002]

【従来の技術】従来、ターゲットソフトウェア動作中
に、そのメモリ内容をオペレータが確認する手段として
は、メモリダンプ方式が一般的である。この方式は、タ
ーゲットソフトウェアの動作を一旦停止し、オペレータ
がダンプコマンドで、メモリ内容の編集表示を指示す
る。このとき、編集表示するメモリの領域、即ち先頭ア
ドレスとサイズを指定する。システムはこのコマンドを
受けて、対象領域の内容を読み、数字列または文字列に
変換し、端末に表示する。
2. Description of the Related Art Conventionally, a memory dump method has been generally used as a means for an operator to confirm the memory contents of a target software during operation. In this method, the operation of the target software is temporarily stopped, and the operator issues a dump command to instruct the edit display of the memory contents. At this time, the area of the memory to be edited and displayed, that is, the start address and the size are designated. Upon receiving this command, the system reads the contents of the target area, converts it into a number string or character string, and displays it on the terminal.

【0003】この方式の場合、ターゲットソフトウェア
の動作を一旦停止させるので、一貫性が保たれた複数メ
モリ領域の内容を確認できる。ターゲットソフトウェア
を止める方法としては、適当な時点でオペレータの介入
により強制的に止める方法と、予め設定されたアドレス
の命令にプログラムが到達したときに止める方法が一般
的である。他に、あるアドレスをオペランドアクセスし
たときに止める方法などもある。いずれの方法を使って
も、毎回動作停止とコマンド入力が必要なので、ソフト
ウェアを停止できる時点の数はそれほど多くできない。
従って、メモリ内容の時間的な変化を把握することは困
難である。
In this system, since the operation of the target software is temporarily stopped, it is possible to confirm the contents of a plurality of memory areas which are kept consistent. As a method of stopping the target software, a method of forcibly stopping by the intervention of an operator at an appropriate time and a method of stopping when the program reaches an instruction of a preset address are general. There is also a method of stopping when an address is accessed as an operand. Regardless of which method is used, it is necessary to stop the operation and input a command every time, so the number of times when the software can be stopped cannot be so large.
Therefore, it is difficult to grasp the temporal change of the memory contents.

【0004】さらに、文字端末をユーザインタフェース
として使っているので、数字列と文字列くらいの表示方
法しかなかった。この表示方法だと、正確な値が確認で
きるが、直感的には分かりにくい。例えば、あるビット
のON/OFFを調べるためには、16進数表示し、タ
ーゲットのビットを含む4ビットの値を調べ、これを分
解してターゲットのビット値を確認していた。この操作
は繁雑であり、了解性が悪い。また、数値の増減を見た
い場合も、数字列による表現では分かりにくい。このよ
うに了解性が悪いと、個々の値を把握するのに時間が掛
かり、一定期間に把握可能なメモリ内容の個数を制限す
る。根本的に、より短い時間間隔での変化を表示するた
めには、より直感的な表示が必要である。
Further, since the character terminal is used as a user interface, there is only a display method of a numerical string and a character string. With this display method, you can confirm the exact value, but it is difficult to understand intuitively. For example, in order to check ON / OFF of a certain bit, a hexadecimal number is displayed, a 4-bit value including the target bit is checked, and this is decomposed to check the target bit value. This operation is complicated and incomprehensible. Also, if you want to see the increase or decrease of the numerical value, it is difficult to understand by the expression by the numerical string. When the intelligibility is poor as described above, it takes time to grasp each value, and the number of memory contents that can be grasped in a certain period is limited. Fundamentally, a more intuitive display is needed to display changes in shorter time intervals.

【0005】他にターゲットソフトウェアのメモリ内容
を確認できる方式としは、リアルタイムではないが、メ
モリ全体ダンプ方式がある。この方式は、ある時点のメ
モリ内容をファイルに書き出し、後に編集表示ツールを
使ってファイル内容を調べる方式である。ターゲットソ
フトウェアの試し実行は終わってしまっているので、ゆ
っくりメモリ内容を調べることができ、前記のメモリダ
ンプ方式よりもより多くの領域の内容を確認するのに向
いている。しかし、多くのファイル容量を必要とし、操
作性も悪いので、メモリ内容を確認できる時点は、さら
に制限されてしまう。通常、この方式は、1時点のより
多くのメモリ内容を調べるときに使われている。一回の
操作では、多くても、2〜3時点が限界である。従っ
て、メモリ内容の時間的な変化を確認するには、この方
式はさらに不利である。
Another method for confirming the memory contents of the target software is the whole memory dump method, although it is not real-time. In this method, the memory contents at a certain point of time are written to a file, and later the file contents are examined using an edit display tool. Since the trial execution of the target software has been completed, the memory contents can be examined slowly, which is suitable for confirming the contents of more areas than the above-mentioned memory dump method. However, since a large file capacity is required and operability is poor, the time when the memory contents can be confirmed is further limited. This scheme is typically used when examining more memory contents at a time. In one operation, the maximum is 2 to 3 time points. Therefore, this method is further disadvantageous in confirming the temporal change of the memory contents.

【0006】[0006]

【発明が解決しようとする課題】ターゲットソフトウェ
アの動作を把握するために、オペレータがメモリ内容の
時間的な変化をより簡単に把握できるようにすることで
ある。このために、ターゲットソフトウェアの動作と同
時にメモリ内容の監視と表示を可能とし、さらに、より
了解性の高い表示方法を実現する。
SUMMARY OF THE INVENTION An object of the present invention is to make it possible for an operator to more easily understand the temporal change of memory contents in order to understand the operation of target software. Therefore, it is possible to monitor and display the memory contents at the same time as the operation of the target software, and to realize a more intelligible display method.

【0007】[0007]

【課題を解決するための手段】本発明の実時間メモリ監
視方式は、ターゲットソフトウェアに割り当てられたメ
モリと、監視情報を登録する登録テーブルと、監視結果
を表示するウィンドウと、監視領域と表示形式とを登録
テーブルに登録する監視領域登録手段と、定期的に登録
テーブルに登録された監視領域の値をメモリから読みだ
し登録テーブルに設定するメモリ監視手段と、監視領域
登録手段とメモリ監視手段とから通知を受け登録テーブ
ルの内容を表示ウィンドウに書き出すメモリ表示手段と
を有している。
A real-time memory monitoring system of the present invention is a memory allocated to target software, a registration table for registering monitoring information, a window for displaying monitoring results, a monitoring area and a display format. Monitoring area registration means for registering and in the registration table, memory monitoring means for periodically reading the values of the monitoring areas registered in the registration table from the memory and setting them in the registration table, monitoring area registration means and memory monitoring means. And a memory display means for writing the contents of the registration table in a display window.

【0008】[0008]

【作用】図1は本発明の構成要素を示す図である。監視
領域登録手段1は、オペレータが監視領域を登録するコ
マンドと監視領域を削除するコマンドを発行したときに
起動され、指示に応じて登録テーブルTの構成を変更す
る。メモリ監視手段2は、一定間隔で起動され、ターゲ
ットソフトウェアSに割り当てられたメモリMから、そ
の時点で登録するテーブルTに登録されている監視領域
を読みだし、結果を登録テーブルTに記録する。メモリ
表示手段3は、監視領域登録手段1により登録テーブル
Tのエントリ構成が変更されたときと、メモリ監視手段
2により登録テーブルTの監視領域のデータが更新され
たときに起動され、登録テーブルT中の監視領域のデー
タを見易い形に変形して表示ウィンドウWに表示する。
1 is a diagram showing the components of the present invention. The monitoring area registration means 1 is activated when the operator issues a command to register the monitoring area and a command to delete the monitoring area, and changes the configuration of the registration table T according to the instruction. The memory monitoring means 2 is activated at regular intervals, reads the monitoring area registered in the table T registered at that time from the memory M allocated to the target software S, and records the result in the registration table T. The memory display means 3 is activated when the entry structure of the registration table T is changed by the monitoring area registration means 1 and when the data of the monitoring area of the registration table T is updated by the memory monitoring means 2, and the registration table T is registered. The data in the inside monitoring area is transformed into an easily viewable form and displayed in the display window W.

【0009】登録テーブルTには複数の監視領域が設定
可能であり、メモリ監視手段2とメモリ表示手段3は、
起動される度に、登録テーブルTに登録された全監視領
域を処理する。従って、複数のメモリの内容を同時に表
示ウィンドウWに表示可能である。
A plurality of monitoring areas can be set in the registration table T, and the memory monitoring means 2 and the memory display means 3 are
Every time it is activated, it processes all the monitoring areas registered in the registration table T. Therefore, the contents of a plurality of memories can be displayed in the display window W at the same time.

【0010】また、事前に監視領域に登録し、定期的に
登録された監視領域の読みだしと表示を行うことで、タ
ーゲットソフトウェアの動作と同時にメモリの監視が可
能になる。表示の形式としては、各時刻の現在値の表示
の他に、過去一定期間の時間的な変化の表示などが可能
になる。
Further, by registering in the monitoring area in advance and periodically reading and displaying the registered monitoring area, it becomes possible to monitor the memory simultaneously with the operation of the target software. As the display format, in addition to the display of the current value at each time, it is possible to display the temporal change for a certain past period.

【0011】さらに、表示ウィンドウWにグラフィカル
ユーザインタフェースを使うことで、単純な数字例表現
の他に、数値レベル表現や、ビット毎のON/OFF表
現、折れ線グラフ表現など、柔軟で密度の高い表示が可
能になる。これにより、各監視領域の性格に応じた了解
性の高い表示が可能になる。
Furthermore, by using a graphical user interface in the display window W, in addition to simple numerical example expression, numerical level expression, ON / OFF expression for each bit, line graph expression, and other flexible and dense display. Will be possible. This enables highly understandable display according to the nature of each monitoring area.

【0012】[0012]

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

【0013】図1に示すように、本発明の実施例は、タ
ーゲットソフトウェアSに割り当てられたメモリMと、
監視情報を登録する登録テーブルTと、監視結果を表示
するウィンドウWと、監視領域と表示形式とを登録テー
ブルTに登録する監視領域登録手段1と、定期的に登録
テーブルTに登録された監視領域の値をメモリMから読
みだし登録テーブルTに設定するメモリ監視手段2と、
監視領域登録手段1とメモリ監視手段2とから通知を受
け登録テーブルTの内容を表示ウィンドウWに書き出す
メモリ表示手段3とから構成される。
As shown in FIG. 1, the embodiment of the present invention includes a memory M allocated to target software S,
A registration table T for registering monitoring information, a window W for displaying a monitoring result, a monitoring area registration means 1 for registering a monitoring area and a display format in the registration table T, and a monitoring regularly registered in the registration table T. A memory monitoring means 2 for reading the value of the area from the memory M and setting it in the registration table T;
It comprises memory display means 3 which receives a notification from the monitoring area registration means 1 and the memory monitoring means 2 and writes the contents of the registration table T into the display window W.

【0014】本発明の場合、ターゲットソフトウェアS
はどのような機能・目的のものでも作用するが、監視対
象となるメモリMを使うことが前提である。メモリM
は、本発明のメモリ監視手段2からアクセス可能にす
る。例えば、ターゲットソフトウェアSがUNIX上の
プロセスとして構成されている場合、メモリMを複数の
プロセスからアクセス可能な共用メモリに配置すればよ
い。他にも、親プロセスが子プロセスのメモリを読める
profilシステムコールを利用して、本発明の実時
間メモリ監視ツールを親プロセスとし、ターゲットソフ
トウェアを子プロセスとする方法もある。なお、本発明
の実時間メモリ監視方式は、監視対象のメモリMを読み
だすだけなので、ターゲットソフトウェアSの動作を妨
害することはない。
In the case of the present invention, the target software S
Has any function and purpose, but it is premised that the memory M to be monitored is used. Memory M
Enables access from the memory monitoring means 2 of the present invention. For example, when the target software S is configured as a process on UNIX, the memory M may be arranged in a shared memory accessible by a plurality of processes. Another method is to use the profile system call that allows the parent process to read the memory of the child process, and use the real-time memory monitoring tool of the present invention as the parent process and the target software as the child process. Since the real-time memory monitoring method of the present invention only reads the memory M to be monitored, it does not interfere with the operation of the target software S.

【0015】図2は登録テーブルTの内部構造を示す図
である。登録テーブルTは、監視項目毎に監視動作に必
要なデータを登録した配列になっている。各監視項目に
は、監視項目の名前フィールド21と、監視領域を規定
する領域の先頭アドレスフィールド22と領域のサイズ
フィールド23と、表示形式を規定する表示タイプフィ
ールド25と表示情報フィールド23と、表示形式を規
定する表示タイプフィールド25と表示情報フィールド
26と、対象領域のデータを格納するデータフィールド
24とが含まれる。
FIG. 2 shows the internal structure of the registration table T. The registration table T is an array in which data necessary for the monitoring operation is registered for each monitoring item. Each monitoring item includes a name field 21 of the monitoring item, a start address field 22 of the area defining the monitoring area, a size field 23 of the area, a display type field 25 and a display information field 23 defining the display format, and a display. A display type field 25 defining a format, a display information field 26, and a data field 24 storing data of a target area are included.

【0016】図3は表示ウィンドウWの構造を示す図で
ある。表示ウィンドウWは、監視項目毎に表示領域が分
割されている。各表示領域は、対応する監視項目の表示
タイプによって違う形式になっている。図3には代表的
な表示タイプをひとつずつ示した。実際の利用場面で
は、ユーザの指定に応じて、同じ表示タイプの監視項目
が複数並んだりする。
FIG. 3 is a view showing the structure of the display window W. The display area of the display window W is divided for each monitoring item. Each display area has a different format depending on the display type of the corresponding monitoring item. FIG. 3 shows typical display types one by one. In an actual usage situation, a plurality of monitoring items of the same display type are lined up according to the user's designation.

【0017】表示タイプ31は、監視領域を整数値とみ
なし、この値をレベルメータ的に表示する。このタイプ
の場合、登録テーブルTの表示情報フィールド26に最
小値と最大値を設定し、最小値で0%表示(図では黒い
表示がなくなる)、最大値で100%表示(図では全領
域が黒表示になる)となる。最小値より小さいときはア
ンダーフローインディケータ(左の丸)を、最大値より
大きいときはオーバーフローインディケータ(右の丸)
を点灯する。
The display type 31 regards the monitoring area as an integer value and displays this value as a level meter. In the case of this type, the minimum value and the maximum value are set in the display information field 26 of the registration table T, and the minimum value is displayed as 0% (the black display disappears in the figure) and the maximum value is displayed as 100% (the entire area is displayed in the figure. It will be displayed in black). Underflow indicator (circle on the left) when it is less than the minimum value, and overflow indicator (circle on the right) when it is greater than the maximum value.
Lights up.

【0018】表示タイプ32は、監視領域の値に応じて
違う丸を点灯する。このタイプの場合、登録テーブルT
の表示情報フィールド26に各丸を点灯したい値を設定
する。例えば、表示情報フィールド26の先頭に値1、
次に値2、最後に値3が設定されているとき、監視領域
の値が1になったら一番左の丸を、監視領域の値が2に
なったら二番目の丸を、監視領域の値が3になったら三
番目の丸を点灯する。各時点ではひとつの監視領域の値
は一意に決まるので、点灯している丸は常にひとつだけ
である。
The display type 32 lights different circles according to the value of the monitoring area. Registration table T for this type
In the display information field 26 of, the value at which each circle is to be turned on is set. For example, the value 1 at the beginning of the display information field 26,
Next, when the value 2 and finally the value 3 are set, the leftmost circle when the value of the monitoring area becomes 1 and the second circle when the value of the monitoring area becomes 2 When the value reaches 3, turn on the third circle. Since the value of one monitoring area is uniquely determined at each time, there is always only one lit circle.

【0019】表示タイプ33は、監視領域の各ビットの
ON/OFFに応じて各ボックスを点灯/消灯する。こ
のタイプの場合、登録テーブルTの表示情報フィールド
26に表示したいビット番号を設定する。例えば、表示
情報フィールド26の先頭に0が、次に9が設定されて
いると、監視領域のビット番号0がONのとき先頭のボ
ックスが点灯し、監視領域のビット9がONのとき二番
目のボックスが点灯する。各ビットは別々の値を持って
いるので、複数のボックスが同時に点灯することもあ
る。
The display type 33 turns on / off each box according to ON / OFF of each bit of the monitoring area. In the case of this type, the bit number to be displayed is set in the display information field 26 of the registration table T. For example, if 0 is set at the head of the display information field 26 and then 9 is set, the head box lights up when the bit number 0 of the monitoring area is ON, and the second box is displayed when bit 9 of the monitoring area is ON. Box lights up. Since each bit has a different value, multiple boxes may light simultaneously.

【0020】表示タイプ34は、監視領域の値を文字列
として表示する。このタイプの場合、登録テーブルTの
表示情報フィールド26の設定は必要ない。
The display type 34 displays the value of the monitoring area as a character string. In this type, it is not necessary to set the display information field 26 of the registration table T.

【0021】表示タイプ35は、監視領域を整数値とみ
なし、この値の時間的な変化を折れ線グラフで表示す
る。このタイプの場合、登録テーブルTの表示情報フィ
ールド26に最小値と最大値を設定する。最小値がボッ
クスの下線位置になり、最大値がボックスの上線位置に
なる。表示領域の左から右まで折れ線がつながった後
は、新しい値をプロットする度に左へスクロールし、常
に現在より一定期間の過去の折れ線グラフを表示する。
なお、これらの表示タイプを組み合わせたり、指定方法
と表示の関係を変更したり、表示形式の一部を変更する
ことで、様々な表示タイプを作ることが可能である。重
要なことは、グラフィカルユーザインタフェースを使う
ことで、文字列表示よりも了解性の高い表示が可能にな
ることである。さらに、監視対象メモリのプログラムに
おける役割に応じて、適切な表現が変わってくることで
ある。従って、複数の表示形態を提供し、各メモリの役
割を認識しているオペレータに、表示形態の選択を委ね
ることが必要である。
The display type 35 regards the monitoring area as an integer value and displays the time change of this value in a line graph. In the case of this type, the minimum value and the maximum value are set in the display information field 26 of the registration table T. The minimum value is the underlined position of the box, and the maximum value is the overlined position of the box. After the line is connected from the left to the right of the display area, each time a new value is plotted, it scrolls to the left and always displays the past line graph of a certain period from the present.
It is possible to create various display types by combining these display types, changing the relationship between the designation method and the display, and changing a part of the display format. What is important is that the graphical user interface enables a more readable display than the character string display. Furthermore, the appropriate expression changes depending on the role of the monitored memory in the program. Therefore, it is necessary to provide a plurality of display forms and entrust the operator who recognizes the role of each memory with the selection of the display form.

【0022】図4は監視領域登録手段1の処理を示す流
れ図である。監視領域登録手段1は、通常はコマンド入
力待ちで停止しており、コマンドが入力されると、ステ
ップ41から抜けてくる。次に、ステップ42で、入力
されたコマンドを解析し、登録コマンドと削除コマンド
とエラーを判別する。エラーの場合は、何もせず、コマ
ンド入力待ちに戻る。入力されたコマンドが登録コマン
ドだった場合は、ステップ43で、登録テーブルTから
空きエントリを確保する。続いて、ステップ44で、指
定された名前・監視領域の先頭アドレス・領域サイズ・
表示タイプ・表示情報を、登録テーブルTから確保した
エントリに設定する。入力されたコマンドが削除コマン
ドだった場合は、ステップ46で、指定された監視項目
を登録テーブルTから削除する。いずれの場合も、最後
に、ステップ45で、メモリ表示手段3に登録テーブル
Tの監視項目が変更されたことを通知し、コマンド入力
待ちに戻る。
FIG. 4 is a flow chart showing the processing of the monitoring area registration means 1. The monitoring area registration means 1 is normally stopped while waiting for a command input, and when a command is input, it exits from step 41. Next, in step 42, the input command is analyzed to discriminate a registration command, a deletion command and an error. If there is an error, nothing is done and the process returns to the command input waiting state. If the input command is a registration command, a free entry is secured from the registration table T in step 43. Then, in step 44, the designated name, the start address of the monitoring area, the area size,
The display type / display information is set in the entry secured from the registration table T. If the input command is a delete command, the specified monitoring item is deleted from the registration table T in step 46. In any case, finally, in step 45, the memory display means 3 is notified that the monitoring items of the registration table T have been changed, and the process returns to the command input waiting state.

【0023】図5はメモリ監視手段2の処理を示す流れ
図である。メモリ監視手段2は、通常はタイマ待ちで停
止しており、一定期間毎にステップ51から抜けてく
る。動きだすと、ステップ52で、登録テーブルTのエ
ントリから監視領域の先頭アドレスと領域サイズを入手
し、ステップ53で、メモリM中の該当する領域を読み
だし、ステップ54で、読みだしたデータを登録テーブ
ルTのエントリのデータフィールドに設定する。次に、
ステップ55で、登録テーブルTの全エントリを処理し
たかどうかを判定し、まだ残りエントリがある場合は、
ステップ52に戻って次のエントリを処理する。ステッ
プ55で全エントリ完了と判定した場合は、ステップ5
6で、登録テーブルTのデータフィールドが更新された
ことをメモリ表示手段3に通知し、タイマ待ちに戻る。
FIG. 5 is a flow chart showing the processing of the memory monitoring means 2. The memory monitoring means 2 is normally stopped by waiting for a timer, and exits from step 51 at regular intervals. When the movement starts, in step 52, the start address and area size of the monitoring area are obtained from the entry of the registration table T, in step 53, the corresponding area in the memory M is read, and in step 54, the read data is registered. Set in the data field of the entry in table T. next,
In step 55, it is determined whether all the entries in the registration table T have been processed. If there are still remaining entries,
Returning to step 52, the next entry is processed. If it is determined in step 55 that all entries have been completed, step 5
In step 6, the memory display means 3 is notified that the data field of the registration table T has been updated, and the process returns to waiting for the timer.

【0024】図6はメモリ表示手段3の処理を示す流れ
図である。メモリ表示手段3は、通常は監視領域登録手
段1またはメモリ監視手段2からの通知を待っており、
いずれかから通知されると、ステップ61から抜けてく
る。動きだすと、ステップ62で、通知の種別を判定す
る。登録変更通知だった場合は、ステップ63で全表示
を消去し、ステップ64で、登録テーブルTのエントリ
から名前・データ・表示タイプ・表示情報を読みだし、
ステップ65で、データを表示タイプと表示情報に応じ
て表示データに変形し、ステップ66で、名前と表示デ
ータを新規に表示する。ステップ67で、登録テーブル
Tの全エントリを処理したかどうかを判定し、まだ残り
がある場合は、ステップ64に戻り、次の監視エントリ
を表示する。全ての表示が完了したら、ステップ61に
戻り、次の通知を待つ。ステップ62でデータ変更通知
だった場合は、ステップ68で、登録テーブルTのエン
トリからデータ・表示タイプ・表示情報を読みだし、ス
テップ69で、データを表示タイプと表示情報に応じて
表示データに変形し、ステップ6Aで、表示データを表
示する。ステップ6Bで、登録テーブルTの全エントリ
を処理したかどうか判定し、まだ残りがある場合は、ス
テップ68に戻り、次の監視エントリを処理する。全て
の表示更新が完了したら、ステップ61に戻り、次の通
知を待つ。
FIG. 6 is a flow chart showing the processing of the memory display means 3. The memory display means 3 normally waits for a notification from the monitoring area registration means 1 or the memory monitoring means 2,
When notified from any of them, the process exits from step 61. When the movement starts, the type of notification is determined in step 62. If the notification is a registration change notification, all the displays are erased in step 63, and the name, data, display type, and display information are read from the entries in the registration table T in step 64.
In step 65, the data is transformed into display data according to the display type and display information, and in step 66, the name and display data are newly displayed. In step 67, it is determined whether or not all the entries in the registration table T have been processed. If there are any remaining entries, the process returns to step 64 to display the next monitoring entry. When all the display is completed, the process returns to step 61 and waits for the next notification. If it is a data change notification in step 62, in step 68, the data, display type, and display information are read from the entries in the registration table T, and in step 69, the data is transformed into display data according to the display type and display information. Then, in step 6A, the display data is displayed. In step 6B, it is determined whether or not all the entries in the registration table T have been processed. If there are remaining entries, the process returns to step 68 and the next monitoring entry is processed. When all display updates are completed, the process returns to step 61 and waits for the next notification.

【0025】[0025]

【発明の効果】以上に説明したように、本発明の実時間
メモリ監視方式を使用すれば、ターゲットソフトウェア
の動作と同時に、メモリの複数領域の内容を監視し、時
間的な変化に追従した表示が可能になる。さらに、各領
域の役割に対応した適切な表示が可能になる。
As described above, when the real-time memory monitoring system of the present invention is used, the contents of a plurality of areas of the memory are monitored simultaneously with the operation of the target software, and the display that follows the temporal change is displayed. Will be possible. Further, it becomes possible to perform an appropriate display corresponding to the role of each area.

【0026】これにより、従来のメモリダンプ方式より
も、メモリ内容が確認できる時点が増え、かつ、直感的
に把握しやすい表示が可能になった。このために、オペ
レータが把握できるターゲットソフトウェアのメモリの
値に関する情報量が増加する。
As a result, the number of times when the memory contents can be confirmed is increased and the display can be intuitively grasped more easily than in the conventional memory dump method. For this reason, the amount of information about the memory value of the target software that the operator can grasp increases.

【0027】ソフトウェアの動作は、レジスタとメモリ
の変化として現れるが、レジスタの値は比較的短期間で
メモリに書き込まれる。従って、メモリの値を監視でき
れば、ソフトウェアのほとんどの動作を捕捉できる。
The operation of software appears as a change in the register and the memory, but the value of the register is written in the memory in a relatively short period of time. Therefore, if you can monitor the values in memory, you can capture most software operations.

【0028】把握したい観点が明確な場合は、要所要所
のメモリの変化を監視しながら、ターゲットソフトウェ
アを試し実行すればよい。把握したい観点があいまいな
場合でも、適当に重要そうなメモリ領域を監視しなが
ら、ターゲットソフトウェアを試し実行することで、何
か情報が得られる。特に、後者の使い方は、一回のメモ
リ表示のための操作量が多かった従来方式では困難であ
った。
When the point of view to be grasped is clear, the target software may be trial-executed while observing the change in the memory at a required location. Even if the point of view you want to grasp is ambiguous, you can obtain some information by trying the target software while monitoring the memory area that seems to be important. In particular, the latter method is difficult to use in the conventional method, which requires a large amount of operation for one memory display.

【0029】よって、本発明の実時間メモリ監視方式を
使えば、従来方式よりもターゲットソフトウェアの動作
の把握が容易になり、より効果的なデバッグが可能にな
る。
Therefore, by using the real-time memory monitoring method of the present invention, the operation of the target software can be grasped more easily than in the conventional method, and more effective debugging can be performed.

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

【図1】本発明の構成を示す図FIG. 1 is a diagram showing a configuration of the present invention.

【図2】登録テーブルTの構造を示す図FIG. 2 is a diagram showing the structure of a registration table T.

【図3】表示ウィンドウの構造を示す図FIG. 3 is a diagram showing a structure of a display window.

【図4】監視領域登録手段の処理を示す流れ図FIG. 4 is a flowchart showing the processing of the monitoring area registration means.

【図5】メモリ監視手段の処理を示す流れ図FIG. 5 is a flowchart showing the processing of the memory monitoring means.

【図6】メモリ表示手段の処理を示す図FIG. 6 is a diagram showing a process of a memory display unit.

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

1 監視領域登録手段 2 メモリ監視手段 3 メモリ表示手段 S ターゲットソフトウェア M ターゲットソフトウェアの使用するメモリ T 登録テーブル W 表示ウィンドウ 1 monitoring area registration means 2 memory monitoring means 3 memory display means S target software M memory used by target software T registration table W display window

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ターゲットソフトウェアに割り当てられ
たメモリと、監視情報を登録する登録テーブルと、監視
結果を表示するウィンドウと、監視領域と表示形式とを
前記登録テーブルに登録する監視領域登録手段と、定期
的に前記登録テーブルに登録された監視領域の値をメモ
リから読みだし前記登録テーブルに設定するメモリ監視
手段と、前記監視領域登録手段と前記メモリ監視手段と
から通知を受け前記登録テーブルの内容をウィンドウに
書き出すメモリ表示手段とから構成される実時間メモリ
監視方式。
1. A memory allocated to target software, a registration table for registering monitoring information, a window for displaying a monitoring result, and a monitoring area registration means for registering a monitoring area and a display format in the registration table. Contents of the registration table, which are periodically notified from the memory of the value of the monitoring area registered in the registration table and set in the registration table, and a notification from the monitoring area registration means and the memory monitoring means A real-time memory monitoring system consisting of a memory display means for writing the data into a window.
JP5330294A 1993-12-27 1993-12-27 Real-time memory monitoring system Pending JPH07191881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5330294A JPH07191881A (en) 1993-12-27 1993-12-27 Real-time memory monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5330294A JPH07191881A (en) 1993-12-27 1993-12-27 Real-time memory monitoring system

Publications (1)

Publication Number Publication Date
JPH07191881A true JPH07191881A (en) 1995-07-28

Family

ID=18231046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5330294A Pending JPH07191881A (en) 1993-12-27 1993-12-27 Real-time memory monitoring system

Country Status (1)

Country Link
JP (1) JPH07191881A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132424A (en) * 1998-06-19 2000-05-12 Lucent Technol Inc Software instrumentation method
CN100375060C (en) * 2005-06-20 2008-03-12 中兴通讯股份有限公司 Embedded system and real-time monitoring and processing method thereof
WO2010032330A1 (en) * 2008-09-22 2010-03-25 富士通株式会社 Information processing device and its memory protection method
JP2014149606A (en) * 2013-01-31 2014-08-21 Fujitsu Ltd Resource usage totaling program, resource usage totaling method and resource usage totaling device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6371740A (en) * 1986-09-12 1988-04-01 Nec Eng Ltd Method for tracing memory data
JPH04131942A (en) * 1990-09-25 1992-05-06 Hitachi Commun Syst Inc Data writing/reading method for memory monitoring device
JPH054262B2 (en) * 1990-02-13 1993-01-19 Takeuchi Tekko Kk
JPH05241988A (en) * 1992-02-28 1993-09-21 Fujitsu Ten Ltd Device and method for analysis of equipment using microcomputer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6371740A (en) * 1986-09-12 1988-04-01 Nec Eng Ltd Method for tracing memory data
JPH054262B2 (en) * 1990-02-13 1993-01-19 Takeuchi Tekko Kk
JPH04131942A (en) * 1990-09-25 1992-05-06 Hitachi Commun Syst Inc Data writing/reading method for memory monitoring device
JPH05241988A (en) * 1992-02-28 1993-09-21 Fujitsu Ten Ltd Device and method for analysis of equipment using microcomputer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132424A (en) * 1998-06-19 2000-05-12 Lucent Technol Inc Software instrumentation method
CN100375060C (en) * 2005-06-20 2008-03-12 中兴通讯股份有限公司 Embedded system and real-time monitoring and processing method thereof
WO2010032330A1 (en) * 2008-09-22 2010-03-25 富士通株式会社 Information processing device and its memory protection method
JP2014149606A (en) * 2013-01-31 2014-08-21 Fujitsu Ltd Resource usage totaling program, resource usage totaling method and resource usage totaling device

Similar Documents

Publication Publication Date Title
US4912640A (en) Electronic type memo device
US7251808B2 (en) Graphical debugger with loadmap display manager and custom record display manager displaying user selected customized records from bound program objects
JPH07191881A (en) Real-time memory monitoring system
JPH0713732A (en) Icon display method
EP0621527A1 (en) Hierarchically grouped macroinstructions for a graphical user interface
JPH10214171A (en) Information processor
EP0498453B1 (en) Programmable controller with independent display
JPH11184900A (en) Scenario display device and method therefor
KR940002275B1 (en) Method and apparatus for observing execution of program loaded in information processing system
JP5296724B2 (en) Screen display data editing apparatus and screen display data editing program
JPH0764838A (en) Information processor and control method
JPH07334769A (en) Trend graph display device
JPH11327732A (en) Display device
JPH06202841A (en) Display method for icon
JPH07200350A (en) Software debugger
JPH01191269A (en) Image controller
JPH0713806B2 (en) Menu control device
JPH02214904A (en) Working state monitor device for programmable controller
US20010021933A1 (en) Data processing system with file memory and data processing method
JP2639224B2 (en) Method of sharing process selection between multiple processes
JP2735400B2 (en) Asynchronous I / O control method
JPH06314118A (en) Monitor device
JPS61279906A (en) Programmable controller
JPH0281141A (en) Trace control system
JPS63143662A (en) Text managing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19971014