JP2001134462A - Program debug device - Google Patents

Program debug device

Info

Publication number
JP2001134462A
JP2001134462A JP31674799A JP31674799A JP2001134462A JP 2001134462 A JP2001134462 A JP 2001134462A JP 31674799 A JP31674799 A JP 31674799A JP 31674799 A JP31674799 A JP 31674799A JP 2001134462 A JP2001134462 A JP 2001134462A
Authority
JP
Japan
Prior art keywords
file
information
display
debug
line number
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
JP31674799A
Other languages
Japanese (ja)
Inventor
Toshio Matsuki
敏夫 松木
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP31674799A priority Critical patent/JP2001134462A/en
Publication of JP2001134462A publication Critical patent/JP2001134462A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow a debug operator to quickly understand the flow of a program by stopping the display of any code inserted for debug on a debugger screen in a debugger so that the operator can not be confused by any inserted code which is totally different from the original flow of the program. SOLUTION: Any added code for debug which is not necessary for a debug operator is deleted, and an existing debug function is made available.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラム開発の
際に利用されるプログラムデバッグ装置であり、特にソ
ースコードファイルを用いてデバッグが可能な装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program debugging device used for developing a program, and more particularly to a device capable of debugging using a source code file.

【0002】[0002]

【従来の技術】従来、プログラムのデバッグを行う際に
ソースコードにデバッグのための処理を挿入することが
よくあった。多くはデバッグを行う人が挿入するもので
あり、一度に挿入する処理もあまり多くはなく、そのデ
バッグ用の処理の記述がデバッグを進める上で支障をき
たすことも無かった。ところが、最近ではデバッグ用の
処理をソースコードに自動挿入するプログラムデバッグ
支援ツールが現れており、これらのツールでは大量のデ
バッグ用のコードが挿入されることがある。このデバッ
グ用コードが埋め込まれたソースプログラムを用いてデ
バッグを行う場合、デバッグ用コードがデバッガの画面
にそのまま表示されていた。
2. Description of the Related Art Conventionally, when debugging a program, a process for debugging is often inserted into a source code. Many are inserted by the debugger, and there is not much processing to insert at a time, and the description of the processing for debugging did not hinder the progress of debugging. However, recently, program debugging support tools that automatically insert debugging processes into source code have appeared, and these tools may insert a large amount of debugging code. When debugging is performed using a source program in which the debugging code is embedded, the debugging code is displayed on the debugger screen as it is.

【0003】[0003]

【発明が解決しようとする課題】従来の方法には課題が
ある。これまでのデバッガではデバッグ用に挿入された
コードがデバッガ画面に表示されてしまうので、大量の
デバッグ用コードが挿入されている場合、挿入されたコ
ードは本来のプログラムの流れとは全く異質なものであ
るためデバッグ作業者がプログラムの流れを素早く理解
することができない、という課題が生じていた。
The conventional method has problems. With the conventional debugger, the code inserted for debugging is displayed on the debugger screen, so when a large amount of debugging code is inserted, the inserted code is completely different from the original program flow Therefore, there has been a problem that the debug operator cannot quickly understand the flow of the program.

【0004】[0004]

【課題を解決するための手段】これらの課題を解決する
ため本発明のファイル内容表示装置及びプログラムデバ
ッグ装置では、請求項1の発明においては、ファイル内
行削除部とファイル表示部から構成されており、また、
請求項2の発明においては、ファイル内行削除部とファ
イル表示部、デバッグ情報内行番号補正部から構成され
ており、請求項3の発明においては、ファイル内行削除
部とファイル表示部、デバッグ情報内行番号補正部、表
示抑制アドレス領域情報生成部、逆アセンブル表示部か
ら構成されており、請求項4の発明においては、ファイ
ル内行削除部とファイル表示部、デバッグ情報内行番号
補正部、表示抑制アドレス領域情報生成部、リアルタイ
ムトレース表示部から構成される。
In order to solve these problems, a file contents display device and a program debug device according to the present invention, according to the first aspect of the present invention, comprise a file line deletion unit and a file display unit. ,Also,
According to a second aspect of the present invention, there is provided a file line deleting unit, a file display unit, and a debug information line number correcting unit. A correction unit, a display suppression address area information generation unit, and a disassembly display unit. In the invention according to claim 4, a line deletion unit in a file and a file display unit, a line number correction unit in debug information, a display suppression address region information It consists of a generator and a real-time trace display.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図1から図10を用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.

【0006】図1は、請求項1の発明の実施の形態にお
けるファイル表示装置の構成のブロック図である。図1
においてファイル内容表示装置1は表示しようとするフ
ァイル5を読み込む。読み込まれたファイル5はファイ
ル内行削除部2に入力される。また、ファイル5の中の
ファイル表示を抑制したい行を指定するファイル表示抑
制情報6も読み込みファイル内行削除部2に入力する。
ファイル内行削除部2で指定された行を削除したものを
一時ファイル7として出力する。ファイル表示部4は一
時ファイル7を読み込んで表示する。図5にファイル1
の内容例を44として、ファイル表示抑制情報6の内容
例として45を示す。元のファイル43に行が追加され
てファイル44ができたのだが、その差分となる行情報
をファイル表示抑制情報としたものである。ファイル表
示抑制情報6のファイル内容例45では挿入された行番
号と連続して挿入された行の数が記録されている。図6
にファイル内行削除部の処理アルゴリズムを示す。先
ず、一時ファイル7の内容を全て消去し、次にファイル
5を読み込みファイルの最後かどうかを判断する。ファ
イルの最後でなければ、ファイル5から一行分のデータ
を読み込む。読み込んだ行の行番号がファイル表示抑制
情報6内に存在するかどうかを判断する。存在するなら
ば、次の行を読み込む。存在しなければ読み込んだ一行
分のデータを一時ファイルへ出力する。この処理をファ
イル7の最後まで続け、一時ファイル7作成終了後にフ
ァイル表示部4でファイル7を表示させる。
FIG. 1 is a block diagram showing a configuration of a file display device according to an embodiment of the present invention. FIG.
, The file content display device 1 reads the file 5 to be displayed. The read file 5 is input to the in-file line deletion unit 2. In addition, the file display suppression information 6 for designating a line in the file 5 whose file display is to be suppressed is also input to the read file line deletion unit 2.
The file in which the line specified by the line deletion unit 2 is deleted is output as the temporary file 7. The file display section 4 reads and displays the temporary file 7. FIG. 5 shows file 1
The content example of the file display suppression information 6 is 45, and the content example of the file display suppression information 6 is 45. Although a file 44 is created by adding a line to the original file 43, the line information that is the difference is used as the file display suppression information. In the file content example 45 of the file display suppression information 6, the inserted line number and the number of consecutively inserted lines are recorded. FIG.
Shows the processing algorithm of the in-file line deletion unit. First, all the contents of the temporary file 7 are erased, and then the file 5 is read to determine whether it is the end of the file. If it is not the end of the file, one line of data is read from the file 5. It is determined whether the line number of the read line exists in the file display suppression information 6. If present, read next line. If it does not exist, it outputs one line of read data to a temporary file. This process is continued until the end of the file 7, and after the creation of the temporary file 7 is completed, the file 7 is displayed on the file display unit 4.

