This dialog is displayed when you select the Insert Template option from the Code window Edit menu to insert a template into an empty File Editor pane, or add it to existing source code.
The dialog shows a list of the templates available in the current template file (rvdebug.tpl). If you want to use your own template file, load it using the Load button described below.
Edit…
Click Edit… to make changes to the selected template. The template file is opened in a new File Editor pane ready for you to make changes. When you have amended the template file, select the Save As… option from the Code window File menu. Overwrite the existing template file.
Load…
Use this button if you want to load your own template file. A Load dialog is opened for you to locate your template file. When you locate your file, click Open to display it in the Insert Template dialog. You can then use it in the same way as the default RealView Debugger template file.
Click Insert to add the code from the selected template to the current source code at the cursor location. The template is displayed, and any variables are updated automatically.
Click Show to display the code contained in the selected template.
Click Close to close the dialog.
For
more details about creating templates, see the
RealView Debugger v1.8 Project Management User Guide, Editing Source Code.