[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Generating Debugging Information for a File

To generate debugging information for a source-code file, click in the Debug column of the Project window. A Debug Info marker appears in the column, as shown in Figure 3.24. The IDE automatically sets this marker as you add files to your project, unless you disable the option in the project's Linker panel.

Debugging Information Markers:

You can also use the Project Inspector to enable or disable debugging information. See "Using the Project Inspector" for more information. The debug state of each file that you add to the project matches the state of the Enable Debugger menu command. When you see the Enable Debugger command, the debugger is disabled and debugging information is also disabled. When you see the Disable Debugger command, the debugger is enabled and automatically configures each added file to generate debugging information.

The Debug Info marker (Figure 3.24) indicates whether the IDE generates debugging information for a file while building the project. Clicking a file's Debug Info marker removes it and disables debugging-information generation for that file.

After you change a Debug Info marker's status, the IDE marks the affected file for re-compilation the next time it builds your project.

You can simultaneously toggle Debug Info for all files associated with the current build target. Use one of the following techniques:


Windows, Solaris, and Linux

Shift-click in the Debug column.


Mac OS

Option-click in the Debug column.


NOTE

Marking a source code file for debugging inclusion does not mean that the IDE creates a debugging file during the link process. The Linker settings panel for the build target contains the options that affect whether CodeWarrior creates a debugging file.

Debug Info marker for groups

You can toggle debugging information for groups by clicking the Debug Info marker in the Debug column (Figure 3.24). The Debug column shows one of the following markers for a group:


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000