【0007】図2は、請求項2の発明の実施の形態にお
けるプログラムデバッグ装置の構成のブロック図であ
る。図2において、プログラムデバッグ装置8は請求項
1の発明同様、ソースファイル12とファイル表示抑制
情報13を元にファイル内行削除部9の働きによりファ
イル表示抑制情報13に示された内容を削除した一時フ
ァイル14が生成され、ソースファイル表示部10に一
時ファイル14が表示される。一方、ソースファイル1
2から生成された実行可能オブジェクトに関するデバッ
グのための情報を含んだオブジェクトコードデバッグ情
報15では一時ファイル14との対応ができないので、
このオブジェクトコードデバッグ情報15とファイル表
示抑制情報13をデバッグ情報内行番号補正部11に入
力し、行番号に関して補正された補正後オブジェクトコ
ードデバッグ情報16を生成する。このデバッグ情報1
6は通常のデバッガで使われるものと同じであり、ブレ
ークポイントの設定や各種のプログラムの情報表示を行
うにはデバッグ情報を用いるがこれらの動作には全く支
障をきたさない。図7にオブジェクトコードデバッグ情
報15の中の行番号に関する情報の代表的な部分を示
す。この中にはソースファイルの行番号46とその行に
含まれる処理に対応する機械語開始アドレス47と機械
語終了アドレス48を1セットにした情報が、必要な数
だけ収められている。図8にデバッグ情報内行番号補正
部11におけるソースファイル単位でのデバッグ情報内
行番号補正処理の流れを示す。削除した行数を表すNを
0に設定する。ソースファイルに対応したデバッグ情報
を読み出す。読み込んだ行番号情報の中の行番号がファ
イル表示抑制情報13に登録されていれば、デバッグ情
報からその行番号情報を削除し、Nに1を加算する。読
み込んだ行番号情報の中の行番号がファイル表示抑制情
報13に登録されていなければ、デバッグ情報内部及び
読み込んだ行番号情報の行番号をNだけ減ずる。これを
デバッグ情報の終わりまで繰り返す。
FIG. 2 is a block diagram showing a configuration of a program debugging device according to an embodiment of the present invention. In FIG. 2, the program debugging device 8 temporarily deletes the contents indicated in the file display suppression information 13 by the operation of the in-file line deletion unit 9 based on the source file 12 and the file display suppression information 13, as in the first embodiment. The file 14 is generated, and the temporary file 14 is displayed on the source file display unit 10. On the other hand, source file 1
Since the object code debug information 15 including the information for debugging the executable object generated from Step 2 cannot correspond to the temporary file 14,
The object code debug information 15 and the file display suppression information 13 are input to the debug information line number correction unit 11 to generate corrected object code debug information 16 corrected for the line number. This debug information 1
Reference numeral 6 is the same as that used in a normal debugger. Debugging information is used to set breakpoints and display information of various programs, but these operations are not hindered at all. FIG. 7 shows a representative part of the information related to the line number in the object code debug information 15. In this table, a required number of pieces of information in which a set of a machine language start address 47 and a machine language end address 48 corresponding to the line number 46 of the source file and the processing included in the line are stored. FIG. 8 shows a flow of the debug information line number correction process in the debug information line unit in the debug information line number correction unit 11. N indicating the number of deleted rows is set to 0. Read debug information corresponding to the source file. If the line number in the read line number information is registered in the file display suppression information 13, the line number information is deleted from the debug information, and 1 is added to N. If the line number in the read line number information is not registered in the file display suppression information 13, the line number in the debug information and the line number of the read line number information is reduced by N. This is repeated until the end of the debug information.

