Sun Studio 12: 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.



Edit the current file.

edit file_name

Edit the specified file file_name.

edit procedure

Edit the file containing function or procedure procedure.


file_name if the name of a file.

procedure is the name of a function or procedure.