简体   繁体   English

没有对C ++ Eclipse项目的反向调试

[英]No reverse debugging for C++ Eclipse project

I installed Eclipse CDT and MinGW on Windows 8.1 and can launch an "Hello World" project but have no reverse debugging controls. 我在Windows 8.1上安装了Eclipse CDT和MinGW,可以启动“ Hello World”项目,但是没有反向调试控件。 I saw on the net that I had to activate them in the "Customize Perspective" dialog. 我在网上看到必须在“自定义透视图”对话框中激活它们。

When I try to activate the different commands (like "reverse resume, reverse step into") in the "Tool Bar Visibility" tab I get the error message 当我尝试激活“工具栏可见性”选项卡中的不同命令(例如“反向恢复,反向进入”)时,收到错误消息

the command cannot be made visible in this dialog 该命令无法在此对话框中显示

How can I enable the reverse debugging controls in Eclipse (CDT)? 如何在Eclipse(CDT)中启用反向调试控件?

I ran into the same problem (and error message) under Linux. 我在Linux下遇到了相同的问题(和错误消息)。

I followed this Eclipse FAQ entry which seems to be a bit dated. 我遵循了这个Eclipse FAQ条目该条目似乎有些陈旧。 What I actually ended up doing was: 我实际上最终要做的是:

  • menu Window -> Perspective -> Customize Perspective... 菜单窗口->透视图->自定义透视图... 自定义透视菜单的菜单路径
  • tab "Action Set Availability": check "Reverse Debugging" 选项卡“操作集可用性”:检查“反向调试” 在此处输入图片说明

After enabling reverse debugging there, I still cannot change the visibility in the "Tool Bar Visibility" tab of the Customize Perspective Dialog but I get another icon in the tool bar that says "Reverse toggle". 在此处启用反向调试后,我仍然无法在“自定义透视图”对话框的“工具栏可见性”选项卡中更改可见性,但是我在工具栏中看到另一个图标,显示“反向切换”。

具有禁用的反向调试功能的反向切换按钮的图像

upon turning on reverse debugging via that button I have the full set of reverse debugging controls in the tool bar. 通过该按钮打开反向调试后,我在工具栏中提供了全套反向调试控件。

通过按下“反向切换”按钮启用反向调试

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM