JPH11212820A - System and method for tracing program execution process - Google Patents

System and method for tracing program execution process

Info

Publication number
JPH11212820A
JPH11212820A JP10018870A JP1887098A JPH11212820A JP H11212820 A JPH11212820 A JP H11212820A JP 10018870 A JP10018870 A JP 10018870A JP 1887098 A JP1887098 A JP 1887098A JP H11212820 A JPH11212820 A JP H11212820A
Authority
JP
Japan
Prior art keywords
trace information
trace
execution process
program
target module
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
JP10018870A
Other languages
Japanese (ja)
Inventor
Norikiyo Kudou
則清 工藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP10018870A priority Critical patent/JPH11212820A/en
Publication of JPH11212820A publication Critical patent/JPH11212820A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a program execution process tracing system which internally gathers trace information on a program without exerting any influence on the original process, and analyzes the trace information at a request and obtains and displays an execution sequence of the program. SOLUTION: A trace information analysis display program 20 allows a trace information acquisition part 22 to request a trace information informing mechanism 15 of an application program 10 to report trace information 14 first. When the trace information 14 is not reported in spite of the request, a trace information segmentation part 21 segments the trace information 14. Then a trace information analysis part 23 analyzes the trace information 14 which is thus obtained to obtain the execution sequence of the application program 10 and an execution sequence display part 24 displays the acquired execution sequence through a display.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、プログラムの実
行過程を追跡するプログラム実行過程追跡システムおよ
びプログラム実行過程追跡方法に関する。
The present invention relates to a program execution process tracking system and a program execution process tracking method for tracking a program execution process.

【0002】[0002]

【従来の技術】アプリケーションプログラムから発行さ
れた各要求(サービス)が、何らかの原因により無応答
などの応答遅延状態に陥った場合、そのプログラムの実
行シーケンスを解析するために、従来では以下のような
方法が用いられていた。 (方法1)デバッグモードでコンパイルおよびリンクし
た実行プログラムをデバッガの制御下で実行させ、問題
となるポイントを特定化させる。 (方法2)実行プログラムのメモリ状態を動的にアタッ
チまたはダンプすることにより、プログラムの実行状態
を解析する。
2. Description of the Related Art When each request (service) issued from an application program falls into a response delay state such as no response for some reason, the following is conventionally performed in order to analyze the execution sequence of the program. The method was used. (Method 1) The execution program compiled and linked in the debug mode is executed under the control of the debugger, and a problematic point is specified. (Method 2) The execution state of the program is analyzed by dynamically attaching or dumping the memory state of the execution program.

【0003】しかしながら、このような方法には、以下
のような欠点があった。 (方法1)デバッグモードでのコンパイルおよびリンク
により、実行プログラムのサイズが大きくなったり、あ
るいは実行が遅くなったりといったデメリットが伴なう
ため、通常に製品化するプログラムをデバッグモードで
提供されることはほとんどない。すなわち、問題とする
事象が発生したときに、それを解決することはできな
い。
However, such a method has the following disadvantages. (Method 1) Since compiling and linking in the debug mode involves disadvantages such as an increase in the size of an executable program and a slower execution, a program to be normally commercialized must be provided in the debug mode. Almost no. That is, when an event of interest occurs, it cannot be resolved.

【0004】(方法2)参照されるメモリダンプのイメ
ージと対応するプログラムとの論理的対応づけが難し
い。
(Method 2) It is difficult to logically associate a memory dump image to be referenced with a corresponding program.

【0005】[0005]

【発明が解決しようとする課題】このように、従来にお
いては、プログラムの実行シーケンスを解析する方法と
して、デバッグモードでコンパイルおよびリンクした実
行プログラムをデバッガの制御下で実行させ、問題とな
るポイントを特定化させる、あるいは、実行プログラム
のメモリ状態を動的にアタッチまたはダンプすることに
より、プログラムの実行状態を解析する、などの方法が
採られていたが、これらの方法には、デバッグモードで
のコンパイルおよびリンクにより、実行プログラムのサ
イズが大きくなったり、あるいは実行が遅くなったりと
いったデメリットが伴なうため、通常に製品化するプロ
グラムをデバッグモードで提供されることはほとんどな
いことから、問題とする事象が発生したときに、それを
解決することができない、あるいは、参照されるメモリ
ダンプのイメージと対応するプログラムとの論理的対応
づけが難しい、などの欠点が存在した。
As described above, in the prior art, as a method of analyzing the execution sequence of a program, an execution program compiled and linked in a debug mode is executed under the control of a debugger, and a problematic point is identified. Analyzing the execution state of the program by specifying it or by dynamically attaching or dumping the memory state of the execution program, etc., has been adopted. Compiling and linking have the disadvantages of increasing the size of the executable program or slowing down the execution, so it is unlikely that normally commercialized programs will be provided in debug mode. When something happens, it can be resolved. No or difficult logical correspondence between the memory dump referenced image and corresponding program, drawbacks such as were present.

【0006】この発明はこのような実情に鑑みてなされ
たものであり、たとえばアプリケーションプログラムか
ら発行された各種要求(サービス)が無応答などの応答
遅延状態に陥った場合にそのプログラムの実行シーケン
スを解析するため、内部的にトレース情報を採取する手
段とその内部的に採取されたトレース情報を外部から取
り出す手段とを連動させることにより、その要求が中断
している箇所とそこに至るまでの実行シーケンスとを効
率的に提示するプログラム実行過程追跡システムおよび
プログラム実行過程追跡方法を提供することを目的とす
る。
The present invention has been made in view of such circumstances. For example, when various requests (services) issued from an application program fall into a response delay state such as no response, the program execution sequence is changed. For analysis, the means for internally collecting trace information and the means for extracting the internally collected trace information from the outside are linked to execute the request where the request is interrupted and up to that point. It is an object of the present invention to provide a program execution process tracking system and a program execution process tracking method for efficiently presenting a sequence.

【0007】[0007]

【課題を解決するための手段】この発明は、前述した目
的を達成するために、追跡対象の目的モジュールのトレ
ース情報を採取するためのトレース採取モジュールと、
このトレース採取モジュールにより採取されたトレース
情報を読み出して要求元に通知するトレース情報通知モ
ジュールとをその目的モジュールと結合させ、通常動作
時には予め割り当てられたメモリ空間内に内部的にトレ
ース情報を採取していくとともに、プログラムが無応答
などの応答遅延状態に陥った場合には、トレース解析表
示用の外部モジュールがその採取されたトレース情報の
通知を要求し、受け取ったトレース情報を解析してその
解析結果(実行シーケンス)を表示するようにしたもの
である。
According to the present invention, in order to achieve the above-mentioned object, a trace collection module for collecting trace information of a target module to be tracked,
A trace information notification module that reads out the trace information collected by the trace collection module and notifies the request source of the information is combined with the target module, and during normal operation, the trace information is internally collected in a memory space allocated in advance. When the program goes into a response delay state such as no response, the external module for trace analysis display requests notification of the collected trace information, analyzes the received trace information, and analyzes the received trace information. The result (execution sequence) is displayed.

【0008】すなわち、この発明においては、プログラ
ムの実行シーケンスを追跡するのにデバッグモードでコ
ンパイルおよびリンクする必要がなく、また、メモリダ
ンプの読み取りなどを行なう必要もない。さらに、この
トレース情報は、メモリ空間内に内部的に採取されるも
のであるために、新たに大きなオーバヘッドを生み出す
こともなく、プログラム本来の処理にほとんど影響を与
えない。
That is, in the present invention, it is not necessary to compile and link in a debug mode to track the execution sequence of a program, and it is not necessary to read a memory dump or the like. Further, since this trace information is internally collected in the memory space, it does not create a new large overhead, and hardly affects the original processing of the program.

【0009】また、この発明は、トレース解析表示用の
外部モジュールがトレース情報の通知を要求した際、そ
の返答であるトレース情報の通知がないときに、トレー
ス解析表示用の外部モジュール自らがその採取されたト
レース情報の切り出しを行なうようにしたものである。
Further, according to the present invention, when an external module for trace analysis and display requests notification of trace information, and when there is no notification of trace information as a response to the request, the external module for trace analysis and display itself collects the information. The extracted trace information is cut out.

【0010】すなわち、この発明においては、プログラ
ムが要求を一切受け付けられないといった全体的な異常
状態に陥った場合であっても、その実行シーケンスを追
跡できることになる。
That is, according to the present invention, even if the program falls into an overall abnormal state such that the program cannot accept any requests, the execution sequence can be traced.

【0011】[0011]

【発明の実施の形態】以下、図面を参照してこの発明の
実施の形態を説明する。図1は、この発明の実施形態に
係るプログラム実行過程追跡システムの概略構成を示す
図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a schematic configuration of a program execution process tracking system according to an embodiment of the present invention.

