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.
The gdb-engine of NetBeans aborts a debugging session if the underlying debugger issues a warning. This should be handled more gracefully (i.e. present the warning to the user and ask him if he wants to proceed or not). I'll attach some files which demonstrate the behaviour: gdb_command_line.txt -------------------- This is what gdb displays on the comamnd line if I debug the same program. You can see the warning, but there's no core and I can "step" to the next instruction. gdb_helper* and gdb-cmds8219.log_1 ----------------------------------- The log-files at the time when the debugger stopped at the breakpoint and the following dialog appeared: "The GDB Debugger has reported a corrupted stack. The debug session must be terminates" <OK> gdb-cmds8219.log ----------------- The log file after I pressed the <OK> button. I could solve the problem by using a newer version of gdb (6.6 instead 6.3) but that doesn't change the fact that the NB gdb engine shouldn't abort execution because of a warning. Regards, Volker PS: my NB version: -------------- Product Version: NetBeans IDE 6.0 (Build 200711261600) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.5-7.283-bigsmp running on i386; UTF-8; en_US (nb) C/C++ plugin ------------ Version: 1.2.1 Source: NetBeans
Created attachment 55512 [details] gdb_command_line.txt
Created attachment 55513 [details] gdb-cmds8219.log_1
Created attachment 55514 [details] gdb-cmds8219.log
Created attachment 55515 [details] gdb_helper_8220.log
Created attachment 55516 [details] gdb_helper_8221.sh
I don't have a gdb 6.3 on my Ubuntu Linux system and can't easily build it. The sources depend on termcap and ubuntu doesn't have a termcap in its package repository. Since my goal of building it was to verify that gdb aborted when this situation occurred, and since it no longer happens with gdb 6.6 (our reference version on Linux), I'm closing as WONTFIX.