【问题标题】:Eclipse cdt, gdb exception cygwin_exception::open_stackdumpfileEclipse cdt、gdb 异常 cygwin_exception::open_stackdumpfile
【发布时间】:2016-06-05 09:52:07
【问题描述】:

我正在使用 Eclipse Mars (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

有解决问题的提示吗?

谢谢,

【问题讨论】:

    标签: c++ eclipse gdb


    【解决方案1】:

    没有设置断点时抛出异常。与 vs 和 xcode 相比,CDT 并不是 C++ 的最佳工具。但它们都不适用于 Cygwin。我只是不想在我的电脑上安装 Linux。所以 Eclipse 是我唯一能想到的 :) 这次我运气不错。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-07
      • 1970-01-01
      • 2015-04-25
      • 2011-07-05
      • 2012-06-04
      相关资源
      最近更新 更多