【0012】図1に示すように、この実施形態のプログ
ラム実行過程追跡システムでは、アプリケーションプロ
グラム10内に、プログラムの実行シーケンスを追跡す
るのに必要なトレース情報14を採取するためのトレー
ス採取機構12と、このトレース情報14を読み取って
要求元に通知するトレース情報通知機構15とを組み込
んでおく。この組み込みは、たとえば図2に示すよう
に、ソースプログラムをコンパイルすることによって作
成されるオブジェクトプログラムと、トレース情報通知
機構オブジェクトおよびトレース採取機構オブジェクト
とをリンクすることなどによって行なう。
As shown in FIG. 1, in the program execution process tracking system of this embodiment, a trace collection mechanism 12 for collecting trace information 14 necessary for tracking a program execution sequence in an application program 10. And a trace information notifying mechanism 15 for reading the trace information 14 and notifying the request source. This incorporation is performed, for example, by linking an object program created by compiling a source program with a trace information notification mechanism object and a trace collection mechanism object, as shown in FIG.

【0013】このトレース採取機構12は、アプリケー
ションプログラム10の主処理部11から呼び出されて
動作するものであり、この呼び出しの際に引数としてい
ずれかのサービス13の識別子が与えられる。そして、
トレース採取機構12は、その識別子で示されるサービ
ス13を起動するとともに、この起動したサービス13
のトレース情報14を採取して、予め割り当てられたメ
モリ空間内に所定のフォーマットで格納する。すなわ
ち、主処理部11は、トレース情報14の採取を必要と
しないサービス13については自らが直接起動し、一
方、トレース情報14の採取を必要とするサービス13
についてのみ、このトレース採取機構12を介して起動
する。なお、トレース採取機構12は、このトレース情
報14格納用のメモリ空間を巡回させて使用する(割り
当てられたメモリ空間が一杯になったときには、最も古
いトレース情報14を破棄して、新たに採取したトレー
ス情報14を格納する)。
The trace collecting mechanism 12 is operated by being called from the main processing section 11 of the application program 10. At the time of this calling, the identifier of any one of the services 13 is given as an argument. And
The trace collection mechanism 12 activates the service 13 indicated by the identifier, and the activated service 13
And collects it in a predetermined format in a memory space allocated in advance. That is, the main processing unit 11 directly activates the service 13 which does not require the collection of the trace information 14, while the service 13 which does not require the collection of the trace information 14
Is activated via this trace collection mechanism 12 only. The trace collection mechanism 12 uses the memory space for storing the trace information 14 by circulating the memory space (when the allocated memory space is full, the oldest trace information 14 is discarded and newly collected. The trace information 14 is stored).

【0014】これにより、たとえば、サービス(a )か
らサービス(f)までを順番に起動すべく図3に示すよ
うに主処理部11を構成すると、その中のサービス
(c)およびサービス(e)のトレース情報14のみが
採取されることになる。
Thus, for example, when the main processing unit 11 is configured as shown in FIG. 3 to sequentially activate the service (a) to the service (f), the service (c) and the service (e) therein Only the trace information 14 is collected.

【0015】一方、トレース情報通知機構15は、トレ
ース情報14の通知を外部プログラムから要求される
と、トレース情報14の読み取りを行なうとともに、そ
の読み取ったトレース情報14の要求元への通知を実行
する。また、このトレース情報通知機構15は、主処理
部11、トレース採取機構12および各種サービス13
などとは独立して、別スレッドとして動作可能に構成さ
れる。
On the other hand, when an external program requests notification of the trace information 14, the trace information notification mechanism 15 reads the trace information 14 and notifies the read source of the read trace information 14 to the request source. . The trace information notification mechanism 15 includes a main processing unit 11, a trace collection mechanism 12, and various services 13
Independent of the above, it is configured to be operable as a separate thread.

【0016】また、この実施形態のプログラム実行過程
追跡システムでは、トレース採取機構12が採取したト
レース情報14を、トレース情報解析表示プログラム2
0により解析してその実行シーケンスを得る。
Further, in the program execution process tracking system of this embodiment, the trace information 14 collected by the trace collection mechanism 12 is stored in the trace information analysis and display program 2.
The execution sequence is obtained by analyzing with 0.

【0017】このトレース情報解析表示プログラム20
は、図1に示すように、トレース情報切り出し部21、
トレース情報取得部22、トレース情報解析部23およ
び実行シーケンス表示部24を備えている。
This trace information analysis display program 20
Is a trace information extracting unit 21 as shown in FIG.
A trace information acquisition unit 22, a trace information analysis unit 23, and an execution sequence display unit 24 are provided.

【0018】トレース情報切り出し部21は、アプリケ
ーションプログラム10に割り当てられたメモリ空間内
全体からトレース情報14を切り出す。この切り出し
は、トレース情報14の記憶形式として予め定められた
所定のフォーマットを検索することによって行なう。
The trace information extracting section 21 extracts the trace information 14 from the entire memory space allocated to the application program 10. This extraction is performed by searching for a predetermined format that is predetermined as a storage format of the trace information 14.

