Editing Files; To Edit Source Code From The Code Window - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 5: Editing Code and Data

Editing Files

Editing Files
The graphical interface gives you a number of context-dependent and
context-independent editing commands. From several screens, you can bring
up the source file that contains the source line or symbol you are viewing in
the display.
The interface will choose the "vi" editor as its default editor, unless you specify
another editor by setting an X resource. Refer to the chapter "Configuring
the Debugger" for more information about setting this resource.
Remember to re-compile
When you use the editor to change a source code file, you will need to
re-compile the source file. You can recompile with a click of the mouse if you
define the Make action key to compile the target program.

To edit source code from the Code window

• Place the mouse pointer over the line you want to edit. Select Edit source
from the Code window pop-up menu.
The debugger will start the editor in a new X window. The cursor in the editor
window will be on the same line of code as the mouse pointer in the Code
window.
After editing the file, you quit the edit session by the standard method for the
editor used.
You will need to re-compile the source file. You can recompile with a click of
the mouse if you define the Make action key to compile the target program.
174

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents