Red Hat Developer Day – 26 June 201247
Debugging Your Executable Continued..
●
For more complex cases
●
Right-click executable and select Debug as.. -> Debug Configurations...
●
Debug configurations and run configurations are tied together
–
Argument to main, environment variables, ... are the same
●
Can attach to an executing application (e.g. Debug Firefox)
●
Can specify a remote application
●
Can look at a core dump
●
Debugger tab allows debugger settings
–
Non-stop mode for thread debugging, reverse debugging
–
Shared libraries
–
can specify location of gdb and .gdbinit file
●
For special cases specify a macro for gdb which calls the
debugger e.g. Use this to log gdb/mi output for a bug report
Kommentare zu diesen Handbüchern