【0019】トレース情報取得部22は、アプリケーシ
ョンプログラム10のトレース情報通知機構15にトレ
ース情報14の通知を要求することにより、トレース情
報14を取得する。
The trace information acquiring unit 22 acquires the trace information 14 by requesting the trace information notifying unit 15 of the application program 10 to notify the trace information 14.

【0020】トレース情報解析部23は、まず、トレー
ス情報取得部22にトレース情報14の取得を依頼し、
このトレース情報取得部22によるトレース情報14の
取得が失敗したときにのみ(このときは、アプリケーシ
ョンプログラム10が全体的な異常状態にあると思われ
る)、トレース情報切り出し部21にトレース情報14
の切り出しを依頼する。そして、トレース情報解析部2
3は、これらトレース情報切り出し部21またはトレー
ス情報取得部22のいずれかから受け取ったトレース情
報14を解析して、アプリケーションプログラム10の
実行シーケンスを取得する。
The trace information analysis unit 23 first requests the trace information acquisition unit 22 to acquire the trace information 14,
Only when the acquisition of the trace information 14 by the trace information acquisition unit 22 fails (in this case, the application program 10 is considered to be in an overall abnormal state), the trace information
Ask for the cutout. And the trace information analysis unit 2
3 acquires the execution sequence of the application program 10 by analyzing the trace information 14 received from either the trace information extracting unit 21 or the trace information acquiring unit 22.

【0021】そして、実行シーケンス表示部24は、ト
レース情報解析部23の解析結果であるアプリケーショ
ンプログラム10の実行シーケンスを受け取って、ディ
スプレイなどを介して表示する。
The execution sequence display unit 24 receives the execution sequence of the application program 10 as the analysis result of the trace information analysis unit 23, and displays the execution sequence on a display or the like.

【0022】図4には、このトレース情報解析表示プロ
グラム20の動作手順が示されている。トレース情報解
析表示プログラム20は、まず、実行シーケンスの追跡
対象とするアプリケーションプログラム10を特定する
ための識別情報の入力を受け付け(ステップS1)、こ
の識別情報で特定されるアプリケーションプログラム1
0のトレース情報通知機構15に対して、トレース情報
取得部22がトレース情報の通知を要求する(ステップ
S2)。
FIG. 4 shows the operation procedure of the trace information analysis and display program 20. The trace information analysis display program 20 first receives input of identification information for specifying the application program 10 to be traced in the execution sequence (step S1), and the application program 1 specified by the identification information
The trace information acquiring unit 22 requests the trace information notifying unit 15 of 0 to notify the trace information (step S2).

【0023】この要求に対してトレース情報通知機構1
5からトレース情報14の通知がなかった場合(ステッ
プS3のNo)、トレース情報解析表示プログラム20
は、トレース情報切り出し部21によるトレース情報1
4の切り出しを実行する(ステップS4)。
In response to this request, the trace information notification mechanism 1
5 has not been notified of the trace information 14 (No in step S3), the trace information analysis display program 20
Is the trace information 1 by the trace information extracting unit 21.
4 is executed (step S4).

【0024】このようにしてトレース情報14が得られ
ると、トレース情報解析部23はこのトレース情報14
を解析し、アプリケーションプログラム10の実行シー
ケンスを取得する(ステップS5)。
When the trace information 14 is obtained in this manner, the trace information analyzer 23
Is analyzed to obtain an execution sequence of the application program 10 (step S5).

【0025】そして、実行シーケンス表示部24が、こ
のトレース情報解析部23の解析結果であるアプリケー
ションプログラム10の実行シーケンスをディスプレイ
などを介して表示する。
Then, the execution sequence display unit 24 displays the execution sequence of the application program 10 as the analysis result of the trace information analysis unit 23 via a display or the like.

【0026】このように、この実施形態のプログラム実
行過程追跡システムによれば、アプリケーションプログ
ラム10が応答遅延状態に陥った場合や、全体的な異常
状態に陥った場合など、その実行シーケンスを容易に追
跡できることになる。
As described above, according to the program execution process tracking system of this embodiment, the execution sequence of the application program 10 when the application program 10 is in a response delay state or in an overall abnormal state can be easily set. Will be able to track.

【0027】また、トレース情報14は、アプリケーシ
ョンプログラム10に割り当てられたメモリ空間内に格
納されるので、新たに大きなオーバヘッドを生み出すこ
ともなく、アプリケーションプログラム10本来の処理
にほとんど影響を与えない。
Further, since the trace information 14 is stored in the memory space allocated to the application program 10, it does not create a new large overhead and hardly affects the original processing of the application program 10.