【0008】図3は、請求項3の発明の実施の形態にお
けるプログラムデバッグ装置の構成のブロック図であ
る。図3において、プログラムデバッグ装置17は請求
項2の発明同様、ソースファイル23とファイル表示抑
制情報24を元にファイル内行削除部18の働きにより
ファイル表示抑制情報24に示された内容を削除した一
時ファイル25が生成され、ソースファイル表示部19
に一時ファイル25が表示される。一方、ソースファイ
ル23から生成された実行可能オブジェクトに関するデ
バッグのための情報を含んだオブジェクトコードデバッ
グ情報26では一時ファイル25との対応ができないの
で、このオブジェクトコードデバッグ情報26とファイ
ル表示抑制情報24をデバッグ情報内行番号補正部20
に入力し、行番号に関して補正された補正後オブジェク
トコードデバッグ情報27を生成する。ここまでは請求
項2の発明と同じ動作である。ここで、ソースファイル
23から生成された機械語プログラム29はファイル内
行削除部18から生成された一時ファイル25とは当然
完全な対応ができない。すなわち、この機械語プログラ
ム29を逆アセンブルしてニーモニックを用いて表示す
る場合、一時ファイル25には存在しない処理が表示さ
れることとなる。そこで、オブジェクトコードデバッグ
情報26とファイル表示抑制情報24を表示抑制アドレ
ス領域情報生成部21に入力し、ここで表示抑制アドレ
ス領域情報28を生成し、この情報と機械語プログラム
29を元に逆アセンブル表示部22で機械語プログラム
29を逆アセンブルし、その際、表示抑制アドレス領域
情報28で示された箇所をニーモニックなどを使って逆
アセンブルする時に強調表示を行ったり、空白表示とす
る。図9に表示抑制アドレス領域情報の内容を示す。こ
の情報にはファイル表示抑制情報24内の行が対応する
機械語の開始アドレス49と終了アドレス50がファイ
ル表示抑制情報24の中の行情報の数だけ収められてい
る。この情報に示されるアドレス領域に対応する機械語
の部分の逆アセンブル表示を強調表示もしくは隠蔽す
る。図10は表示抑制アドレス領域情報生成処理を示
す。デバッグ情報から行番号情報を読み込み、読み込ん
だ行番号情報内の行番号がファイル表示抑制情報24に
存在すれば、その行番号情報の中の機械語開始アドレス
と機械語終了アドレスを表示抑制アドレス領域情報に追
加する。この処理をデバッグ情報の最後まで繰り返す。
FIG. 3 is a block diagram of a configuration of a program debugging device according to an embodiment of the present invention. In FIG. 3, the program debugging device 17 temporarily deletes the contents indicated in the file display suppression information 24 by the operation of the in-file line deletion unit 18 based on the source file 23 and the file display suppression information 24, similarly to the invention of claim 2. The file 25 is generated, and the source file display unit 19
The temporary file 25 is displayed. On the other hand, since the object code debug information 26 including the information for debugging the executable object generated from the source file 23 cannot correspond to the temporary file 25, the object code debug information 26 and the file display suppression information 24 are not stored. Debugging information line number correction unit 20
To generate the corrected object code debug information 27 corrected for the line number. The operation so far is the same as that of the second aspect. Here, the machine language program 29 generated from the source file 23 cannot naturally completely correspond to the temporary file 25 generated from the in-file line deletion unit 18. That is, when the machine language program 29 is disassembled and displayed using mnemonics, processing that does not exist in the temporary file 25 is displayed. Therefore, the object code debug information 26 and the file display suppression information 24 are input to the display suppression address area information generation unit 21, where the display suppression address area information 28 is generated, and the disassembly is performed based on this information and the machine language program 29. The display unit 22 disassembles the machine language program 29. At this time, when disassembling the portion indicated by the display suppression address area information 28 using a mnemonic or the like, highlighting or blank display is performed. FIG. 9 shows the contents of the display suppression address area information. In this information, the start address 49 and the end address 50 of the machine language corresponding to the line in the file display suppression information 24 are stored by the number of line information in the file display suppression information 24. The disassembled display of the machine language portion corresponding to the address area indicated by this information is highlighted or hidden. FIG. 10 shows the display suppression address area information generation processing. The line number information is read from the debug information, and if the line number in the read line number information exists in the file display suppression information 24, the machine language start address and the machine language end address in the line number information are displayed in the display suppression address area. Add to information. This process is repeated until the end of the debug information.

【0009】図4は、請求項4の発明の実施の形態にお
けるプログラムデバッグ装置の構成のブロック図であ
る。図4において、プログラムデバッグ装置30は請求
項2の発明同様、ソースファイル36とファイル表示抑
制情報37を元にファイル内行削除部31の働きにより
ファイル表示抑制情報37に示された内容を削除した一
時ファイル38が生成され、ソースファイル表示部32
に一時ファイル38の内容が表示される。一方、ソース
ファイル36から生成された実行可能オブジェクトに関
するデバッグのための情報を含んだオブジェクトコード
デバッグ情報39では一時ファイル38との対応ができ
ないので、このオブジェクトコードデバッグ情報39と
ファイル表示抑制情報37をデバッグ情報内行番号補正
部33に入力し、行番号に関して補正された補正後オブ
ジェクトコードデバッグ情報40を生成する。ここまで
は請求項2の発明と同じ動作である。ここで、ソースフ
ァイル36から生成された機械語プログラムにはファイ
ル内行削除部31から生成された一時ファイル38とは
当然完全な対応ができない。すなわち、この機械語プロ
グラムを実行し、その実行内容をリアルタイムトレース
することがあった場合、リアルタイムトレース結果のデ
ータにはソースファイル表示部32で表示される一時フ
ァイル38には存在しない処理が含まれることになる。
そこで、オブジェクトコードデバッグ情報39とファイ
ル表示抑制情報37を表示抑制アドレス領域情報生成部
34に入力し、ここで表示抑制アドレス領域情報41を
生成し、リアルタイムトレースデータ42をリアルタイ
ムトレース表示部35で表示する際、表示抑制アドレス
領域情報41で示された箇所に対するアドレス領域を実
行している箇所を強調表示したり、あるいは表示を削除
する。
FIG. 4 is a block diagram showing a configuration of a program debugging device according to an embodiment of the present invention. In FIG. 4, the program debugging device 30 deletes the contents indicated in the file display suppression information 37 by the operation of the in-file line deletion unit 31 based on the source file 36 and the file display suppression information 37, as in the second embodiment. A file 38 is generated, and the source file display unit 32
Displays the contents of the temporary file 38. On the other hand, since the object code debug information 39 including the information for debugging the executable object generated from the source file 36 cannot correspond to the temporary file 38, the object code debug information 39 and the file display suppression information 37 are It is input to the debug information line number correction unit 33 to generate corrected object code debug information 40 corrected for the line number. The operation so far is the same as that of the second aspect. Here, the machine language program generated from the source file 36 cannot naturally correspond completely with the temporary file 38 generated from the in-file line deletion unit 31. That is, when the machine language program is executed and the execution contents are traced in real time, the data of the real-time trace result includes processing that does not exist in the temporary file 38 displayed on the source file display unit 32. Will be.
Therefore, the object code debug information 39 and the file display suppression information 37 are input to the display suppression address area information generating section 34, where the display suppression address area information 41 is generated, and the real-time trace data 42 is displayed on the real-time trace display section 35. At this time, the location where the address area is executed for the location indicated by the display suppression address area information 41 is highlighted or the display is deleted.

