JPH1040092A - System for developing program - Google Patents

System for developing program

Info

Publication number
JPH1040092A
JPH1040092A JP8215241A JP21524196A JPH1040092A JP H1040092 A JPH1040092 A JP H1040092A JP 8215241 A JP8215241 A JP 8215241A JP 21524196 A JP21524196 A JP 21524196A JP H1040092 A JPH1040092 A JP H1040092A
Authority
JP
Japan
Prior art keywords
program
correction
information
modification
temporary
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
JP8215241A
Other languages
Japanese (ja)
Inventor
Nanae Houya
奈々恵 保谷
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 JP8215241A priority Critical patent/JPH1040092A/en
Publication of JPH1040092A publication Critical patent/JPH1040092A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily confirm the modified content of a program, to prevent modification omission or modification mistake, and to improve the quality of the program by providing a temporary modification executing means and an actual modification execution means which executes the modification of the program based on modification information added to the program by the temporary modification executing means. SOLUTION: A temporary modification executing part 21 reads a program stored in a program storing part 11 of an information storage device 10 according to a command or the like inputted from an inputting device 40, and operates temporary modification to the program. The temporary modification of the program by the temporary modification executing part 21 is operated by adding information related to a modified content to the modified part of the program. An actual modification executing part 22 reads the program with the modification information stored in a program with modification information storing part 12 of the information storage device 10 according to the command or the like inputted from the inputting device 40, and actually modifies the program according to the added modification information.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は、コンピュータプロ
グラムの開発に用いるプログラム開発システムに関し、
特に作成したコンピュータプログラムを修正する機能に
特徴を有するプログラム開発システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program development system used for developing a computer program.
In particular, the present invention relates to a program development system having a feature of modifying a created computer program.

【0002】[0002]

【従来の技術】コンピュータプログラム(以下、単にプ
ログラムと略す)を開発する場合、コンピュータシステ
ムを用いてプログラムを記述し、必要に応じて修正や実
行テストを行った後、完成したプログラムとして出力す
る。ここで、プログラムの修正は、プログラムの修正対
象箇所をコンピュータシステムのディスプレイ装置に表
示し、該当箇所を書き換えることによって行う。
2. Description of the Related Art When a computer program (hereinafter simply abbreviated as a program) is developed, the program is described using a computer system, modified and executed as required, and then output as a completed program. Here, the program is corrected by displaying a portion to be corrected of the program on a display device of the computer system and rewriting the corresponding portion.

【0003】従来、プログラムを修正した場合、修正内
容を確認するには、ディスプレイ装置に修正前後のプロ
グラムを並べて表示したり、プリントアウトして比較す
ることによって行っていた。
Conventionally, when a program has been modified, the contents of the modification have been confirmed by displaying the program before and after modification side by side on a display device, or by printing out and comparing.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記従来のコ
ンピュータ開発技術では、第1の問題点として、プログ
ラムの修正量が多い場合や、修正個所が広範囲に渡る場
合に、修正内容の確認に対する信頼性が十分に期待でき
ないという問題点があった。その理由は、上記のように
従来は、修正前後のプログラムを比較しながら修正内容
の確認作業を行っていたので、修正部分の見落としや、
修正内容の見間違い等が発生しやすかったからである。
However, in the above-mentioned conventional computer development technology, the first problem is that when the amount of program correction is large or when the location to be corrected is wide-ranging, the reliability of the confirmation of the content of the correction is not reliable. However, there was a problem that the property could not be sufficiently expected. The reason is that, as described above, in the past, the contents of the correction were checked while comparing the program before and after the correction, so that the correction part was overlooked,
This is because mistakes in the contents of the correction were likely to occur.

【0005】また、第2の問題点として、修正結果に誤
りがある場合、修正前の状態に戻すのに手間がかかると
いう問題点があった。その理由は、従来のコンピュータ
開発技術では、修正要求があった場合、即時にプログラ
ムを修正してしまうため、修正前の状態に戻す場合はプ
ログラムを再修正することにより復元しなくてはならな
かったからである。
[0005] As a second problem, when there is an error in the correction result, it takes time to return to the state before correction. The reason is that in the conventional computer development technology, when a correction request is made, the program is immediately corrected, and when returning to the state before correction, the program must be restored by re-correcting it. This is because the.

【0006】本発明の目的は、上記従来の問題点を解決
し、プログラムの修正内容が容易に確認でき、修正漏れ
や修正ミスを防ぎ、プログラムの品質を向上させること
のできるコンピュータ開発システムを提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a computer development system which solves the above-mentioned conventional problems, makes it possible to easily confirm the contents of a program correction, prevents omissions or errors in correction, and improves program quality. Is to do.

