DEV Community

mahesh_attarde
mahesh_attarde

Posted on

[GDB-Quick] Using Eclipse Standalone debugger GUI

GDB is debugger that comes with basic functionality of doing everything command line. GDB-TUI provides basic Text UI for debugging source codes with minimum dependencies. At times, Window-GUI is much help to look at much information at snapshot, edit it, view it without explicitly typing all commands and shortcuts.
Here is how we can use eclipse-cdt as standalone debugger.
No need to create projects!

Download Eclipse-CDT package
Unzip Eclipse-CDT.zip
switch to unzipped folder eclipse\plugins\org.eclipse.cdt.debug.application_*\s
cripts
/bin/sh ./cdtdebug.sh

This will install debugger into your $HOME/cdtdebugger/ area

Now Connect to local process with GUI prompt. No need to list process on terminal then type process id!
$HOME/cdtdebugger/cdtdebug.sh -a

Connect Remote Process
$HOME/cdtdebugger/cdtdebug.sh -r address:port

Debug binary
$HOME/cdtdebugger/cdtdebug.sh -e executable

Read More at [https://wiki.eclipse.org/CDT/StandaloneDebugger]
[https://www.infoq.com/presentations/best-practices-cdt-debugger/]
Enjoy!
HTH!

Heroku

Deliver your unique apps, your own way.

Heroku tackles the toil — patching and upgrading, 24/7 ops and security, build systems, failovers, and more. Stay focused on building great data-driven applications.

Learn More

Top comments (0)

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay