Eclipse CDT / GDB 错误:未定义的维护集命令:"python print-stack off" 。试试"help maintenance set"

Eclipse CDT / GDB error : Undefined maintenance set command: "python print-stack off". Try "help maintenance set"

本文关键字:off print-stack python 试试 set maintenance help GDB CDT 错误 未定义      更新时间:2023-10-16

我正在Mac 10.6.8(Snow Leopard)上运行Eclipse 3.7、CDT 6.0

我真的很想漂亮地打印矢量!!!

我构建了gdb-7.5(为"x86_64-apple-darwin10.8.0"配置)我建立了pythonPrettyPrinter

我更改了默认的GDB命令,更改了.gdbinit位置,并尝试运行

但现在Eclipse CDT给出了这个错误:

Error in final launch sequence Failed to execute MI command:
 maintenance set python print-stack off Error message from debugger back end: 
Undefined maintenance set command: "python print-stack off". Try "help maintenance set". 
Undefined maintenance set command: "python print-stack off".  Try "help maintenance set".

此处跟踪此错误:但最新的CDT似乎不会有这个修复,因为更新日期是在CDT发布后。

我的问题是,有人对我的尝试感到幸运吗?

我的问题有已知的解决方法吗?

正如infinity在上面发布的链接所说,只需将Process Launcher更改为"Standard Create Process Launcher"即可!

此链接提供了一个更简单的解决方案:

http://blog.sina.com.cn/s/blog_4b2169480101elvx.html

它对我有效。

再经过三步就可以工作了

  1. 更新CDT至8.1.1http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/juno/SR1/eclipse-cpp-juno-SR1-macosx-cocoa-x86_64.tar.gz

  2. 创建了一个名为gdb-cert-的证书

  3. 签署GDBhttp://sourceware.org/gdb/wiki/BuildingOnDarwin