How to enable instruction stepping in eclipse-cdt (Eclipse for C++) by default?

删除回忆录丶 提交于 2019-12-11 09:56:15

问题


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.


回答1:


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:

Open launch configuration

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



来源:https://stackoverflow.com/questions/33370781/how-to-enable-instruction-stepping-in-eclipse-cdt-eclipse-for-c-by-default

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!