beautypg.com

7 error jump function, Error jump function – FUJITSU CM71-00329-7E User Manual

Page 21

background image

11

CHAPTER1 Basic Functions

1.7

Error Jump Function

This section describes the error jump function in SOFTUNE Workbench.

Error Jump Function

When an error, such as a compile error occurs, double-clicking the error message displayed in the Output

window, opens the source file where the error occurred, and automatically moves the cursor to the error

line. This function permits efficient removal of compile errors, etc.

The SOFTUNE Workbench Error Jump function analyzes the source file names and line number

information embedded in the error message displayed in the Output window, opens the matching file, and

jumps automatically to the line.

The location where a source file name and line number information are embedded in an error message,

varies with the tool outputting the error.

An error message format can be added to an existing one or modified into a new one. However, the modify

error message formats for pre-installed Fujitsu language tools are defined as part of the system, these can

not be modified.

A new error message format should be added when working the Error Jump function with user registered

tool. To set Error Jump, execute the [Setup] - [Error] command.

Syntax

An error message format can be described in Syntax. SOFTUNE Workbench uses macro descriptions as

shown in the Table 1.7-1 to define such formats.

To analyze up to where %f, %h, and %* continue, SOFTUNE Workbench uses the character immediately

after the above characters as a delimiter. Therefore, in Syntax, the description until a character that is used

as a delimiter re-appears, is interpreted as a file name or a keyword for help, or is skipped over. To use %

as a delimiter, describe as %%. The %[char] macro skips over as long as the specified character continues

in parentheses. To specify "]" as a skipped character describes it as "\]". Blank characters in succession can

be specified with a single blank character.

Table 1.7-1 Special Characters for Analyzing Error Messages

Characters Semantics

%f

Interpret as source file name and inform editor.

%1

Interpret as line number and inform editor.

%h

Become keyword when searching help file.

%*

Skip any desired character.

%[char]

Skip as long as characters in [ ] continues.