[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Chapter 11.
Debugging Source Code
This chapter describes the CodeWarrior¨ source-level debugger. To a great extent, this debugger works for all supported chips, operating systems, and languages (C, C++, Pascal, Java, and assembly language).
A debugger controls program execution so that you can see what happens internally as your program runs. You use a debugger to find problems while a program executes. The debugger can execute your program one statement at a time, suspend execution when control reaches a specified point, or interrupt a program that changes the value of a designated memory location. When the debugger stops a program, you can view the chain of function calls, examine and change the values of variables, and inspect the contents of the processor's registers.
NOTE
This chapter describes the common functionality of the debugger for all platform targets. However, there might be some differences in debugger features for your particular build target. You should read the appropriate CodeWarrior targeting documentation to cover the specific differences for your build target. For information on which Targeting manual to read, see "Targeting Documentation".
The Linux version of the CodeWarrior IDE does not include the CodeWarrior debugger. You must use a third-party debugger application to debug software developed with the Linux CodeWarrior IDE.
This chapter discusses the following topics:
[ 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