Sun Studio 12 Update 1: Debugging a Program With dbx

edit Command

The edit command invokes $EDITOR on a source file. It is valid only in native mode.

The edit command uses $EDITOR if dbx is not running in the Sun Studio IDE. Otherwise, it sends a message to the IDE to display the appropriate file.

Syntax

edit

Edit the current file.

edit file_name

Edit the specified file file_name.

edit procedure

Edit the file containing function or procedure procedure.

where:

file_name if the name of a file.

procedure is the name of a function or procedure.