JPH01112439A - Partial trace picking system - Google Patents

Partial trace picking system

Info

Publication number
JPH01112439A
JPH01112439A JP62272801A JP27280187A JPH01112439A JP H01112439 A JPH01112439 A JP H01112439A JP 62272801 A JP62272801 A JP 62272801A JP 27280187 A JP27280187 A JP 27280187A JP H01112439 A JPH01112439 A JP H01112439A
Authority
JP
Japan
Prior art keywords
trace
data processing
control field
processing
data
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
JP62272801A
Other languages
Japanese (ja)
Inventor
Hiroko Sakuma
佐久間 裕子
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 JP62272801A priority Critical patent/JPH01112439A/en
Publication of JPH01112439A publication Critical patent/JPH01112439A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute an efficient trace by picking the trace only for a part indicated by a value set at a control field. CONSTITUTION:A user program 1 is programmed using a data processing pattern 2 to previously determine the flow of a data processing. Thus, the program 1 realizes its data processing by suitably executing a data processing part 3 and a debugging processing part 4 according to the logic of the data processing indicated by the pattern 2. A trace picking existence determining means 5 of the processing part 4 refers to the value of a control field 7 and instructs a trace picking means 6 to pick the trace only for the part indicated by the set value. A control field setting means 8 sets the value of the part from which the trace is to be picked at the control field 7.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は所定のデータ処理パターンを用いてプログラミ
ングした利用者プログラムをデバッグする処理に関し、
特に、利用者プログラムの実行中に、必要な分だけデー
タ処理パターンにおける入出力データをトレースするこ
とを可能とする部分トレース、採取方式に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a process for debugging a user program programmed using a predetermined data processing pattern.
In particular, the present invention relates to a partial tracing and collection method that allows input/output data in a data processing pattern to be traced as much as necessary during execution of a user program.

(従来の技術) 従来、この種のトレース採取方式は、利用者プログラム
の翻訳時に、トレースを採取する旨の指示を与えること
により、データ処理パターン内にトレース採取処理を固
定的に組込み、利用者10グラムの実行中に、データ処
理パターンが実行されるごとに常時その入出力データを
トレースする方式となっていた。
(Prior art) Conventionally, this type of trace collection method fixedly incorporates trace collection processing into the data processing pattern by giving an instruction to collect a trace when a user program is translated. During the execution of 10grams, the input/output data was constantly traced every time a data processing pattern was executed.

(発明が解決しようとする問題点) 上述した従来のトレース採取方式は、利用者プログラム
の実行時に、処理パターンが実行されるごとに常時その
入出力データをトレースするので、必要のないトレース
も採取しなければならず、無駄なトレース時間がかかる
という問題点があった。
(Problem to be Solved by the Invention) The conventional trace collection method described above constantly traces input/output data each time a processing pattern is executed when a user program is executed, so unnecessary traces are also collected. There was a problem that unnecessary tracing time was required.

(問題点を解決するための手段) 上述した従来の問題点を解決するために本発明が提供す
る部分トレース採取方式は、使用頻度の高いデータ処理
の流れを幾つか洗い出し、その中でデータの入力処理、
データの加工処理及びデータの出力処理の順に整理でき
るものをパターン化して固定的なデータ処理のロジック
をもつデータ処理パターンとし、利用者にデータ処理の
流れを手続的に書かせることなく必要なデータ処理パタ
ーンを選択させるだけでプログラミングできる言語を提
供し、前記データ処理パターンは、本来のデータ処理部
とそのデータ処理パターンにおける入出力データをトレ
ースするデバッグ処理部とを備え、前記言語を用いてプ
ログラミングした利用者プログラムのトレースを採取す
る方式において、前記データ処理パターンにおける入出
力データのうちの利用者がトレースしたい部分を示すコ
ントロールフィールドと、このコントロールフィール 
 ′ドに前記利用者がトレースしたい部分を示す値を設