【0007】本発明の他の目的は、上記の目的に加え
て、プログラムの修正時間及び修正内容の確認作業に要
する時間を短縮することができるコンピュータ開発シス
テムを提供することにある。
Another object of the present invention is to provide a computer development system capable of shortening the time required to correct a program and the time required to confirm the contents of the correction, in addition to the above objects.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成する本
発明のプログラム開発システムは、作成されたプログラ
ムに修正情報を付加する仮修正実行手段と、前記仮修正
実行手段によりプログラムに付加された修正情報に基づ
き該プログラムの修正を実行する実修正実行手段とを備
えることを特徴とする。
A program development system according to the present invention, which achieves the above object, has provisional correction executing means for adding correction information to a created program, and has been added to the program by the temporary correction executing means. Actual correction executing means for correcting the program based on the correction information.

【0009】請求項2の本発明のプログラム開発システ
ムは、前記仮修正実行手段により修正情報を付加された
プログラムを、所定のフォーマットに基づいて該プログ
ラムに修正情報を付加したイメージでディスプレイ装置
に表示する表示制御手段を更に備えることを特徴とす
る。
According to a second aspect of the present invention, the program development system displays the program to which the correction information has been added by the temporary correction execution means on a display device in an image obtained by adding the correction information to the program based on a predetermined format. It is characterized by further comprising a display control means.

【0010】請求項3の本発明のプログラム開発システ
ムは、前記仮修正実行手段により修正情報を付加された
プログラムを、ユーザの選択により、所定のフォーマッ
トに基づいて該プログラムに修正情報を付加したイメー
ジ、または前記実修正実行手段による修正後のイメージ
でディスプレイ装置に表示する表示制御手段を更に備え
ることを特徴とする。
According to a third aspect of the present invention, there is provided the program development system according to the first aspect, wherein the program to which the correction information is added by the temporary correction execution means is obtained by adding the correction information to the program based on a predetermined format by a user's selection. Or display control means for displaying the corrected image by the actual correction executing means on a display device.

【0011】請求項4の本発明のプログラム開発システ
ムは、前記実修正実行手段により修正されたプログラム
を実行してテストするテスト実行手段を更に備えること
を特徴とする。
According to a fourth aspect of the present invention, the program development system further includes a test execution unit for executing and testing the program corrected by the actual correction execution unit.

【0012】請求項5の本発明のプログラム開発システ
ムにおける前記実修正実行手段は、前記プログラムの修
正を実行して前記プログラムを修正前の状態から更新す
るほか、前記プログラムの1次的な修正を実行して修正
されたプログラムを前記テスト実行手段にテストさせる
ことを特徴とする。
According to a fifth aspect of the present invention, in the program development system according to the present invention, the actual correction executing means executes the correction of the program to update the program from a state before the correction and also performs a primary correction of the program. The program executed and corrected is tested by the test execution means.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施例について図
面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】図1は、本発明の1実施例によるプログラ
ム開発システムの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a program development system according to one embodiment of the present invention.

【0015】図示のように、本実施例のプログラム開発
システムは、作成したプログラムを格納する情報記憶装
置10と、プログラムを修正するプログラム修正装置2
0と、プログラムを表示するディスプレイ装置30と、
種々のコマンドやデータを入力するための入力装置40
とを備える。なお、同図には本実施例の特徴的な構成の
みを記載し、他の構成については記載を省略してある。
実際には、作成したプログラムをプリントアウトするプ
リンタ等が備えられるのは言うまでもない。また、本実
施例においては、プログラムの修正機能に特徴を有する
ため、プログラムの修正手段としてプログラム修正装置
20を備えることとしているが、一般に、プログラムの
作成手段と修正手段とは、エディタ機能を備えたコンピ
ュータシステム等により物理的に同一の構成として実現
される。
As shown in the figure, the program development system of this embodiment includes an information storage device 10 for storing a created program and a program correction device 2 for correcting the program.
0, a display device 30 for displaying a program,
Input device 40 for inputting various commands and data
And It should be noted that only the characteristic configuration of the present embodiment is shown in the figure, and the description of other configurations is omitted.
Needless to say, a printer or the like for printing out the created program is actually provided. Further, in the present embodiment, the program modifying device 20 is provided as a program modifying means because of the feature of the program modifying function. However, in general, the program creating means and the modifying means have an editor function. It is realized as a physically identical configuration by a computer system or the like.

【0016】情報記憶装置10は、磁気ディスク装置等
で実現され、図示のように、プログラム格納部11と修
正情報付きプログラム格納部12とテンポラリファイル
13とを備える。プログラム格納部11は、通常の形式
でプログラムを格納する。修正情報付きプログラム格納
部12は、後述するようにプログラム修正装置20にて
修正されたプログラムを、当該プログラムに修正情報を
付加した形式で格納する。修正情報を付加した形式と
は、プログラムの修正箇所にフラグを立てる等の手段に
より削除、更新、追加等の修正内容を認識できるように
した形式である。テンポラリファイル13は、後述する
プログラムテスト実行部23によるプログラムのテスト
のために、実修正実行部22が1次的に修正したプログ
ラムを格納する。
The information storage device 10 is realized by a magnetic disk device or the like, and includes a program storage unit 11, a program storage unit with correction information 12, and a temporary file 13 as shown in the figure. The program storage unit 11 stores a program in a normal format. The program storage unit 12 with correction information stores a program corrected by the program correction device 20 in a format in which correction information is added to the program, as described later. The format to which the correction information is added is a format in which correction contents such as deletion, update, and addition can be recognized by means such as setting a flag at a correction portion of the program. The temporary file 13 stores a program temporarily corrected by the actual correction execution unit 22 for a program test by the program test execution unit 23 described later.

