Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Re: CDT mashing args to gdb
Re: CDT mashing args to gdb [message #1855930] Thu, 10 November 2022 00:52
Eclipse UserFriend
I have recently updated my installation of Cygwin (which was long overdue) and, at the same time, downloaded and clean-installed the Eclipse IDE for C/C++ Development (Version: 2022-09 (4.25.0), Build id: 20220908-1902). I'm just about at the point of getting all the basics to work well, but I'm having an issue with the Debug perspective. Specifically, the problem I'm having is getting my compiled application to launch.

My gdb version is "GNU gdb (GDB) (Cygwin 11.2-1) 11.2" (2022).

I'm launching from the project directory:

C:\Users\Paul\workspace\__thirteen


the ide is running from:

C:\eclipse


and the full path to the executable is:

C:\Users\Paul\workspace\__thirteen\Debug\__thirteen.exe


For some reason, however, whatever command is being sent to gdb from the IDE is mashing all of these together and resulting in the error:

index.php/fa/42687/0/

The image below shows success loading the exe into gdb at the command line, using a relative path to the exe (relative to the project directory).

index.php/fa/42688/0/

What I can't work out, however, is how to get the Eclipse IDE to send a workable path itself.

Any help would be greatly appreciated.

Thanks

[Updated on: Thu, 10 November 2022 01:34] by Moderator

Previous Topic:Path Getting Formatted Incorrectly
Next Topic:Eclipse with msys2 - 'Hello world' not compiling
Goto Forum:
  


Current Time: Sun Aug 31 04:30:57 EDT 2025

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

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

Back to the top