Eclipse cdt,gdb异常cygwin_exception :: open_stackdumpfile

时间:2016-02-23 14:01:41

标签: c++ eclipse gdb

我正在使用eclipse Mars(4.5.1)CDT。工具链是CygwinGCC。我只是创造了一个'#34; hello world" c ++代码。它编译但是当我尝试调试时。我有跟随gdb异常:

GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
[New Thread 812.0x560]
[New Thread 812.0x146c]
[New Thread 812.0xd48]
[New Thread 812.0xe54]
[New Thread 812.0x1758]
[Thread 812.0x146c exited with code 0]
[Thread 812.0xe54 exited with code 0]
[Thread 812.0xd48 exited with code 0]
[Thread 812.0x1758 exited with code 0]
[Inferior 1 (process 812) exited normally]
 54 [main] gdb 11012 cygwin_exception::open_stackdumpfile: Dumping stack trace to gdb.exe.stackdump

解决问题的任何提示?

谢谢,

1 个答案:

答案 0 :(得分:2)

如果没有设置断点,则抛出异常。与vs和xcode相比,CDT不是C ++的最佳工具。但是没有一个可用于Cygwin。我只是不想在我的电脑上安装Linux。所以Eclipse是我唯一能想到的:)这次我运气好了。