Revision as of 07:22, 11 May 2011 by Gorrus (Talk | contribs)

Note: in 7.0, the gdb log is no longer saved to a file as described below. Instead it can be viewed in the debugger console (main menu/window/debugging/debugger console)

Netbeans C/C++ debugger logs all communication with gdb in a special file called "Gdb Log".

To find it you can look for gdb-cmdsXXX.log (where XXX is a number) in your temp folder (/tmp or /var/tmp or other). The file is deleted on IDE exit, so do not close the IDE. Common tmp locations are:

  • Windows: <userdir>\AppData\Local\Temp
  • Solaris & Linux: /tmp or /var/tmp
  • MacOS: /private/var/folders/.../-Tmp-

on Unix-like platforms you can try "echo $TMPDIR"

Also you can see the log in the IDE during debugging, to do that you need to enable debugging console

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo