This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If by mistake the code compiled with OSS compilers then debugger fails with a Debugger Error window containing such message "Dwarf Error: Cannot find type of die [in module <path_to executable>]". It would be better if a user was informed about inappropriate compilers. gdb console shows: ~"GNU gdb 6.6\n" ~"Copyright (C) 2006 Free Software Foundation, Inc.\n" ~"GDB is free software, covered by the GNU General Public License, and you are\n" ~"welcome to change it and/or distribute copies of it under certain conditions.\n" ~"Type \"show copying\" to see the conditions.\n" ~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n" ~"This GDB was configured as \"i386-pc-solaris2.10\".\n" &"C:\\Users\\ap153252/.gdbinit: No such file or directory.\n" (gdb) 2-gdb-set print repeat 0 3-gdb-set backtrace limit 1024 4-file-exec-and-symbols "/export/home/tester/.netbeans/remote/vvv-qa/asus_laptop-Windows-x86_64/C/Users/ap153252/Documents/NetBeansProjects/Quote_9/dist/Debug/OracleSolarisStudio-Solaris-x86/quote_9" 2^done (gdb) 3^done (gdb) 4^done (gdb) 5-file-list-exec-source-file &"Die: DW_TAG_<unknown> (abbrev = 16, offset = 375768)\n" 6cd /export/home/tester/.netbeans/remote/vvv-qa/asus_laptop-Windows-x86_64/C/Users/ap153252/Documents/NetBeansProjects/Quote_9 7-exec-arguments &"\thas children: TRUE\n" 8-break-insert -t main 9-exec-run 10info proc &"\tattributes:\n" &"\t\tDW_AT_name (DW_FORM_string) string: \"basic_istream\"\n" &"\t\tDW_AT_<unknown> (DW_FORM_string) string: \"nNbasic_istream3CTACTB_\"\n" &"\t\tDW_AT_decl_file (DW_FORM_data1) constant: 26\n" &"\t\tDW_AT_decl_line (DW_FORM_data1) constant: 50\n" &"Dwarf Error: Cannot find type of die [in module /export/home/tester/.netbeans/remote/vvv-qa/asus_laptop-Windows-x86_64/C/Users/ap153252/Documents/NetBeansProjects/Quote_9/dist/Debug/OracleSolarisStudio-Solaris-x86/quote_9]\n" 5^error,msg="Dwarf Error: Cannot find type of die [in module /export/home/tester/.netbeans/remote/vvv-qa/asus_laptop-Windows-x86_64/C/Users/ap153252/Documents/NetBeansProjects/Quote_9/dist/Debug/OracleSolarisStudio-Solaris-x86/quote_9]" (gdb) &"cd /export/home/tester/.netbeans/remote/vvv-qa/asus_laptop-Windows-x86_64/C/Users/ap153252/Documents/NetBeansProjects/Quote_9\n" ~"Working directory /export/home/tester/.netbeans/remote/vvv-qa/asus_laptop-Windows-x86_64/C/Users/ap153252/Documents/NetBeansProjects/Quote_9.\n" 6^done (gdb) 7^done (gdb) &"Die: DW_TAG_<unknown> (abbrev = 16, offset = 375768)\n" &"\thas children: TRUE\n" &"\tattributes:\n" &"\t\tDW_AT_name (DW_FORM_string) string: \"basic_istream\"\n" &"\t\tDW_AT_<unknown> (DW_FORM_string) string: \"nNbasic_istream3CTACTB_\"\n" &"\t\tDW_AT_decl_file (DW_FORM_data1) constant: 26\n" &"\t\tDW_AT_decl_line (DW_FORM_data1) constant: 50\n" &"Dwarf Error: Cannot find type of die [in module /export/home/tester/.netbeans/remote/vvv-qa/asus_laptop-Windows-x86_64/C/Users/ap153252/Documents/NetBeansProjects/Quote_9/dist/Debug/OracleSolarisStudio-Solaris-x86/quote_9]\n" 8^done (gdb) 9^running (gdb) &"warning: Temporarily disabling breakpoints for unloaded shared library \"/usr/lib/ld.so.1\"\n"
When the wrong debug session is finished the process on the remote host stays alive and eats 100% CPU.
there are two issues here: 1. gdb until 7.1 had a bug and did not kill inferior application when gdb itself was killed (solution - use gdb 7.1 and later) 2. quote application is written the way that it enters infinite loop when streams are closed (fixed in: http://hg.netbeans.org/cnd-main/rev/a2c6a8df8e73) I believe it is still valuable to warn user that gdb will not work with Studio compiled binaries.
*** Bug 205817 has been marked as a duplicate of this bug. ***