【0017】プログラム修正装置20は、プログラム制
御されたCPUとRAM等のメモリとで実現され、上述
したようにエディタ機能を備えている。図示のように、
プログラム修正装置20は、情報記憶装置10に格納さ
れたプログラムを修正する仮修正実行部21及び実修正
実行部22と、修正されたプログラムのテストを行うプ
ログラムテスト実行部23と、プログラムやプログラム
の実行結果をディスプレイ装置30に表示するプログラ
ム表示制御部24とを備える。
The program modifying device 20 is realized by a program-controlled CPU and a memory such as a RAM, and has an editor function as described above. As shown,
The program correction device 20 includes a temporary correction execution unit 21 and an actual correction execution unit 22 for correcting a program stored in the information storage device 10, a program test execution unit 23 for testing a corrected program, a program and a program And a program display control unit 24 for displaying the execution result on the display device 30.

【0018】仮修正実行部21は、入力装置40から入
力されたコマンド等にしたがって、情報記憶装置10の
プログラム格納部11に格納されたプログラムを読み出
し、当該プログラムに対し仮修正を行う。仮修正実行部
21によるプログラムの仮修正は、当該プログラムの修
正箇所に修正内容に関する情報を付加することにより行
う。ここで、仮修正実行部21による仮修正を行われた
状態、すなわち修正情報を付加された状態では、プログ
ラムに対する実際の修正は行われていない。具体的に
は、例えば、特定のデータを削除する場合、当該データ
の範囲を示して削除することを示すフラグを立てる。ま
た、新たなデータを挿入する場合、挿入されたデータで
あることを示すフラグを立ててデータを書き込む。ま
た、特定のデータを他のデータに変更する場合、変更す
るデータの範囲を示しデータの変更を示すフラグを立て
て変更後のデータを書き込む。したがって、修正を取り
消して元の状態に戻すには、付加した修正情報を消去す
るだけでよい。また、修正内容を変更する場合も、修正
情報を訂正するだけでよい。このようにして作成された
修正情報を付加したプログラムは、情報処理装置10の
修正情報付きプログラム格納部12に格納される。
The temporary correction execution unit 21 reads a program stored in the program storage unit 11 of the information storage device 10 according to a command or the like input from the input device 40, and temporarily corrects the program. The temporary correction of the program by the temporary correction executing unit 21 is performed by adding information on the correction content to the correction location of the program. Here, in the state where the temporary correction is performed by the temporary correction executing unit 21, that is, in the state where the correction information is added, the actual correction to the program is not performed. Specifically, for example, when deleting specific data, a flag indicating the range of the data and indicating deletion is set. When new data is inserted, a flag indicating that the data is inserted is set and data is written. When changing specific data to other data, a flag indicating the range of data to be changed and indicating data change is set, and the changed data is written. Therefore, in order to cancel the correction and return to the original state, it is only necessary to delete the added correction information. Also, when changing the correction content, it is only necessary to correct the correction information. The program to which the correction information created in this way is added is stored in the correction information-added program storage unit 12 of the information processing device 10.

【0019】実修正実行部22は、入力装置40から入
力されたコマンド等にしたがって、情報処理装置10の
修正情報付きプログラム格納部12に格納された修正情
報付きプログラムを読み出し、当該プログラムを、付加
されている修正情報にしたがって実際に修正する。実修
正実行部22によるプログラムの修正には、後述のプロ
グラムテスト実行部23によるテストを目的とした1次
的な修正と、修正内容を確定するための最終的な修正と
がある。いずれの修正を行うかは入力装置40からのコ
マンド入力等によって選択する。テストを目的とする1
次的な修正を行った場合は、修正済みプログラムは情報
記憶装置10のテンポラリファイル13に格納される。
また、最終的な修正を行った場合は、修正済みプログラ
ムは情報記憶装置10のプログラム格納部11に格納さ
れる。
The actual correction execution unit 22 reads out the program with the correction information stored in the program storage unit 12 with the correction information of the information processing device 10 according to a command or the like input from the input device 40, and adds the program. The correction is actually made according to the correction information provided. The correction of the program by the actual correction execution unit 22 includes a primary correction for the purpose of testing by the program test execution unit 23 described later and a final correction for determining the content of the correction. Which correction is performed is selected by a command input from the input device 40 or the like. 1 for testing purposes
When the next correction is performed, the corrected program is stored in the temporary file 13 of the information storage device 10.
When the final correction is performed, the corrected program is stored in the program storage unit 11 of the information storage device 10.

