Eclipse – How to set gdb debugger connection

debuggingeclipseeclipse-indigogdb

The instructions here show how to create a debug configuration but seem to be based on a different version of eclipse. How is the gdb debugger connection (TCP/IP address and Port number) configured in eclipse-indigo? I see Network Connections in Edit Configuration -> Configure Workspace Settings -> General... but no way to add TCP/IP address and Port number.

Best Solution

Instructions are still mostly valid, I think.

  • "Run" menu => "Debug Configurations..." option

  • "C/C++ Attach to application" option => "New" contextual menu option

  • "Debugger" tab => Debugger: "gdbserver" option => "Connection" tab

gdbserver