【0010】[0010]

【発明の効果】以上のように請求項1の発明に係るファ
イル内容表示装置は、ファイル閲覧者が不要とするファ
イルの理解を妨げる情報を削除して表示することが可能
であり、請求項2の発明に係るプログラムデバッグ装置
は、ソースファイルから不要な処理を削除して表示して
もデバッグ装置が持つ機能を問題無く使用することがで
き、したがって、ソースファイルにデバッグ用のコード
を大量に挿入してもプログラムの理解を妨げることな
く、かつ、プログラムデバッグ装置のデバッグ機能を全
て使えるため、デバッグ効率を向上させることができ
る。
As described above, the file content display device according to the first aspect of the present invention can delete and display information that hinders the file viewer from understanding unnecessary files. The program debugging device according to the invention of the present invention can use the function of the debugging device without any problem even if unnecessary processing is deleted from the source file and displayed, so that a large amount of debugging code is inserted into the source file. However, since the program debugging device can use all the debugging functions without hindering the understanding of the program, the debugging efficiency can be improved.

【0011】さらに、請求項3の発明に係るプログラム
デバッグ装置は、ソースファイルから不要な処理を削除
した箇所を逆アセンブル表示で強調あるいは削除するこ
とで、デバッグ用のコードをソースファイルに大量に挿
入しても機械語レベルでのプログラムの理解を妨げるこ
とがなく、デバッグ効率を向上することができる。
Further, the program debugging apparatus according to the third aspect of the present invention inserts a large amount of debugging code into the source file by emphasizing or deleting a portion where unnecessary processing is deleted from the source file by disassembling display. Even if it does not hinder the understanding of the program at the machine language level, the debugging efficiency can be improved.

【0012】請求項4の発明に係るプログラムデバッグ
装置は、リアルタイムトレースの結果の中でソースファ
イルから不要な処理を削除した箇所を強調表示ないしは
削除することができ、多量のデバッグ用コードを挿入さ
れたままでも十分にリアルタイムトレースを活用するこ
とができ、デバッグ効率を上げることができる。
The program debugging apparatus according to the fourth aspect of the present invention can highlight or delete a portion where unnecessary processing has been deleted from the source file in the result of the real-time trace, and can insert a large amount of debugging code. Real-time tracing can be fully utilized even when left as is, and debugging efficiency can be improved.

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

【図1】請求項1の発明の実施の形態におけるファイル
内容表示装置の構成のブロック図
FIG. 1 is a block diagram of a configuration of a file content display device according to an embodiment of the present invention;

【図2】請求項2の発明の実施の形態におけるプログラ
ムデバッグ装置の構成のブロック図
FIG. 2 is a block diagram showing a configuration of a program debugging device according to an embodiment of the present invention;

【図3】請求項3の発明の実施の形態におけるプログラ
ムデバッグ装置の構成のブロック図
FIG. 3 is a block diagram showing a configuration of a program debugging device according to an embodiment of the present invention;

