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程序用,具体如下:
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.
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.
相关文章推荐
- VS2010提示error TRK0002: Failed to execute command解决方法
- VS2010提示error TRK0002: Failed to execute command解决方法
- mac下安装mysql-python包报unable to execute llvm-gcc-4.2: No such file or directory error: command 'llvm-gcc-4.2' failed with exit status 1解决方法
- VS2010提示error TRK0002: Failed to execute command解决方法
- Eclipse结合Maven出现[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin错误的解决方法
- Eclipse运行时提示failed to create the java virtual machine 解决方法
- Xcode提示linker command failed with exit code 1 (use -v to see invocation)解决方法
- eclipse c++ && centos && error multiple errors reported. failed to execute mi command
- 启动 Eclipse提示“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- Eclipse编译apk提示Unable to execute dex: Multiple dex files define 解决方法
- Eclipse 启动提示java虚拟机启动失败,“Failed to create the Java Virtual Machine”-------解决方法
- eclipse中运行安卓程序,提示Failed to allocate memory: 8的解决方法
- 在Eclipse中运行Android程序报 Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 解决方法
- Failed to execute request because the App-Domain could not be created. Error: 0×80131902的解决方法
- OPC Client “failed to execute OPCENUM” 解决方法
- Ubuntu 11.10下安装Eclipse插件SVN出现Failed to load JavaHL Library的解决方法
- 解决 linker command failed with exit code 1 (use -v to see invocation) 方法
- 在Ubuntu下搭建Eclipse+SVN,涉及 Failed to load JavaHL Library的解决方法~
- PowerDesigner打开设计文件后提示failed to read the fileXXX的解决方法
- Eclipse运行时提示failed to create the java virtual machine 如何解决