Resolving Compiler and Linker Errors

The first step in debugging is to fix language syntax errors. The Output window displays errors that prevent a program from being built and provides the file name, line number, and error number. You can copy and print information from the Output window. If the status bar appears, it gives a summary of the current error.

If you don’t understand an error message, move the insertion point to the error number and press the F1key (in the default keyboard mapping) to display online information about it.

To move through the list of errors

To move to a specific line in a source file

  1. From the Edit menu, click Go To.

    The Go To dialog box appears.

  2. In the Line Number box, type a line number.

  3. Click Go To.

    If you type a line number greater than the last line in your source file, the editor moves to the end of the file.