【0020】プログラムテスト実行部23は、実修正実
行部22によって1次的に修正されたプログラムを実行
しテストする。プログラムテスト実行部23によるテス
トが終了した後、実修正実行部22のテンポラリファイ
ル13に格納された修正済みプログラムは消去される。
The program test execution unit 23 executes and tests the program temporarily corrected by the actual correction execution unit 22. After the test by the program test execution unit 23 is completed, the corrected program stored in the temporary file 13 of the actual correction execution unit 22 is deleted.

【0021】プログラム表示制御部24は、上記各段階
のプログラムやプログラムの実行結果等をディスプレイ
装置30に表示する。具体的には、まず、情報記憶装置
10のプログラム格納部11に格納されたプログラムを
読み出して表示する。また、仮修正実行部21により修
正情報を付加されたプログラムを表示する。修正情報を
付加されたプログラムの表示イメージは、例えば、実際
後のプログラムのイメージとしたり、プログラムの修正
箇所に修正内容を認識するための所定の情報を表記した
イメージとしたりすることができる。また、プログラム
テスト実行部23によりプログラムのテストを行った場
合に、当該テストの結果を表示する。さらに、実修正実
行部22によりプログラムが実際に修正された場合に、
修正済みプログラムのイメージを表示する。
The program display control section 24 displays the program at each stage described above, the execution result of the program, and the like on the display device 30. Specifically, first, the program stored in the program storage unit 11 of the information storage device 10 is read and displayed. Also, the program to which the correction information has been added by the temporary correction execution unit 21 is displayed. The display image of the program to which the correction information is added may be, for example, an image of a program after the actual program or an image in which predetermined information for recognizing the correction content is written at a correction portion of the program. When a program test is performed by the program test execution unit 23, the result of the test is displayed. Further, when the program is actually corrected by the actual correction execution unit 22,
Display the image of the modified program.

【0022】ディスプレイ装置30は、プログラム修正
装置20のプログラム表示制御部24による制御にした
がって種々の表示を行う。入力装置40は、キーボード
やマウス等の入力デバイスで実現され、プログラム修正
装置20に対して命令コマンドやデータを入力するため
に用いられる。
The display device 30 performs various displays under the control of the program display control section 24 of the program correction device 20. The input device 40 is realized by an input device such as a keyboard and a mouse, and is used for inputting command commands and data to the program correction device 20.

【0023】上記のように構成された本実施例のプログ
ラム開発システムにおけるプログラムの送受信の過程を
図2及び図3に示す。
FIGS. 2 and 3 show the process of transmitting and receiving a program in the program development system of the present embodiment configured as described above.

【0024】図2に示すように、まず入力装置40から
の命令にしたがって、情報記憶装置10のプログラム格
納部11から修正前のプログラムが読み出され、プログ
ラム表示制御部24の制御によりディスプレイ装置30
に表示される。プログラムの修正を行う場合、入力装置
40からの命令にしたがって、情報記憶装置10のプロ
グラム格納部11から修正前のプログラムが読み出さ
れ、仮修正実行部21によりプログラムに修正情報が付
加される。修正情報の付加されたプログラムは、情報記
憶装置10の修正情報付きプログラム格納部12に格納
されると共に、修正後のイメージまたは修正情報を表記
したイメージで、プログラム表示制御部24の制御によ
りディスプレイ装置30に表示される。ここで、プログ
ラムの作成者は、ディスプレイ装置30に表示されたプ
ログラムを参照して修正内容の確認作業を行うことがで
きる。そして、必要に応じてプログラムテスト実行部2
3によるテストを実行する。
As shown in FIG. 2, a program before correction is first read from the program storage unit 11 of the information storage device 10 in accordance with a command from the input device 40, and the display device 30 is controlled by the program display control unit 24.
Will be displayed. When the program is to be corrected, the program before correction is read from the program storage unit 11 of the information storage device 10 in accordance with an instruction from the input device 40, and the correction information is added to the program by the temporary correction execution unit 21. The program to which the correction information has been added is stored in the correction information-added program storage unit 12 of the information storage device 10 and is a display device under the control of the program display control unit 24 under the control of the program display control unit 24 as an image after correction or an image in which the correction information is described. 30 is displayed. Here, the creator of the program can check the contents of the correction with reference to the program displayed on the display device 30. Then, if necessary, the program test execution unit 2
Perform the test according to 3.

