[[context]]@linenumber
[[context]].linenumber
Line numbers are useful for source-level debugging. They correspond to the lines in source-code files. In source mode, a program is displayed with each line numbered sequentially. The CodeView debugger allows you to use these numbers to access parts of a program.
The memory address of the code corresponding to a source-line number is specified as:
@linenumber
The actual file line number is:
[[context]].linenumber
CodeView assumes that the source line is in the current source file. To specify a source line in a different file, you must specify the line's context using the context operator:
{,file}@linenumber
CodeView displays an error message if file does not exist or no source line exists for linenumber.
The following example uses the View Source (VS) command to display code starting at source line 100. Since no file is indicated, the current source file is assumed.
>VS @100
This next example uses VS to display source code starting at line 301 of the file DEMO.C.
>VS {,demo.c}.301