[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Debugging a Project

Debugging a project begins a debugging session with the CodeWarrior debugger. The debugger allows you to examine your program's execution. You can also correct errors in your program.
To debug your project, follow these steps:
1. Ensure that the CodeWarrior debugger is active.
To learn how to activate the debugger, see "Enabling Debugging".
2. Ensure that your project is properly configured for debugging.
If your project is not properly prepared for debugging, a dialog box appears after you activate the debugger. Click Yes in this dialog box to allow the IDE to automatically configure your project for debugging.
3. If your project contains more than one build target, choose the build target that you wish to debug.
For more information, see "Setting the Current Build Target".
4. If your project is designed to operate on another platform, connect your host computer to the target computer or device.
For additional information, see the CodeWarrior Targeting documentation for your target computer or device. You can find this documentation on your CodeWarrior CD(s).
5. Choose Project > Debug.
The IDE compiles and links your project while generating debugging information. After the compile-and-link phase completes, the CodeWarrior debugger loads the debugging information and starts a debugging session.
If the Debug menu command is grayed out or not visible, see "Enabling Debugging". If the Debug command is still unavailable, you are probably attempting to debug a project whose type cannot run (such as a shared library or dynamic link library). Another possibility is that the application that you are attempting to debug is already running.
NOTE
The Debug menu command does not open any application that you might need in order to debug your project. For example, if you debug a project for an Adobe¨ Photoshop¨ plug-in, Photoshop must already be running before you can debug the project. Choosing Debug does not automatically open Photoshop.
[ 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