【0025】図3に示すように、プログラムテスト実行
部23によるテストを行う場合、まず入力装置40から
の命令にしたがって、情報記憶装置10の修正情報付き
プログラム格納部12から修正情報の付加されたプログ
ラムが読み出され、実修正実行部22によってプログラ
ムの修正が実行される、この修正は1次的なものである
ため、修正済みプログラムは、情報記憶装置のテンポラ
リファイル13に格納される。次に、実修正実行部22
は、入力装置40からの命令にしたがって、プログラム
テスト実行部23に対してプログラムのテストを実行す
るように指示する。プログラムテスト実行部23は、実
修正実行部22からの指示に従って、テンポラリファイ
ル13から修正済みプログラムを読み出して実行する。
実行結果は、プログラム表示制御部24の制御によりデ
ィスプレイ装置30に表示される。プログラムのテスト
が行われると、テンポラリファイル13の修正済みプロ
グラムは消去される。
As shown in FIG. 3, when a test is performed by the program test execution unit 23, first, correction information is added from the correction information-added program storage unit 12 of the information storage device 10 in accordance with an instruction from the input device 40. The program is read, and the program is corrected by the actual correction executing unit 22. Since this correction is primary, the corrected program is stored in the temporary file 13 of the information storage device. Next, the actual correction execution unit 22
Instructs the program test execution unit 23 to execute a program test according to an instruction from the input device 40. The program test execution unit 23 reads and executes the corrected program from the temporary file 13 according to the instruction from the actual correction execution unit 22.
The execution result is displayed on the display device 30 under the control of the program display control unit 24. When the test of the program is performed, the corrected program in the temporary file 13 is deleted.

【0026】プログラムの作成者は、ディスプレイ装置
30に表示された修正情報付きプログラムの確認または
修正済みプログラムのテストの結果に応じて、当該修正
を行うことを決定した場合、入力装置40からプログラ
ムの修正の実行を命令するコマンドを入力する。実修正
実行部22は、入力装置40からの命令にしたがって、
情報記憶装置10の修正情報付きプログラム格納部12
から修正情報付きプログラムを読み出し、付加されてい
る修正情報に基づいてプログラムを修正する。この修正
は最終的なものなので、修正済みプログラムは情報記憶
装置10のプログラム格納部11に格納される。これに
より、プログラム格納部11の内容が更新される。
When the creator of the program decides to make the modification in accordance with the result of checking the program with the modification information displayed on the display device 30 or the result of the test of the modified program, the creator of the program from the input device 40 Enter a command to perform the correction. The actual correction execution unit 22 responds to a command from the input device 40
Program storage unit 12 with correction information of information storage device 10
, A program with correction information is read out, and the program is corrected based on the added correction information. Since this correction is final, the corrected program is stored in the program storage unit 11 of the information storage device 10. Thereby, the contents of the program storage unit 11 are updated.

【0027】次に、本実施例の動作について、図4及び
図5のフローチャートと図6とを参照して説明する。図
6は本実施例によるプログラムの具体的な修正例を示
し、ディスプレイ装置30の表示内容を示す図である。
Next, the operation of this embodiment will be described with reference to the flowcharts of FIGS. 4 and 5 and FIG. FIG. 6 is a diagram showing a specific modification example of the program according to the present embodiment, and showing the display contents of the display device 30.

【0028】本修正例では、図6に示すように、プログ
ラムの「1000」から「4000」までの4行の部分
を修正するものとする。修正内容は、行「1000」の
文「あいうえお」を「あたうえお」に変更し、行「30
00」の文「A<B」を削除し、新たに文「サシスセ
ソ」を文「123456」の後に挿入する。
In this modification, as shown in FIG. 6, it is assumed that four lines from "1000" to "4000" of the program are modified. The content of the correction is to change the sentence “Ai-e-o” in the line “1000” to “At-a-e-o”,
The sentence “A <B” of “00” is deleted, and a new sentence “Sasisese” is inserted after the sentence “123456”.

【0029】まず、プログラムの作成者は、システムの
エディタ機能を用いてプログラムを記述した後、システ
ムの機能に基づいて当該プログラムに対し、修正なし、
修正あり、その他の処理のいずれかを選択し、入力装置
40を用いて命令を入力する(図4、ステップ40
1)。この時点で、ディスプレイ装置30には図6の表
示画面(A)のように表示されている。ここで、修正な
しを選択した場合は全ての処理を終了する。
First, the creator of the program writes the program using the editor function of the system, and then, based on the function of the system, does not modify the program,
Correction is selected, and one of the other processes is selected, and a command is input using the input device 40 (FIG. 4, step 40).
1). At this point, the display is displayed on the display device 30 as shown in the display screen (A) of FIG. Here, if no correction is selected, all the processes are terminated.