定する手段と、前記コントロールフィールドの値により
、トレース採取の有無を決定する手段と、このトレース
採取有無決定手段がトレースの採取を決定した部分のト
レースを採取する手段とを有し、前記トレース採取有無
決定手段及びトレース採取手段は、前記デバッグ処理部
に含まれていることを特徴とする。
(Means for Solving the Problems) In order to solve the above-mentioned conventional problems, the partial trace collection method provided by the present invention identifies several frequently used data processing flows and analyzes the data among them. input processing,
Data processing patterns that can be organized in the order of data processing and data output processing are created into data processing patterns that have a fixed data processing logic, and the necessary data can be processed without requiring the user to procedurally write the data processing flow. The present invention provides a language that allows programming simply by selecting a processing pattern, and the data processing pattern includes an original data processing section and a debug processing section that traces input/output data in the data processing pattern. In a method for collecting a trace of a user program that has been executed, a control field indicating a part of the input/output data in the data processing pattern that the user wants to trace, and this control field are provided.
means for setting a value indicative of the portion that the user desires to trace in the field, means for determining whether or not to collect a trace based on the value of the control field, and the portion for which the trace collection is determined by the means for determining whether to collect a trace and a means for collecting a trace, and the trace collection means and the trace collection means are included in the debug processing section.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の部分トレース採取方式の構
成を示す図である。
FIG. 1 is a diagram showing the configuration of a partial trace collection method according to an embodiment of the present invention.

図中、1は利用者プログラム、2はデータ処理パターン
、3はデータ処理部、4はデバッグ処理部、5はトレー
ス採取有無決定手段、6はトレース採取手段、7はコン
トロールフィールド、8はコントロールフィールド設定
手段をそれぞれ示す。
In the figure, 1 is a user program, 2 is a data processing pattern, 3 is a data processing section, 4 is a debug processing section, 5 is a means for determining whether or not to collect traces, 6 is a means for collecting traces, 7 is a control field, and 8 is a control field Each setting means is shown below.

利用者プログラム1は、データ処理の流れを予め定めた
データ処理パターン2を用いてプログラミングされてい
る。このようにしてプログラミングされた利用者プログ
ラム1は、データ処理パターン2が示すデータ処理のロ
ジックに従って、データ処理部3とデバッグ処理部4と
を適宜実行することにより、その処理が実現される。デ
バッグ処理部4のトレース採取有無決定手段5は、コン
トロールフィールド7の値を参照し、設定された値が示
す部分についてのみトレースを採取するようトレース採
取手段6に対して指示する。コントロールフィールド設
定手段8は、コントロールフィールド7にトレースを採
取したい部分の値を設定する。この値は、利用者プログ
ラム1がらも外部からも参照できるものである。
The user program 1 is programmed using a data processing pattern 2 that predetermines the flow of data processing. The user program 1 programmed in this way executes its processing by appropriately executing the data processing section 3 and the debug processing section 4 according to the data processing logic indicated by the data processing pattern 2. The trace collection determination means 5 of the debug processing unit 4 refers to the value of the control field 7 and instructs the trace collection means 6 to collect a trace only for the portion indicated by the set value. The control field setting means 8 sets in the control field 7 the value of the portion for which a trace is to be collected. This value can be referenced both from the user program 1 and from outside.

(発明の効果) 以上に説明したように本発明は、所定のデータ処理パタ
ーンを用いてプログラミングされている利用者プログラ
ムのデバッグ処理において、コントロールフィールドに
設定した値が示す部分についてのみ、トレースを採取す
るので、無駄なトレースを採取することなく必要な部分
のみのトレースを採取する効率のよいトレースを行うこ
とができるという効果がある。
(Effects of the Invention) As explained above, the present invention collects traces only for the portion indicated by the value set in the control field during debugging of a user program programmed using a predetermined data processing pattern. Therefore, there is an effect that efficient tracing can be performed by collecting only the necessary part of the trace without collecting unnecessary traces.

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

第1図は本発明の一実施例の部分トレース採取方式の構
成を示す図である。 1・・・利用者プログラム、2・・・データ処理パター
ン、3・・・データ処理部、4・・・デバッグ処理部、
5・・・トレース採取有無決定手段、6・・・トレース
採取手段、7・・・コントロールフィールド、8・・・
コントロールフィールド設定手段。
FIG. 1 is a diagram showing the configuration of a partial trace collection method according to an embodiment of the present invention. 1... User program, 2... Data processing pattern, 3... Data processing section, 4... Debug processing section,
5... Trace collection presence/absence determining means, 6... Trace collection means, 7... Control field, 8...
Control field setting means.

Claims (1)

