Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » "gdb": Launching failed debugging in docker(gdb in docker images )
"gdb": Launching failed debugging in docker [message #1794557] Mon, 03 September 2018 02:44
Warrick FitzGerald is currently offline Warrick FitzGeraldFriend
Messages: 1
Registered: September 2018
Junior Member
From a binary I'm selection the following from the right click menu - "running Debug > C++ container image "

and getting the following error.

Error with command: gdb --version
Cannot run program "gdb": Launching failed

However when I run the docker image and run the same command it seems to work just fine.

=========
# gdb --version
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later {URL}
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see: {URL}
Find the GDB manual and other documentation resources online at:
{URL}
For help, type "help".
Type "apropos word" to search for commands related to "word".
=========

I can build the binary against this docker images just fine, but when I try to debug the code in the docker image I don't seem to be able to do that.

Also it looks like gdb expects to bind to port 2345, but I don't see any option telling the docker image to expose 2345 when I look at the Debug Configuration.

Anyone have any idea as to what's going wrong here?

Previous Topic:No Exceptions cuaght C++
Next Topic:CGAL integration with CDT
Goto Forum:
  


Current Time: Fri Apr 19 14:12:35 GMT 2024

Powered by FUDForum. Page generated in 0.02246 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top