How to establish a gdb debugger connection?

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

+3
source share
1 answer

The instructions are still mostly valid, I think.

  • Run menu => "Debug configuration ..."

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

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

gdbserver

+9
source

All Articles