JPH01295342A - Trace system - Google Patents

Trace system

Info

Publication number
JPH01295342A
JPH01295342A JP63126232A JP12623288A JPH01295342A JP H01295342 A JPH01295342 A JP H01295342A JP 63126232 A JP63126232 A JP 63126232A JP 12623288 A JP12623288 A JP 12623288A JP H01295342 A JPH01295342 A JP H01295342A
Authority
JP
Japan
Prior art keywords
trace
areas
information
separating
conditions
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
JP63126232A
Other languages
Japanese (ja)
Inventor
Tokunori Takei
武井 徳範
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 JP63126232A priority Critical patent/JPH01295342A/en
Publication of JPH01295342A publication Critical patent/JPH01295342A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To keep the contents of a trace area showing the processing process for the specific processing result by using a condition table which supplies the separating conditions of trace areas and separating the specific one of plural trace areas when the separating conditions are satisfied. CONSTITUTION:A trace means 2 writes successively the processing result obtained at a prescribed time point and the trace information on the control information into the trace areas 4 by the function of a program 1 and based on a trace step. A condition table 5 describes and stores the separating conditions that specify the areas 4 respectively. A separation means 3 compares the contents of the table 5 with the trace information and separates a specific area 4 out of plural areas 4 when the conditions, i.e., the contents of the table 5 are satisfied. Thus the trace information on the process reaching the specific processing result is never lost.

Description

【発明の詳細な説明】 C産業上の利用分野) 本発明は情報処理システム、あるいはプログラムの保守
システムにおけるトレース方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application) The present invention relates to a tracing method in an information processing system or a program maintenance system.

(従来の技術) 従来、この種の情報処理システムにおいては1つ以上の
トレース領域にトレース情報を順次記憶するのみであっ
た。
(Prior Art) Conventionally, in this type of information processing system, trace information has only been sequentially stored in one or more trace areas.

(発明が解決しようとする課題) 上述し六従来のトレース方式では、プログラムがある特
定の処理結果を出力したときに、その処理結果に至った
過程やプログラムの制御状態を後に解析しようとしても
、トレース領域が有限な虎めに他のプログラムの実行に
よって生成されたトレース情報が書込まれて、上記プロ
グラムのトレース情報を失ってしまうという欠点があっ
た。
(Problems to be Solved by the Invention) In the above-mentioned six conventional tracing methods, when a program outputs a certain processing result, even if you later try to analyze the process that led to that processing result or the control state of the program, There is a drawback that the trace information generated by the execution of another program is written into the finite trace area, causing the trace information of the program to be lost.

本発明の目的は、トレース情報をトレース手段で複数の
トレース領域に記憶しておき、トレース領域を切離す条
件とトレース情報とを比較し、トレース情報が上記条件
を満足したときに限って複数のトレース領域から特定さ
れた1つの領域を切離すことにより上記欠点を除去し、
トレース情報の失われることのないように構成し九トレ
ース方式を提供することにある。
An object of the present invention is to store trace information in a plurality of trace areas by a tracing means, compare the trace information with conditions for separating the trace area, and only when the trace information satisfies the above conditions, store the trace information in a plurality of trace areas. Eliminate the above drawback by separating one area identified from the trace area,
The object of the present invention is to provide a nine-trace method configured so that trace information is not lost.

(課題を解決するための手段) 本発明によるトレース方式は、複数のトレース領域と、
トレース手段と、条件表さ、切離し手段とを具備して構
成し念ものである。
(Means for Solving the Problems) The tracing method according to the present invention includes a plurality of tracing areas,
Preferably, the system is configured to include a tracing means, a condition table, and a separating means.

複数のトレース領域は、予め定められた時点でプログラ
ムの処理結果や制御情報をトレース情報として、時系列
に従って記憶するためのものである。
The plurality of trace areas are for storing program processing results and control information as trace information in chronological order at predetermined times.

トレース手段は、トレース情報を複数のトレース領域に
記憶させろ丸めのものである。
The tracing means stores trace information in a plurality of trace areas.

条件表は、複数のトレース領域をそれぞれ特定し念切離
し条件を記述して格納するためのものである。
The condition table is for specifying each of a plurality of trace areas and describing and storing the conditions for intentional disconnection.

