How do I set breakpoints using the Photran IDE in Eclipse?

拥有回忆 提交于 2019-12-24 00:26:08

问题


I know it sounds like a simple question, but trying to create a simple "Hello World!" application and debug with GDB doesn't seem to give me the option of creating breakpoints. Is anybody else seeing this? Is there something I'm missing?

There is a bug recently filed in bugzilla. But I want to make sure that the problem isn't just that I'm missing some necessary setting or plug-in.

Update: This bug has been fixed for Juno SR2.


回答1:


I am experiencing the same but was able to use single Break point. In the Debug window select -->Instruction Stepping Mode, now at this moment you will see the options Toggle Break point and Toggle Line Break point active for selection. Select 'Toggle Line Break point' and you will see the break point assigned at the 'arrow pointer line' there after you can try to manually place by giving the line number in 'Run Configuration'.




回答2:


It turns out this problem is specific to the Juno version of Eclipse (and the corresponding PTP package).

For now using Indigo and related packages does the trick until they fix this bug.

Update: This bug has been fixed for Juno SR2.



来源:https://stackoverflow.com/questions/12592435/how-do-i-set-breakpoints-using-the-photran-ide-in-eclipse

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