create c++ code with gdb

Asked by Mr. Francis J. Ball Esq.,

Attempting to use GDB as front end to develop c++ code.

Can't find a GUI or tutorial, or how to makecint or cint or input code.

ubuntu 10.10, cint, gdb,eclipse sdk root all installed!

gdb prompt in terminal, cint & makecint also. Eclipse workbench displays! What next?

Expected to find "somewhere" a GUI or HUD type interface!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gdb Edit question
Assignee:
No assignee Edit question
Solved by:
Mr. Francis J. Ball Esq.,
Solved:
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

GDB is a debugger, so it is not itself a frontend for writing code. You cannot use gdb to *write* code, though it can be used in conjunction with other tools for authoring code.

Perhaps what you mean is not that you want to use GDB as a frontend for an editor, but that you want an editor that can act as a frontend for GDB. If that's what you want, then you may want to consider one of these: http://en.wikipedia.org/wiki/Debugger#Debugger_front-ends

Then, to use GDB through such a frontend, you run the frontend (rather than running GDB). The frontend will run GDB behind the scenes. See http://en.wikipedia.org/wiki/Nemiver for an example.

Revision history for this message
Mr. Francis J. Ball Esq., (francis-j-ball) said :
#2

Thanks for your comments!

With input from the following sites!

http://www.codeproject.com/KB/tips/CPP_Dev_eclipse_CDT.aspx
http://manpages.ubuntu.com/manpages/maverick/man1/cint.root.1.html
http://www.rose-hulman.edu/class/csse/resources/Eclipse/eclipse-c-configuration.htm

And several blows from 'Maxwells Silver Hammer'

I have successfully "Hallo World"ed in Eclipse in C++ and will now be trying to contribute to
Elite 2 Pioneer 2 ... Here I come, well Date Function First!

Thank you for your contribution.