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

1.3k Views Asked by At

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.

2

There are 2 best solutions below

0
Neal Kruis On BEST ANSWER

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.

0
VRU On

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'.