您的位置:首页 > 编程语言 > Python开发

eclipse不能debug的解决方法,提示Failed to execute MI command: maintenance set python print-stack off

2016-11-27 10:23 701 查看
提示:

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 python command: "print-stack off". Try"help maintenance set python".

Undefined maintenance set python command: "print-stack off". Try"help maintenance set python".

因为gdb有升级,新版的gdb内删掉了一下命令,而EclipseCDT又刚好使用了这些命令,所以导致的不兼容,有一些python命令在cdt里面没有定义。

有两种解决方法:

1)重新替换一个低版本的gdb,亲测7.2兼容性高一些,(现在都7.11了)。

  找资源可以去我的博客资源里面有个7开头的gdb,下那个就行。

2)换debug程序用,具体如下:

 

How can I choose another debuggerintegration for CDT?

CDT provides different options for debugging. The default one iscalled DSF-GDB and is automatically selected for you. It uses GDBand provides support for the latest features such as ReverseDebugging, Non-stop multi-threaded debugging, Multi-processdebugging,
Tracepoints, and more. If for some reason, you wish touse the older GDB integration or you prefer to use EDC you can dothe following can go to your launch window, and at the bottom ofany of the tabs, you will see a hyperlink "Select other...". Thisis how you
can modify which debugger you will use.









选第二个 “stand create process launcher”

 

"Standard Create Process Launcher" is the old GDBintegration.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  开发环境
相关文章推荐