默认情况下,如何启用eclipse-cdt(Eclipse for C ++)中的指令步进? [英] How to enable instruction stepping in eclipse-cdt (Eclipse for C++) by default?

查看:364
本文介绍了默认情况下,如何启用eclipse-cdt(Eclipse for C ++)中的指令步进?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以指令步进模式反复调试Eclipse CDT中的一个程序,即一步一步就可以执行下一个汇编器/机器代码指令,而不是下一行C / C ++代码。

I repeatedly debug a program in Eclipse CDT in instruction stepping mode, i.e. a "step over" causes the next assembler/machine code instruction to be executed rather than the next line of C/C++ code.

因为我一遍又一遍地做,它让我不得不再次按指示步按钮进行每次执行。有没有办法默认启用它?我试图在我调试的程序的调试配置设置中找到它,但是我没有找到它。

Because I do it over and over again, it nags me to have to press the "instruction stepping" button again for every execution. Is there a way to enable it by default? I tried to find it in the debug configuration settings of the program that I debug, but I didn't find it there.

推荐答案

默认情况下,本地启动正在使用名为DSF的新的调试框架,其中
不记得这个设置(至少在mars中),但是老一个记住了。
您可以使用以下步骤切换到旧版本:

By default local launch is using new debugging framework called DSF which does not remember this settings (at least in mars), however old one did remember it. You can switch to old one using the following steps:

打开启动配置

点击链接到底部切换启动器(在任何页面上)

Click on link at the bottom to switch Launcher (on any page)

选择传统创建进程启动器

Select "Legacy Create Process Launcher"

如果你现在使用这个,如果你按指示步进模式,它会记住下一个会话

If you use this one now if you press instruction stepping mode it will remember it for the next session

这篇关于默认情况下,如何启用eclipse-cdt(Eclipse for C ++)中的指令步进?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