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"
我正在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
它对我有效。
再经过三步就可以工作了
-
更新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
-
创建了一个名为gdb-cert-的证书
- 签署GDBhttp://sourceware.org/gdb/wiki/BuildingOnDarwin
相关文章:
- 犰狳的 print() 方法和 cout 在从 Rcpp 调用时顺序不一致
- std::stack 是连续的吗?
- 为什么我会收到"Run-Time Check Failure #2 - Stack around the variable 'pr' was corrupted"错误?
- Incomings Call with Android Sip stack in Embarcadero C++ bui
- 堆叠协程 + gdb = "previous frame inner to this frame (corrupt stack)?"
- 生成质数的程序,错误:"Stack overflow"
- 如何在 x64 上"stack oveflow"例外
- 为什么此代码中显示"*** stack smashing detected ***: <unknown> terminated Aborted (core dumped) "错误?
- Qt Creator 在执行步骤 "make" 时出现编译错误,-fno-stack-limit
- 无法在基于 DFS 的任务排序程序中填充"stack"
- 如何在不进行任何其他修改的情况下"pretty print" C++的XML字符串?
- std::stack的奇怪行为,pop()返回相同的值
- pybind11将python sys.stdout从print()重定向到c++
- 使用双LL在C++中实现Stack失败,出现异常"EXC_BAD_ACCESS(代码=2,地址=0x7fff5
- 如何获得"基于堆栈"的std::stack?(具有固定的最大尺寸)
- 为什么我会收到"invalid conversion from 'Queue*/Stack*' to 'int'"错误消息?
- 如何修复初始化后'stack around variable was corrupted.'变量未更改为分配的值
- Serial.print in arduino 不写变量
- 如何递归"print list from tail to head"?
- Eclipse CDT / GDB 错误:未定义的维护集命令:"python print-stack off" 。试试"help maintenance set"