【0028】なお、この発明の手法は、ソフトウェアと
して実現されるため、コンピュータによって実行させる
ことのできるプログラムとして、フロッピィディスク、
光ディスクおよび半導体メモリなどのコンピュータ読み
取り可能な記録媒体に格納して頒布することが可能であ
る。
Since the method of the present invention is realized as software, a program that can be executed by a computer includes a floppy disk,
It can be stored and distributed on a computer-readable recording medium such as an optical disk and a semiconductor memory.

【0029】[0029]

【発明の効果】以上詳述したように、この発明によれ
ば、内部的にトレース情報を採取する手段とその内部的
に採取されたトレース情報を外部から取り出す手段とを
連動させることにより、プログラムが無応答などの応答
遅延状態に陥った場合や、プログラムが要求を一切受け
付けられないといった全体的な異常状態に陥った場合の
実行シーケンスの追跡を、デバッグモードでコンパイル
およびリンクするなどといった必要がなく、また、メモ
リダンプの読み取りなどを行なう必要もなく、非常に効
率的に行なうことが可能となる。
As described above in detail, according to the present invention, a program for internally collecting trace information and a means for extracting the internally collected trace information from the outside are linked to each other. It is necessary to compile and link in the debug mode to track the execution sequence when the program falls into a response delay state such as no response, or when the program falls into an overall abnormal state where no requests can be accepted. There is no need to read a memory dump, etc., and it is possible to perform the reading very efficiently.

【0030】さらに、このトレース情報は、メモリ空間
内に内部的に採取されるものであるため、新たに大きな
オーバヘッドを生み出すこともなく、プログラム本来の
処理にほとんど影響を与えない。
Further, since this trace information is collected internally in the memory space, it does not create a new large overhead and hardly affects the original processing of the program.

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

【図1】この発明の実施形態に係るプログラム実行過程
追跡システムの概略構成を示す図。
FIG. 1 is a diagram showing a schematic configuration of a program execution process tracking system according to an embodiment of the present invention.

【図2】同実施形態のトレース採取機構およびトレース
情報通知機構のアプロケーションプログラムへの組み込
みを説明するための図。
FIG. 2 is an exemplary view for explaining incorporation of a trace collection mechanism and a trace information notification mechanism of the embodiment into an allocation program;

【図3】同実施形態のトレース情報の採取手順を例示す
る図。
FIG. 3 is an exemplary view showing a procedure for collecting trace information according to the embodiment;

【図4】同実施形態のトレース情報解析表示プログラム
の動作手順を示すフローチャート。
FIG. 4 is an exemplary flowchart showing the operation procedure of the trace information analysis and display program of the embodiment.

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

