Sun Studio 12: Debugging a Program With dbx

language Command

The language command lists or changes the current source language. It is valid only in native mode.



Print the current language mode set by the dbx language_mode environment variable (see Setting dbx Environment Variables). If the language mode is set to autodetect or main, the command also prints the name of the current language used for parsing and evaluating expressions.


language is c, c++, fortran, or fortran90.

Note –

c is an alias for ansic.