How to set gdb debugger connection?

jacknad picture jacknad · Apr 17, 2012 · Viewed 11k times · Source

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.

Answer

Juan Mellado picture Juan Mellado · Apr 22, 2012

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