切離し手段は、条件表の内容とトレース情報とを比較判
定し、上記条件表の内容である条件を満足したときに、
複数のトレース領域から特定のトレース領域を切離すた
めのものである。
The separation means compares and determines the contents of the condition table with the trace information, and when the conditions as the contents of the condition table are satisfied,
This is for separating a specific trace area from multiple trace areas.

(実施例) 次に、本発明につ嘩ハて図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明によるトレース方式の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of the tracing method according to the present invention.

w41図を参照すると本発明の一実施例はプログラム1
と、トレース手段2と、切離し手段3と、トレース領域
4と、条件表5とから構成されている。
Referring to figure w41, one embodiment of the present invention is program 1.
, a tracing means 2, a separating means 3, a tracing area 4, and a condition table 5.

@2図は、第1図に示すトレース手段2の動作を示す流
れ図である。、第2図において、切離し手段3はトレー
ス手段2の動作後に起動される。
Figure @2 is a flowchart showing the operation of the tracing means 2 shown in Figure 1. , in FIG. 2, the disconnecting means 3 are activated after the operation of the tracing means 2. In FIG.

第3図は、第1図に示す切離し手段3の動作を示す流れ
図である。第3図において、切離し手段3はトレース領
域4の切離し条件について判定し、条件が満足されてい
るときに限ってトレース領域4の1つを切離す。
FIG. 3 is a flowchart showing the operation of the separating means 3 shown in FIG. In FIG. 3, the separating means 3 determines the conditions for separating the trace areas 4 and separates one of the trace areas 4 only when the conditions are satisfied.

第4図は、第1図に示すトレース領域4の領域a −d
の相互の関係を示す説明図である。
FIG. 4 shows areas a to d of the trace area 4 shown in FIG.
FIG.

第5図は、第1図に示す切離し手段3において使用され
る切離し条件の条件表Sの内容を示す説明図である。第
5図において、条件表5は処理結果1〜8により構成さ
れている。
FIG. 5 is an explanatory diagram showing the contents of a condition table S of separation conditions used in the separation means 3 shown in FIG. In FIG. 5, condition table 5 is composed of processing results 1 to 8.

次に、本発明の動作について図面を参照して説明する。Next, the operation of the present invention will be explained with reference to the drawings.

プログラム1の動作により、トレース手段2は予め定め
られた時点の処理結果や制御情報のトレース情報をトレ
ースステップに従って、順次、トレース領域4に書込む
、 通常、トレース領域4は領域a−d、a−da・・・の
頒で使用される。
Through the operation of the program 1, the trace means 2 sequentially writes processing results and control information trace information at predetermined times into the trace area 4 according to the trace steps. Used in the distribution of -da...

次に、切離し手段3の起動ステップに入って、第2図に
従って切離し手段3が起動される。切離し手段3は、@
8図に従って条件判定ステップによって当該時点で書込
まれなトレース情報の処理結果と、駕5図の条件表5に
格納されている複数の処理結果とを順次、比較判定する
。いずれかの条件が満足されていると、その時点のトレ
ース領域4の領域a −dのいずれかを切離す。
Next, a step of starting the separating means 3 is entered, and the separating means 3 is activated according to FIG. The separation means 3 is @
According to FIG. 8, in the condition determination step, the processing result of the trace information that is not written at the current time and the plurality of processing results stored in the condition table 5 of FIG. 5 are sequentially compared and determined. If any of the conditions is satisfied, one of regions a to d of the trace region 4 at that time is separated.

領域Cが切離されたものとすると、以後、領域a、b、
d、  a、b、d、*−書に従ってトレースが繰返さ
れ、領域Cが使用されない。
Assuming that area C has been separated, areas a, b,
Tracing is repeated according to d, a, b, d, *-, and area C is not used.

(発明の効果) 以上説明したように本発明は、トレース領域の切離し条
件を与える条件表を用いてトレース情報の処理結果を判
定し、切離し条件が満足されたときには複数のトレース
領域のうちの特定の1つを切離すととKより、プログラ
ムの実行時に出力された特定の処理結果について処理の
過程を示すトレース領域の内容を残すことができるとい
う効果がある。
(Effects of the Invention) As described above, the present invention determines the processing result of trace information using a condition table that provides conditions for separating trace areas, and when the separation conditions are satisfied, it identifies one of a plurality of trace areas. By separating one of them, there is an effect that the contents of the trace area indicating the process of a specific processing result output when the program is executed can be left.