10…アプリケーションプログラム 11…主処理部 12…トレース採取機構 13…各種サービス 14…トレース情報 15…トレース情報通知機構 20…トレース情報解析表示プログラム 21…トレース情報切り出し部 22…トレース情報取得部 23…トレース情報解析部 24…実行シーケンス表示部 DESCRIPTION OF SYMBOLS 10 ... Application program 11 ... Main processing part 12 ... Trace collection mechanism 13 ... Various services 14 ... Trace information 15 ... Trace information notification mechanism 20 ... Trace information analysis display program 21 ... Trace information cut-out part 22 ... Trace information acquisition part 23 ... Trace Information analysis unit 24: execution sequence display unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 プログラムの実行過程を追跡するプログ
ラム実行過程追跡システムにおいて、 追跡対象の目的モジュールと結合され、その目的モジュ
ールのトレース情報を採取して前記目的モジュールまた
は自身の動作用に割り当てられたメモリ空間内に所定の
形式で格納するトレース採取手段と、 前記目的モジュールと結合され、前記トレース採取手段
により採取され前記メモリ空間内に格納されたトレース
情報を読み出して要求元に通知するトレース情報通知手
段と、 前記トレース情報通知手段に対して前記トレース情報の
通知を要求するトレース情報取得手段と、 前記トレース情報取得手段により取得されたトレース情
報を解析して前記目的モジュールの実行過程を取得する
トレース情報解析手段と、 前記トレース情報解析手段が取得した前記目的モジュー
ルの実行過程を表示する実行過程表示手段とを具備する
ことを特徴とするプログラム実行過程追跡システム。
1. A program execution process tracing system for tracing the execution process of a program, wherein the system is combined with a target module to be tracked, and trace information of the target module is collected and assigned to the target module or its own operation. A trace collection unit for storing in a predetermined format in a memory space, a trace information notification coupled to the target module, reading trace information collected by the trace collection unit and stored in the memory space, and notifying a read request to a request source Means, a trace information obtaining means for requesting the trace information notifying means to notify the trace information, and a trace for analyzing the trace information obtained by the trace information obtaining means to obtain an execution process of the target module. Information analysis means, and the trace information analysis means Program execution process tracking system characterized by comprising an execution process display means for displaying the execution process of the object modules.
【請求項2】 プログラムの実行過程を追跡するプログ
ラム実行過程追跡システムにおいて、 追跡対象の目的モジュールと結合され、その目的モジュ
ールのトレース情報を採取して前記目的モジュールまた
は自身の動作用に割り当てられたメモリ空間内に所定の
形式で格納するトレース採取手段と、 前記トレース採取手段により採取され前記メモリ空間内
に格納されたトレース情報を切り出すトレース情報切り
出し手段と、 前記トレース情報切り出し手段により切り出されたトレ
ース情報を解析して前記目的モジュールの実行過程を取
得するトレース情報解析手段と、 前記トレース情報解析手段が取得した前記目的モジュー
ルの実行過程を表示する実行過程表示手段とを具備する
ことを特徴とするプログラム実行過程追跡システム。
2. A program execution process tracing system for tracing the execution process of a program, wherein the system is combined with a target module to be tracked, and trace information of the target module is collected and assigned to the target module or its own operation. Trace collection means for storing in a predetermined format in a memory space, trace information extraction means for extracting trace information collected by the trace collection means and stored in the memory space, and trace extracted by the trace information extraction means Trace information analysis means for analyzing information to obtain the execution process of the target module; and execution process display means for displaying the execution process of the target module obtained by the trace information analysis means. Program execution process tracking system.
【請求項3】 プログラムの実行過程を追跡するプログ
ラム実行過程追跡システムにおいて、 追跡対象の目的モジュールと結合され、その目的モジュ
ールのトレース情報を採取して前記目的モジュールまた
は自身の動作用に割り当てられたメモリ空間内に所定の
形式で格納するトレース採取手段と、 前記目的モジュールと結合され、前記トレース採取手段
により採取され前記メモリ空間内に格納されたトレース
情報を読み出して要求元に通知するトレース情報通知手
段と、 前記トレース情報通知手段に対して前記トレース情報の
通知を要求するトレース情報取得手段と、 前記トレース採取手段により採取され前記メモリ空間内
に格納されたトレース情報を切り出すトレース情報切り
出し手段と、 前記トレース情報取得手段により取得されたトレース情
報または前記トレース情報切り出し手段により切り出さ
れたトレース情報を解析して前記目的モジュールの実行
過程を取得するトレース情報解析手段と、 前記トレース情報解析手段が取得した前記目的モジュー
ルの実行過程を表示する実行過程表示手段とを具備する
ことを特徴とするプログラム実行過程追跡システム。
3. A program execution process tracing system for tracing the execution process of a program, wherein the system is combined with a target module to be tracked, and trace information of the target module is collected and assigned to the target module or its own operation. A trace collection unit for storing in a predetermined format in a memory space, a trace information notification coupled to the target module, reading trace information collected by the trace collection unit and stored in the memory space, and notifying a read request to a request source Means, a trace information obtaining means for requesting the trace information notifying means to notify the trace information, a trace information extracting means for extracting the trace information collected by the trace collecting means and stored in the memory space, Acquired by the trace information acquisition means Trace information analyzing means for analyzing the race information or the trace information extracted by the trace information extracting means to obtain the execution process of the target module; and displaying the execution process of the target module obtained by the trace information analysis means. A program execution process tracking system, comprising: an execution process display unit.
【請求項4】 プログラムの実行過程を追跡するプログ
ラム実行過程追跡方法において、 トレース情報を採取して予め割り当てられたメモリ空間
内に所定の形式で格納するトレース採取手段およびこの
トレース採取手段により採取され前記メモリ空間内に格
納されたトレース情報を読み出して要求元に通知するト
レース情報通知手段を追跡対象の目的モジュールに結合
するステップと、 前記トレース情報通知手段に対して前記トレース情報の
通知を要求するステップと、 前記取得されたトレース情報を解析して前記目的モジュ
ールの実行過程を取得するステップと、 前記取得した前記目的モジュールの実行過程を表示する
ステップとを具備することを特徴とするプログラム実行
過程追跡方法。
4. A program execution process tracing method for tracing an execution process of a program, comprising: a trace collection unit that collects trace information and stores it in a predetermined format in a memory space allocated in advance; Coupling trace information notifying means for reading out the trace information stored in the memory space and notifying the request source to a target module to be traced; and requesting the trace information notifying means to notify the trace information. Analyzing the acquired trace information to obtain an execution process of the target module; and displaying the obtained execution process of the target module. Tracking method.
【請求項5】 プログラムの実行過程を追跡するプログ
ラム実行過程追跡方法において、 トレース情報を採取して予め割り当てられたメモリ空間
内に所定の形式で格納するトレース採取手段を追跡対象
の目的モジュールに結合するステップと、 前記トレース採取手段により採取され前記メモリ空間内
に格納されたトレース情報を切り出すステップと、 前記切り出されたトレース情報を解析して前記目的モジ
ュールの実行過程を取得するステップと、 前記取得した前記目的モジュールの実行過程を表示する
ステップとを具備することを特徴とするプログラム実行
過程追跡方法。
5. A program execution process tracing method for tracing a program execution process, wherein a trace collection means for collecting trace information and storing it in a predetermined format in a memory space allocated in advance is connected to a target module to be tracked. Performing the step of extracting the trace information collected by the trace collection unit and stored in the memory space; analyzing the extracted trace information to obtain an execution process of the target module; Displaying the execution process of the target module as described above.
【請求項6】 プログラムの実行過程を追跡するプログ
ラム実行過程追跡方法において、 トレース情報を採取して予め割り当てられたメモリ空間
内に所定の形式で格納するトレース採取手段およびこの
トレース採取手段により採取され前記メモリ空間内に格
納されたトレース情報を読み出して要求元に通知するト
レース情報通知手段を追跡対象の目的モジュールに結合
するステップと、 前記トレース情報通知手段に対して前記トレース情報の
通知を要求するステップと、 前記要求に対して前記トレース情報通知手段からの前記
トレース情報の通知がないときに、前記トレース採取手
段により採取され前記メモリ空間内に格納されたトレー
ス情報を切り出すステップと、 前記通知されたトレース情報または前記切り出されたト
レース情報を解析して前記目的モジュールの実行過程を
取得するステップと、 前記取得した前記目的モジュールの実行過程を表示する
ステップとを具備することを特徴とするプログラム実行
過程追跡方法。
6. A program execution process tracing method for tracing an execution process of a program, comprising: a trace collection unit for collecting trace information and storing it in a predetermined format in a memory space allocated in advance; Coupling trace information notifying means for reading out the trace information stored in the memory space and notifying the request source to a target module to be traced; and requesting the trace information notifying means to notify the trace information. Cutting out the trace information collected by the trace collection unit and stored in the memory space when there is no notification of the trace information from the trace information notification unit in response to the request; Trace information or the extracted trace information Wherein acquiring the execution process of the object module, the program execution process tracking method characterized by comprising the step of displaying the execution process of the object modules in which the acquired by.
【請求項7】 プログラムの実行過程を追跡するための
プログラムであって、 トレース情報を採取して予め割り当てられたメモリ空間
内に所定の形式で格納するトレース採取手段およびこの
トレース採取手段により採取され前記メモリ空間内に格
納されたトレース情報を読み出して要求元に通知するト
レース情報通知手段を追跡対象の目的モジュールに結合
し、 前記トレース情報通知手段に対して前記トレース情報の
通知を要求し、 前記取得されたトレース情報を解析して前記目的モジュ
ールの実行過程を取得し、 前記取得した前記目的モジュールの実行過程を表示する
ようにコンピュータを動作させるプログラムを記録した
コンピュータ読み取り可能な記録媒体。
7. A program for tracing an execution process of a program, comprising: a trace collection unit for collecting trace information and storing the same in a predetermined format in a memory space allocated in advance; and a program collected by the trace collection unit. Coupling trace information notifying means for reading out the trace information stored in the memory space and notifying the request source to a target module to be traced, requesting the trace information notifying means to notify the trace information, A computer-readable recording medium that records a program for operating a computer to analyze the acquired trace information to acquire an execution process of the target module, and to display the acquired execution process of the target module.
【請求項8】 プログラムの実行過程を追跡するための
プログラムであって、 トレース情報を採取して予め割り当てられたメモリ空間
内に所定の形式で格納するトレース採取手段を追跡対象
の目的モジュールに結合し、 前記トレース採取手段により採取され前記メモリ空間内
に格納されたトレース情報を切り出し、 前記切り出されたトレース情報を解析して前記目的モジ
ュールの実行過程を取得し、 前記取得した前記目的モジュールの実行過程を表示する
ようにコンピュータを動作させるプログラムを記録した
コンピュータ読み取り可能な記録媒体。
8. A program for tracing the execution process of a program, wherein a trace collection means for collecting trace information and storing it in a predetermined format in a memory space allocated in advance is connected to a target module to be tracked. Extracting the trace information collected by the trace collection unit and stored in the memory space; analyzing the extracted trace information to obtain an execution process of the target module; and executing the obtained target module. A computer-readable storage medium storing a program for operating a computer to display a process.
【請求項9】 プログラムの実行過程を追跡するための
プログラムであって、 トレース情報を採取して予め割り当てられたメモリ空間
内に所定の形式で格納するトレース採取手段およびこの
トレース採取手段により採取され前記メモリ空間内に格
納されたトレース情報を読み出して要求元に通知するト
レース情報通知手段を追跡対象の目的モジュールに結合
し、 前記トレース情報通知手段に対して前記トレース情報の
通知を要求し、 前記要求に対して前記トレース情報通知手段から前記ト
レース情報の通知がないときに、前記トレース採取手段
により採取され前記メモリ空間内に格納されたトレース
情報を切り出し、 前記通知されたトレース情報または前記切り出されたト
レース情報を解析して前記目的モジュールの実行過程を
取得し、 前記取得した前記目的モジュールの実行過程を表示する
ようにコンピュータを動作させるプログラムを記録した
コンピュータ読み取り可能な記録媒体。
9. A program for tracing the execution process of a program, comprising: a trace collection means for collecting trace information and storing it in a predetermined format in a memory space allocated in advance; Coupling trace information notifying means for reading out the trace information stored in the memory space and notifying the request source to a target module to be traced, requesting the trace information notifying means to notify the trace information, When there is no notification of the trace information from the trace information notifying means in response to the request, the trace information collected by the trace collecting means and stored in the memory space is cut out, and the notified trace information or the cut out Analyzing the trace information obtained, and acquiring the execution process of the target module, The acquired purpose computer readable recording medium recording a program for operating the computer to display the execution process of the module.
JP10018870A 1998-01-30 1998-01-30 System and method for tracing program execution process Pending JPH11212820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10018870A JPH11212820A (en) 1998-01-30 1998-01-30 System and method for tracing program execution process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10018870A JPH11212820A (en) 1998-01-30 1998-01-30 System and method for tracing program execution process

