Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Communication between Eclipse UI and gdb

The functionality added was similar to step over/resume...
If I can figure out what happens when you press the step over button in Eclipse I can do the same for my issue. As in what events occur or which commands are given or how gdb knows it has to do step over when you press step over button in eclipse then I can do the same.
I am sure what you said was very helpful. But if I have to start from scratch so can you direct me to something I can read and then figure out what you said.
I am grateful for whatever help you have provided.


On Wed, Jun 3, 2009 at 8:15 AM, Elena Laskavaia <elaskavaia@xxxxxxx> wrote:
This is very generic question. What type of functionality was added to debugger?
In general I guess you can contribute command into eclipse using command framework and menu extension point.
>From execution context figure out what command is applied to - for example active stack frame
>From stack frame you can get a debug target (CLI or MI target) and target usually has interface to execute debugger command directly.
If you have custom mi command for example you have to extend MI plugin to support it first.

Rohit Girme wrote:

I am relatively new to this.
I have added a custom debug option to the gnu debugger. I now want to add a button in Eclipse C/C++ IDE menu bar which will cause this custom option to execute, just like pressing step over, continue etc causes that particular option in gdb to execute.
I have read about CDI, CDT, MI but I could not understand what needs to be done exactly.

Please guide me for the same. Any help would be greatly appreciated.

Thank You for your time.



cdt-dev mailing list
cdt-dev mailing list

Back to the top