【0030】修正ありを選択した場合、まず、仮修正実
行部21が情報記憶装置10のプログラム格納部11か
らプログラムを読み込み、入力装置40から入力された
命令にしたがって、所定の修正箇所に修正情報を付加す
る(ステップ402)。そして、修正情報の取り消しが
なければ、表示形式の選択の後、プログラム表示制御部
24が修正情報の付加されたプログラムをディスプレイ
装置30に表示する(ステップ403〜ステップ40
7)。上述した3種類の修正を行った状態で、ディスプ
レイ装置30には図6の表示画面(B)または(C)の
ように表示される。表示形式を選択するステップ405
において、修正後のイメージによる表示を選択した場合
には表示画面(B)のように表示され、修正情報を付加
したイメージによる表示を選択した場合には表示画面
(C)のように表示される。表示画面(C)において、
行「1000」に付された符号「変」はこの行の文が変
更されることを示し、行「3000」に付された符号
「削」はこの行の文が削除されることを示し、行「50
00」に付された符号「追」はこの行の文が新たに挿入
されることを示す。また、各文において、下線を付され
た箇所は新たに挿入された箇所であり、枠で囲まれた箇
所は削除される箇所である。
When the correction is selected, first, the temporary correction executing unit 21 reads the program from the program storage unit 11 of the information storage device 10 and stores the correction information in a predetermined correction location in accordance with the instruction input from the input device 40. Is added (step 402). Then, if the correction information is not canceled, after selecting the display format, the program display control unit 24 displays the program to which the correction information is added on the display device 30 (steps 403 to 40).
7). In the state where the above-described three types of correction have been performed, the display screen is displayed on the display device 30 as shown in the display screen (B) or (C) of FIG. Step 405 of selecting a display format
In this case, when the display by the image after the correction is selected, the image is displayed as shown in the display screen (B), and when the display by the image to which the correction information is added is selected, the image is displayed as the display screen (C). . On the display screen (C),
The code “change” added to the line “1000” indicates that the sentence of this line is changed, the code “deletion” added to the line “3000” indicates that the sentence of this line is deleted, Line "50
The sign “add” added to “00” indicates that the sentence of this line is newly inserted. In each sentence, an underlined portion is a newly inserted portion, and a portion surrounded by a frame is a portion to be deleted.

【0031】プログラムの修正を取り消す場合は、入力
装置40から入力された命令にしたがって、仮修正実行
部21が付加した当該修正情報を削除し(ステップ40
3、404)、表示形式の選択の後、プログラム表示制
御部24が当該修正情報の消去されたプログラムをディ
スプレイ装置30に表示する(ステップ405〜ステッ
プ407)。表示画面(B)、(C)の状態から文「A
<B」の削除を取り消した場合、ディスプレイ装置30
には図6の表示画面(D)または(E)のように表示さ
れる。
In order to cancel the correction of the program, the correction information added by the temporary correction executing unit 21 is deleted according to the command input from the input device 40 (step 40).
3, 404), and after selecting the display format, the program display control unit 24 displays the program on which the correction information has been deleted on the display device 30 (steps 405 to 407). From the state of the display screens (B) and (C), the sentence "A
When the deletion of <B> is canceled, the display device 30
Are displayed as shown in the display screen (D) or (E) of FIG.

【0032】上記のようにして修正情報を付加されたプ
ログラムは、入力装置40から登録命令が入力される
と、情報記憶装置10の修正情報付きプログラム格納部
12に格納される(ステップ408、409)。
When the registration command is input from the input device 40, the program to which the correction information has been added as described above is stored in the correction information-added program storage section 12 of the information storage device 10 (steps 408 and 409). ).

【0033】次に、ステップ401でその他の処理を選
択した場合、続いてプログラムの作成者は、プログラム
のテスト、修正の実行、仕様書出力のいずれかの機能を
選択し、入力装置40を用いて命令を入力する(図5、
ステップ410)。
Next, when other processing is selected in step 401, the creator of the program subsequently selects one of the functions of testing the program, executing the correction, and outputting the specification, and using the input device 40. Input a command (Fig. 5,
Step 410).

【0034】プログラムのテストを選択した場合、実修
正実行部22が情報記憶部10の修正情報付きプログラ
ム格納部12から修正情報の付加されたプログラムを読
み込み、入力装置40から入力された命令にしたがっ
て、修正情報に基づきプログラムの修正を実行し、情報
処理装置10のテンポラリファイル13に格納する(ス
テップ411)。そして、プログラムテスト実行部23
がテンポラリファイル13に格納されたプログラムを読
み込み、当該プログラムを実行する(ステップ41
2)。プログラムのテストが終了した後、テンポラリフ
ァイル13に格納された修正済みプログラムは消去され
る。
When the test of the program is selected, the actual correction execution unit 22 reads the program with the correction information added thereto from the program storage unit 12 with the correction information of the information storage unit 10, and according to the command input from the input device 40. Then, the program is modified based on the modification information and stored in the temporary file 13 of the information processing device 10 (step 411). Then, the program test execution unit 23
Reads the program stored in the temporary file 13 and executes the program (step 41).
2). After the test of the program is completed, the corrected program stored in the temporary file 13 is deleted.

【0035】プログラムの修正の実行を選択した場合、
実修正実行部22が情報記憶部10の修正情報付きプロ
グラム格納部12から修正情報の付加されたプログラム
を読み込み、入力装置40から入力された命令にしたが
って、修正情報に基づきプログラムの修正を実行する
(ステップ413)。修正済みプログラムは、情報記憶
装置10のプログラム格納部11に格納される。
When the execution of the modification of the program is selected,
The actual correction executing unit 22 reads the program to which the correction information has been added from the program storage unit 12 with the correction information of the information storage unit 10 and executes the correction of the program based on the correction information according to the instruction input from the input device 40. (Step 413). The corrected program is stored in the program storage unit 11 of the information storage device 10.