よって、上記トレース領域の内容を後に解析することが
できるので、情報処理システムやプログラムなどの保守
性を向上することができるという効果がある。
Therefore, since the contents of the trace area can be analyzed later, there is an effect that the maintainability of the information processing system, programs, etc. can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明によるトレース方式の一実施例を示す
ブロック図である。 藁2図は、第1図に示すトレース手段の動作を示す流れ
図である。 第3図は、第1図に示す切離し手段の動作を示す流れ図
である。 第4図は、第1図に示すトレース領域の領域a〜dの相
互関係を示す説明図である。 @5図は、第1図に示す切離し手段において使用される
切離し条件の条件界の内容を示す説明図である。 ?−・Φプログラム 211−磨トレース手段 3・−・切離し手段 4・@−トレース領域 5・・・条件表
FIG. 1 is a block diagram showing an embodiment of the tracing method according to the present invention. Figure 2 is a flow chart showing the operation of the tracing means shown in Figure 1. FIG. 3 is a flowchart showing the operation of the separating means shown in FIG. FIG. 4 is an explanatory diagram showing the mutual relationship between areas a to d of the trace area shown in FIG. 1. @Figure 5 is an explanatory diagram showing the contents of the conditional field of the separation condition used in the separation means shown in FIG. 1. ? -・Φ program 211--polishing tracing means 3----separating means 4・@-trace area 5...condition table

Claims (1)

【特許請求の範囲】[Claims] 予め定められた時点でプログラムの処理結果や制御情報
をトレース情報として時系列に従つて記憶するための複
数のトレース領域と、前記トレース情報を前記複数のト
レース領域に記憶させるためのトレース手段と、前記複
数のトレース領域をそれぞれ特定した切離し条件を記述
して格納するための条件表と、前記条件表の内容と前記
トレース情報とを比較判定し、前記条件表の内容である
条件を満足したときに前記複数のトレース領域から前記
特定のトレース領域を切離すための切離し手段とを具備
して構成したことを特徴とするトレース方式。
a plurality of trace areas for storing program processing results and control information as trace information in chronological order at predetermined points in time; a tracing means for storing the trace information in the plurality of trace areas; A condition table for describing and storing separation conditions that specify each of the plurality of trace areas, and when the contents of the condition table and the trace information are compared and determined, and the conditions that are the contents of the condition table are satisfied. and a separating means for separating the specific trace area from the plurality of trace areas.
JP63126232A 1988-05-24 1988-05-24 Trace system Pending JPH01295342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63126232A JPH01295342A (en) 1988-05-24 1988-05-24 Trace system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63126232A JPH01295342A (en) 1988-05-24 1988-05-24 Trace system

Publications (1)

Publication Number Publication Date
JPH01295342A true JPH01295342A (en) 1989-11-29

Family

ID=14930052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63126232A Pending JPH01295342A (en) 1988-05-24 1988-05-24 Trace system

Country Status (1)

Country Link
JP (1) JPH01295342A (en)

Similar Documents

Publication Publication Date Title
KR870006446A (en) Real time processing control system
JPS63238630A (en) Interruption controller for microprocessor
JPH01295342A (en) Trace system
JP3660083B2 (en) Task margin analysis device, task margin analysis method, and recording medium storing task margin analysis program
JPH05233278A (en) Method for branching processing to plural processing routines
JPH0589048A (en) Command processing system
JPS62135958A (en) Simulation system
JPH0477911A (en) Input control system for input device
JPS62216036A (en) Program deciding system
JPS62274339A (en) Simple system for parameter generation
JPH05127945A (en) Program execution situation analysis system
JPH04116721A (en) System definition directive analysis system
JPH0250730A (en) Language converting system based upon common machine word
JPS61183705A (en) Operating trace processing method of programmable controller
JPH04138575A (en) Device for repreparing finite element data
JPH03278245A (en) Tracing system
JPH01283637A (en) Inference controller which can be defined by user
JPS63140340A (en) Information acquiring system for abnormal completion of task
JPS61123929A (en) Data retrieval system
JPH05313944A (en) Program analyzing system for multiprocessor system
JPS63316143A (en) Error informing system
JP2005149179A (en) Object number adjustment device
JPH06236261A (en) Separating system for procedure language program component
JPH03240154A (en) Command input method
JPH02130652A (en) Data restoring system