Related Topics:| Language and Scoping Defaults | language Command |
You can set the language used for parsing and evaluating expressions. In the default mode Autodetect, Sun WorkShop automatically selects the appropriate language. However, if you always use a certain language, you can change the mode.
To set the debugging language for expression evaluation:
Debugging Options. Or, in the Sun WorkShop main window, choose Options
Debugging Options.
| Autodetect | Sets expression evaluation language to language of current file. Useful if debugging programs with mixed languages. |
| Main | Sets expression evaluation language to the language of the main routine in the program. Useful if debugging homogeneous programs. |
| C | Sets expression language to C. |
| ANSI C | Sets expression language to ANSI C. |
| C++ | Sets expression language to C<++. |
| Objective C | Sets expression language to Objective C. |
| Fortran 77 | Sets expression language to FORTRAN 77. |
| Fortran 90 | Sets expression language to Fortran 90. |
Note - This option is equivalent to the dbx language_mode Environment Variable.