【0036】仕様書出力を選択した場合、出力形式とし
て、仮修正実行部21にて修正情報を付加されたプログ
ラムをディスプレイ装置30に表示する際の表示形式と
同様に、修正済みのイメージと修正情報を付加したイメ
ージとのいずれかを選択し(ステップ414)、プリン
タを用いて出力する(ステップ415、416)。
When the specification output is selected, the corrected image and the correction are output in the same manner as the display format when the program to which the correction information is added by the temporary correction execution unit 21 is displayed on the display device 30 as the output format. One of the images with the added information is selected (step 414) and output using a printer (steps 415, 416).

【0037】以上好ましい実施例をあげて本発明を説明
したが、本発明は必ずしも上記実施例に限定されるもの
ではない。例えば、本実施例では、プログラムのテスト
を行った際に作成した修正済みプログラムは、テストの
終了後に消去し、プログラムの修正を実行する際には改
めて実修正実行部による修正を行うこととしたが、テン
ポラリファイルの修正済みプログラムを残しておき、修
正内容を訂正する必要がない場合には、そのままプログ
ラム格納部にコピーするようにしてもよい。
Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments. For example, in this embodiment, the corrected program created when the test of the program is performed is deleted after the test is completed, and the correction by the actual correction execution unit is performed again when the correction of the program is performed. However, if the modified program in the temporary file is left and it is not necessary to correct the modified content, the modified program may be directly copied to the program storage unit.

【0038】[0038]

【発明の効果】以上説明したように、本発明のプログラ
ム開発システムは、プログラムに修正情報を付加するだ
けの仮修正を行い、当該修正情報を付加したイメージで
表示されたプログラムを参照することによって修正内容
が一目瞭然となるため、プログラムの修正内容の確認が
容易となり、修正確認漏れや修正ミスの防止に有効であ
り、プログラムの品質の向上を図ることができるという
効果がある。
As described above, the program development system according to the present invention makes provisional corrections just to add correction information to a program, and refers to the program displayed in an image with the correction information added. Since the contents of the correction become clear at a glance, it is easy to confirm the contents of the correction of the program, which is effective in preventing omission of correction confirmation and correction mistake, and has an effect of improving the quality of the program.

【0039】また、修正結果に誤りがある場合、仮修正
の状態であれば、当該修正情報を削除するだけで修正前
の状態に戻すことができるため、修正の取り消しや修正
内容の変更を容易に行うことができるという効果があ
る。
In addition, if the correction result contains an error, and if the state is a temporary correction, the state can be returned to the state before the correction only by deleting the correction information, so that the correction can be easily canceled or the content of the correction can be easily changed. There is an effect that can be performed.

【0040】さらに、プログラムの修正内容の確認や修
正内容の変更が容易であるため、プログラムの修正時間
及び修正内容の確認作業に要する時間を短縮することが
できるという効果がある。
Further, since it is easy to check the contents of correction of the program and to change the contents of correction, there is an effect that the time required for correcting the program and the time required for checking the contents of correction can be reduced.

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

【図1】 本発明の1実施例によるプログラム開発シス
テムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a program development system according to one embodiment of the present invention.

【図2】 本実施例による仮修正及び実修正実行時のプ
ログラムの送受信の過程を示す図である。
FIG. 2 is a diagram showing a process of transmitting and receiving a program when executing temporary correction and actual correction according to the embodiment.

【図3】 本実施例によるテスト実行時のプログラムの
送受信の過程を示す図である。
FIG. 3 is a diagram illustrating a process of transmitting and receiving a program at the time of test execution according to the embodiment.

【図4】 本実施例の動作を示すフローチャートであ
り、仮修正を実行するまでの動作を示す。
FIG. 4 is a flowchart showing an operation of the present embodiment, and shows an operation up to execution of temporary correction.

【図5】 本実施例の動作を示すフローチャートであ
り、仮修正実行後の動作を示す。
FIG. 5 is a flowchart showing an operation of the present embodiment, and shows an operation after execution of temporary correction.

【図6】 本実施例によるプログラムの修正例を示す図
である。
FIG. 6 is a diagram showing a modification example of the program according to the embodiment.

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

