User`s guide

mcc
7-39
To control the #line preprocessor directives that are includedin the generated
C/C++ source, use
mcc -A line:setting …
The table shows the available #line directive settings.
To control if run-time error messages report the source file and line number,
use
mcc -A debugline:on …
This table shows the available debugline directive settings.
For example:
Toincludeallofyour M-code,includingcomments,inthe generatedfile andthe
standard #line preprocessor directives, use
mcc -A annotation:all -A line:on …
or
mcc -A line:on … (The default is all for code/comment inclusion.)
Table 7-5: Line Annotation Options
Setting Description
on
Adds #line preprocessor directives to the generated
C/C++ source code to enable source M-file debugging.
Note: The page width option is ignored when this is on.
off
Adds no #line preprocessor directives to the generated
C/C++ source code. T he default is
off.
Table 7-6: Run-Time Error Annotation Options
Setting Description
on
Specifies the presence of source file and line number
information in run-time error messages.
off
Specifies no source file and line number information in
run-time error messag es. The default is
off.