【特許請求の範囲】 使用頻度の高いデータ処理の流れを幾つか洗い出し、そ
の中でデータの入力処理、データの加工処理及びデータ
の出力処理の順に整理できるものをパターン化して固定
的なデータ処理のロジックをもつデータ処理パターンと
し、利用者にデータ処理の流れを手続的に書かせること
なく必要なデータ処理パターンを選択させるだけでプロ
グラミングできる言語を提供し、前記データ処理パター
ンは、本来のデータ処理部とそのデータ処理パターンに
おける入出力データをトレースするデバッグ処理部とを
備え、前記言語を用いてプログラミングした利用者プロ
グラムのトレースを採取する方式において、 前記データ処理パターンにおける入出力データのうちの
利用者がトレースしたい部分を示すコントロールフィー
ルドと、このコントロールフィールドに前記利用者がト
レースしたい部分を示す値を設定する手段と、前記コン
トロールフィールドの値により、トレース採取の有無を
決定する手段と、このトレース採取有無決定手段がトレ
ースの採取を決定した部分のトレースを採取する手段と
を有し、 前記トレース採取有無決定手段及びトレース採取手段は
、前記デバッグ処理部に含まれていることを特徴とする
部分トレース採取方式。
[Claims] Identify several frequently used data processing flows, and create patterns that can be organized in the order of data input processing, data processing processing, and data output processing to create a fixed data processing flow. A data processing pattern with the logic of A method for collecting a trace of a user program programmed using the language, comprising a processing unit and a debug processing unit that traces input/output data in the data processing pattern, a control field indicating a portion that the user desires to trace; means for setting a value indicating the portion the user desires to trace in the control field; means for determining whether or not to collect a trace based on the value of the control field; and a means for collecting a trace of the portion for which the trace collection determination means has decided to collect the trace, and the trace collection determination means and the trace collection means are included in the debug processing unit. Partial trace collection method.
JP62272801A 1987-10-27 1987-10-27 Partial trace picking system Pending JPH01112439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62272801A JPH01112439A (en) 1987-10-27 1987-10-27 Partial trace picking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62272801A JPH01112439A (en) 1987-10-27 1987-10-27 Partial trace picking system

Publications (1)

Publication Number Publication Date
JPH01112439A true JPH01112439A (en) 1989-05-01

Family

ID=17518939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62272801A Pending JPH01112439A (en) 1987-10-27 1987-10-27 Partial trace picking system

Country Status (1)

Country Link
JP (1) JPH01112439A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60159951A (en) * 1984-01-30 1985-08-21 Fuji Electric Co Ltd Tracing system in information processing device
JPS6152748A (en) * 1984-08-23 1986-03-15 Mitsubishi Electric Corp Trace selection system of microprogram development device
JPS61195436A (en) * 1985-02-26 1986-08-29 Mitsubishi Electric Corp Trace control system for control logic
JPS6270944A (en) * 1985-09-24 1987-04-01 Nec Corp Collecting system for trace information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60159951A (en) * 1984-01-30 1985-08-21 Fuji Electric Co Ltd Tracing system in information processing device
JPS6152748A (en) * 1984-08-23 1986-03-15 Mitsubishi Electric Corp Trace selection system of microprogram development device
JPS61195436A (en) * 1985-02-26 1986-08-29 Mitsubishi Electric Corp Trace control system for control logic
JPS6270944A (en) * 1985-09-24 1987-04-01 Nec Corp Collecting system for trace information

Similar Documents

Publication Publication Date Title
JPH01112439A (en) Partial trace picking system
JPS58149527A (en) Automatic tuning system of system
JPS6244844A (en) Collecting device execution locus information
JPH02220145A (en) Program tracing system
JPS63289654A (en) Program branching instruction monitoring system
JPS63211037A (en) Program debugging method
JPH0750445B2 (en) Program debugging method
JPS6115236A (en) Partial production of object list
JPH02307129A (en) Setting/deleting system for snap id output sentence
JPS60247703A (en) Data gathering method of blast furnace computer system
JPH01236305A (en) Machine controlling method
JPS60241104A (en) Arithmetic method of digital controller
JPS61103250A (en) Instruction method for electronic computer system
JPS62121510A (en) Numerical controller
JPS6341948A (en) Symbolic debug system
JPH044429A (en) Automatic rearrangement linking system for virtual storing system
JPH04181432A (en) Optimization text edit system
JPS643750A (en) Program tracing system
JPS62200439A (en) Instruction execution frequency analyzing system
JPH03154131A (en) Collecting and editing system for fault processing data
JPH02195451A (en) Command processing program maintenance information collecting system
JPH03242737A (en) Information collection system
JPH04256035A (en) Program debugging system
JPH04124737A (en) Data dependence analyzing system
JPH0214732B2 (en)