June 2003
Intermediate to advanced
540 pages
11h 43m
English
To fully exploit any debugger, you need to compile your application with the -g compiler option and without optimization. Otherwise, the debugger cannot resolve referenced symbols in your application, and you cannot refer to variables or functions by their name while debugging.
If you run the strip command to strip symbol information from your application program, the debugger cannot resolve referenced symbols in your application either.
The latest C and C++ compilers on AIX support the following useful options:
| -qfullpath | This puts the full path of the source files into the debug information. This can be very useful if you have a very large source tree, since the debugger does not need to ask for ... |
Read now
Unlock full access