Eclipse cdt, gdb exception cygwin_exception::open_stackdumpf

Eclipse cdt, gdb exception cygwin_exception::open_stackdumpfile

本文关键字:exception open stackdumpf cdt Eclipse cygwin gdb      更新时间:2023-10-16

我正在使用日食火星(4.5.1)CDT。工具链是CygwinGCC。我只是创建了一个"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

解决问题的任何提示?

谢谢

未设置断点时引发异常。CDT 不是C++与 vs 和 xcode 进行比较的最佳工具。但是它们都不适合Cygwin。我只是不想在我的电脑上安装 Linux。所以Eclipse是我唯一能想到的:)这次我运气不错。