【図4】請求項4の発明の実施の形態におけるプログラ
ムデバッグ装置の構成のブロック図
FIG. 4 is a block diagram showing a configuration of a program debugging device according to an embodiment of the present invention;

【図5】ソースファイル及びファイル表示抑制情報の一
例を示す図
FIG. 5 is a diagram showing an example of a source file and file display suppression information.

【図6】ファイルの行削除処理の一例を示す図FIG. 6 is a diagram showing an example of a file line deletion process;

【図7】オブジェクトコードデバッグ情報内部の行番号
情報内容の一例を示す図
FIG. 7 is a diagram showing an example of the contents of line number information inside object code debug information.

【図8】ソースファイル単位でのデバッグ情報内行番号
補正処理の一例を示す図
FIG. 8 is a diagram illustrating an example of a line number correction process in debug information in units of a source file.

【図9】表示抑制アドレス領域情報の内容の一例を示す
FIG. 9 is a diagram showing an example of the content of display suppression address area information.

【図10】表示抑制アドレス領域情報生成処理の一例を
示す図
FIG. 10 is a diagram illustrating an example of display suppression address area information generation processing.

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

1 ファイル内容表示装置 2 ファイル内行削除部 4 ファイル表示部 5 ファイル 6 ファイル表示抑制情報 7 一時ファイル 8 プログラムデバッグ装置 9 ファイル内行削除部 10 ソースファイル表示部 11 デバッグ情報内行番号補正部 12 ソースファイル 13 ファイル表示抑制情報 14 一時ファイル 15 オブジェクトコードデバッグ情報 16 補正後オブジェクトコードデバッグ情報 17 プログラムデバッグ装置 18 ファイル内行削除部 19 ソースファイル表示部 20 デバッグ情報内行番号補正部 21 表示抑制アドレス領域情報生成部 22 逆アセンブル表示部 23 ソースファイル 24 ファイル表示抑制情報 25 一時ファイル 26 オブジェクトコードデバッグ情報 27 補正後オブジェクトコードデバッグ情報 28 表示抑制アドレス領域情報 29 機械語プログラム 30 プログラムデバッグ装置 31 ファイル内行削除部 32 ソースファイル表示部 33 デバッグ情報内行番号補正部 34 表示抑制アドレス領域情報生成部 35 リアルタイムトレース表示部 36 ソースファイル 37 ファイル表示抑制情報 38 一時ファイル 39 オブジェクトコードデバッグ情報 40 補正後オブジェクトコードデバッグ情報 41 表示抑制アドレス領域情報 42 リアルタイムトレースデータ 43 デバッグ用コード挿入前のソースファイルの一例 44 デバッグ用コード挿入後のソースファイルの一例 45 ファイル表示抑制情報の一例 46 行番号 47 機械語開始アドレス 48 機械語終了アドレス 49 表示抑制機械語開始アドレス 50 表示抑制機械語終了アドレス DESCRIPTION OF SYMBOLS 1 File content display device 2 File line deletion part 4 File display part 5 File 6 File display suppression information 7 Temporary file 8 Program debugging device 9 File line deletion part 10 Source file display part 11 Debug information line number correction part 12 Source file 13 File Display suppression information 14 Temporary file 15 Object code debug information 16 Corrected object code debug information 17 Program debugging device 18 Line deletion unit in file 19 Source file display unit 20 Line number correction unit in debug information 21 Display suppression address area information generation unit 22 Disassembly Display unit 23 Source file 24 File display suppression information 25 Temporary file 26 Object code debug information 27 Object code debug information after correction 28 Table Suppression address area information 29 Machine language program 30 Program debug device 31 Line deletion section in file 32 Source file display section 33 Line number correction section in debug information 34 Display suppression address area information generation section 35 Real-time trace display section 36 Source file 37 File display suppression information 38 Temporary file 39 Object code debug information 40 Corrected object code debug information 41 Display suppression address area information 42 Real-time trace data 43 One example of source file before debugging code is inserted 44 One example of source file after debugging code is inserted 45 File display Example of suppression information 46 Line number 47 Machine language start address 48 Machine language end address 49 Display suppression machine language start address 50 Display suppression machine language end address

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ファイル入力部、ファイル内行削除部、フ
ァイル表示部を備えるもので、ファイル表示抑制情報に
指定された領域をファイル表示部で表示しないことを特
徴とするファイル内容表示装置。
1. A file content display device comprising a file input unit, a file line deletion unit, and a file display unit, wherein an area specified in file display suppression information is not displayed on the file display unit.
【請求項2】請求項1の発明に、デバッグ情報内行番号
補正部を加えたもので、指定された行番号をファイル表
示抑制情報を元にデバッグ情報内の行番号を補正するこ
とを特徴とするプログラムデバッグ装置。
2. The system according to claim 1, further comprising a line number correction unit in the debug information, wherein the line number in the debug information is corrected based on the specified line number based on the file display suppression information. Program debugging device.
【請求項3】請求項2の発明に、表示抑制アドレス領域
情報生成部、逆アセンブル表示部を加えたもので、ファ
イル表示抑制情報で指定された領域に対応するアドレス
をデバッグ情報内行番号補正部と表示抑制アドレス領域
情報生成部から獲得し、そのアドレス領域の逆アセンブ
ル表示の際に強調表示もしくは隠蔽することを特徴とす
るプログラムデバッグ装置。
And a display suppression address area information generation section and a disassembly display section, wherein an address corresponding to an area specified by the file display suppression information is corrected by a line number correction section in the debug information. And a display suppression address area information generation unit, and highlights or hides the address area when disassembling and displaying the address area.
【請求項4】請求項2の発明に、表示抑制アドレス領域
情報生成部、リアルタイムトレース表示部を追加したも
ので、ファイル表示抑制情報で指定された領域に対応す
るアドレスをデバッグ情報内行番号補正部と表示抑制ア
ドレス領域情報生成部から獲得し、そのアドレス領域の
リアルタイムトレース表示を強調もしくは隠蔽すること
を特徴とするプログラムデバッグ装置。
4. The invention according to claim 2, further comprising a display suppression address area information generation section and a real-time trace display section, wherein an address corresponding to an area specified by the file display suppression information is corrected by a line number in the debug information. And a display suppression address area information generation unit for emphasizing or hiding a real-time trace display of the address area.
JP31674799A 1999-11-08 1999-11-08 Program debug device Pending JP2001134462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31674799A JP2001134462A (en) 1999-11-08 1999-11-08 Program debug device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31674799A JP2001134462A (en) 1999-11-08 1999-11-08 Program debug device

Publications (1)

Publication Number Publication Date
JP2001134462A true JP2001134462A (en) 2001-05-18

Family

ID=18080472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31674799A Pending JP2001134462A (en) 1999-11-08 1999-11-08 Program debug device

Country Status (1)

Country Link
JP (1) JP2001134462A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134462A (en) * 2007-11-29 2009-06-18 Toshiba Corp Debugging device and debugging method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134462A (en) * 2007-11-29 2009-06-18 Toshiba Corp Debugging device and debugging method
US8370810B2 (en) 2007-11-29 2013-02-05 Kabushiki Kaisha Toshiba Debugging device and debugging method

Similar Documents

Publication Publication Date Title
US5124989A (en) Method of debugging a computer program
US7721255B2 (en) Sequence program editing apparatus
JPH04178833A (en) Method for supporting software reuse
JP2008142788A (en) Operation program preparation supporting method and operation program preparing device
JP2009211622A (en) Contract definition function verification device, method thereof, and program thereof
JP2001134462A (en) Program debug device
JPH0863369A (en) Optimization information output system
JP2706558B2 (en) Ladder program editing method
JPH06242943A (en) Source code level debugging device
JPH11272500A (en) Debug method and debug device for the same and program storage medium
JP2008257390A (en) Unit and program for program inspection
JPH04347727A (en) Method and device for automatically correcting program
JP2010152428A (en) Program development support equipment, method, and program
JPH02194432A (en) System for generating material of program maintenance
JPH01237834A (en) System for editing and displaying load module
JPH11242590A (en) Support device for generation of graphic screen program
JPH0324638A (en) Routine tracing device
JPH0358225A (en) File editing system
JPH06259241A (en) Execution error message display method
JPH07191873A (en) Transition output system for value of variable at debugger
JPH05100836A (en) Source program notes line compiling device
JPH0588872A (en) Program structure diagram preparation processing system
JP2007257434A (en) Test command file generation system, method, and program
JPH01152535A (en) Method and device for managing program
JPH0350640A (en) Trace information editing system for execution program