Preparing to debug

Before you can begin a debug session, the debugger user interface daemon (debug daemon) must be listening for the compiled language debugger engine (debug engine). In addition, your application must be compiled with the appropriate debug options.

About this task

For information about setting the debug daemon to listen for debug engines, see the related topics.

In order to debug your program at the source code level, you need to compile your program with certain compiler options that instruct the compiler to generate symbolic information and debug hooks in the object file. Compile without optimization (-O0) and with the -g option. See the related compiler option topic or your compiler reference documentation for information about compiling your program with debug information.


Feedback