10 情報記憶装置 11 プログラム格納部 12 修正情報付きプログラム格納部 13 テンポラリファイル 20 プログラム修正装置 21 仮修正実行部 22 実修正実行部 23 プログラムテスト実行部 24 プログラム表示制御部 30 ディスプレイ 40 入力装置 DESCRIPTION OF SYMBOLS 10 Information storage device 11 Program storage part 12 Program storage part with correction information 13 Temporary file 20 Program correction device 21 Temporary correction execution part 22 Actual correction execution part 23 Program test execution part 24 Program display control part 30 Display 40 Input device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを記述するエディタ機能を備
えてプログラムの作成に用いられるプログラム開発シス
テムにおいて、 作成されたプログラムに修正情報を付加する仮修正実行
手段と、 前記仮修正実行手段によりプログラムに付加された修正
情報に基づき該プログラムの修正を実行する実修正実行
手段とを備えることを特徴とするプログラム開発システ
ム。
1. A program development system having an editor function for describing a program and used for creating a program, a temporary correction executing means for adding correction information to the created program, and a temporary correction executing means for adding the correction information to the program. And an actual correction executing means for executing the correction of the program based on the corrected information.
【請求項2】 前記仮修正実行手段により修正情報を付
加されたプログラムを、所定のフォーマットに基づいて
該プログラムに修正情報を付加したイメージでディスプ
レイ装置に表示する表示制御手段を更に備えることを特
徴とする請求項1に記載のプログラム開発システム。
2. The apparatus according to claim 1, further comprising display control means for displaying, on a display device, the program to which the correction information has been added by the temporary correction execution means in an image obtained by adding the correction information to the program based on a predetermined format. 2. The program development system according to claim 1, wherein:
【請求項3】 前記仮修正実行手段により修正情報を付
加されたプログラムを、ユーザの選択により、所定のフ
ォーマットに基づいて該プログラムに修正情報を付加し
たイメージ、または前記実修正実行手段による修正後の
イメージでディスプレイ装置に表示する表示制御手段を
更に備えることを特徴とする請求項1に記載のプログラ
ム開発システム。
3. A program to which correction information has been added by the temporary correction execution means, an image obtained by adding correction information to the program based on a predetermined format according to a user's selection, or a program after correction by the actual correction execution means. 2. The program development system according to claim 1, further comprising display control means for displaying the image on a display device.
【請求項4】 前記実修正実行手段により修正されたプ
ログラムを実行してテストするテスト実行手段を更に備
えることを特徴とする請求項1に記載のプログラム開発
システム。
4. The program development system according to claim 1, further comprising test execution means for executing and testing the program corrected by said actual correction execution means.
【請求項5】 前記実修正実行手段は、前記プログラム
の修正を実行して前記プログラムを修正前の状態から更
新するほか、前記プログラムの1次的な修正を実行して
修正されたプログラムを前記テスト実行手段にテストさ
せることを特徴とする請求項4に記載のプログラム開発
システム。
5. The actual correction execution means executes the correction of the program to update the program from a state before the correction, and executes the primary correction of the program to execute the corrected program. The program development system according to claim 4, wherein the program is tested by a test execution unit.
JP8215241A 1996-07-26 1996-07-26 System for developing program Pending JPH1040092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8215241A JPH1040092A (en) 1996-07-26 1996-07-26 System for developing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8215241A JPH1040092A (en) 1996-07-26 1996-07-26 System for developing program

Publications (1)

Publication Number Publication Date
JPH1040092A true JPH1040092A (en) 1998-02-13

Family

ID=16669064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8215241A Pending JPH1040092A (en) 1996-07-26 1996-07-26 System for developing program

Country Status (1)

Country Link
JP (1) JPH1040092A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013050801A (en) * 2011-08-30 2013-03-14 Canon Inc Image forming device, system, test method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013050801A (en) * 2011-08-30 2013-03-14 Canon Inc Image forming device, system, test method, and program

Similar Documents

Publication Publication Date Title
US5926638A (en) Program debugging system for debugging a program having graphical user interface
EP1238337B1 (en) System and method for printer output regression testing using display lists
US5418954A (en) Method for preparing and dynamically loading context files
CN110659197B (en) Application test case generation method and device and software test system
JPH1040092A (en) System for developing program
JP4983519B2 (en) Development support device and development support program
JP2765549B2 (en) Operation evaluation system in computer system
JP4393893B2 (en) Pattern system construction device, pattern application device and program, competitive element detection program, and software development support program
JP2000353083A (en) Demand specification description support device, method therefor and recording medium
JP2740482B2 (en) Automatic test procedure manual creation system
JP2604066B2 (en) Text file correction storage method
JP2007066204A (en) Software development support system
JP2752841B2 (en) Interactive source program modification and simulation method
JPS6227867A (en) Picture data correcting system
JP2001265572A (en) Device and method for managing source program, and recording medium with its program recorded thereon
JP2003345592A (en) Software product managing system
JP2669143B2 (en) Programmable controller programming device
JP2022174856A (en) Program development device and program development system
CN113448825A (en) Method, device, equipment and storage medium for determining newly added software defect
JPH0267643A (en) Device for designing data table
JPH08185315A (en) Security strengthened type program developing device
JPH0520035A (en) Control system for test program
JP2686167B2 (en) Circuit drawing display device
JP2000029740A (en) Device and method for managing events in debugger
JPH0651888A (en) Operation re-executing device