Publications (1)

Publication Number Publication Date
JPH11212820A true JPH11212820A (en) 1999-08-06

Family

ID=11983587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10018870A Pending JPH11212820A (en) 1998-01-30 1998-01-30 System and method for tracing program execution process

Country Status (1)

Country Link
JP (1) JPH11212820A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018477A (en) * 2004-06-30 2006-01-19 Canon Software Inc Sequence information generation system, sequence information generation method, program, and recording medium
JP2006260596A (en) * 2001-09-28 2006-09-28 Ricoh Co Ltd Drawing information acquiring method, program for executing this method by computer, and image forming device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260596A (en) * 2001-09-28 2006-09-28 Ricoh Co Ltd Drawing information acquiring method, program for executing this method by computer, and image forming device
JP2006018477A (en) * 2004-06-30 2006-01-19 Canon Software Inc Sequence information generation system, sequence information generation method, program, and recording medium

Similar Documents

Publication Publication Date Title
US5450349A (en) Computer system performance evaluation system and method
US6202199B1 (en) System and method for remotely analyzing the execution of computer programs
US4845615A (en) Software performance analyzer
US6738928B1 (en) Method and expert system for analysis of crash dumps
JPH06208486A (en) Method of selective data capture for software exception condition
US20070266376A1 (en) Kernel-aware debugging system, medium, and method
US8032869B2 (en) Profiling method and computer product
JPH05197594A (en) Method and system for capturing and reducing resource data for data processing system in real time
JPH09218800A (en) Method and device for analyzing software executed in incorporation system
CN107220175B (en) Application program endless loop positioning method and device, computer equipment and storage medium
US5884082A (en) Method for monitoring a digital multiprocessor
JP6119535B2 (en) Trace method, processing program, and information processing apparatus
KR20120115426A (en) Information processing device, information processing method, and program
JP2010033543A (en) Software operation monitoring system, client computer, server computer thereof, and program thereof
US20150127985A1 (en) Information processing apparatus and access control method
CN110750416A (en) Method and device for automatically processing fault information
JPH11212820A (en) System and method for tracing program execution process
JPH07182182A (en) Collecting device for system information
CN111597111A (en) Application program starting speed monitoring method and device
Krinkin et al. Android Memory Inspection Techniques and Tools
Carpenter et al. Investigation into the use of machine learning to detect memory leaks during continuous integration testing of observatory control software
JP2998793B2 (en) Test method for information processing equipment
JP2626131B2 (en) Multitask program debugging method
JP2979553B2 (en) Fault diagnosis method
JP2001005699A (en) Computer system and method for sampling fault information