Cygwin GDB not working

CodeLite installation/troubleshooting forum
jfedin
CodeLite Curious
Posts: 2
Joined: Sat Apr 15, 2023 7:05 am
Genuine User: Yes
IDE Question: C++
Contact:

Cygwin GDB not working

Post by jfedin »

Hello,

Your CodeLite version = 17.1.0

Is it a self compiled version of CodeLite ? = NO

Your OS - MS Windows 10 Education (10.0.19044 Build 19044

I am trying to use the cygwin debugger (The debugger version of cygwin is gdb 12.1-1)

Breakpoints are not hit and the following error shows:

"Debugger exicted with the following error string: "Error creating process /cygdrive/c/Users/......exe, (error2)."

I do not see an option to enable full debugging logs.

I see no "from settings -> GDB settings -> GNU gdb debugger -> misc -> enable full debugger logging)"

Thanks,

DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Cygwin GDB not working

Post by DavidGH »

Hi,

I can't help you with Cygwin or Windows, but:

I see no "from settings -> GDB settings -> GNU gdb debugger -> misc -> enable full debugger logging)"

It's there for me:

GdbFullLog.png

Regards,

David

You do not have the required permissions to view the files attached to this post.
jfedin
CodeLite Curious
Posts: 2
Joined: Sat Apr 15, 2023 7:05 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cygwin GDB not working

Post by jfedin »

Not showing up for me.

Screenshot.png
You do not have the required permissions to view the files attached to this post.
NicolasBierman
CodeLite Curious
Posts: 1
Joined: Fri Apr 21, 2023 3:06 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cygwin GDB not working

Post by NicolasBierman »

Regarding your question, the problem may be that the gdb debugger cannot find your application that you are trying to debug. You may need to adjust the PATH variable or specify the full path to your application in the debugger settings. As for the disabled "enable full debugger logging" option, you can try creating a new debugger profile to see if the options appear. Or try reinstalling CodeLite and make sure you're using the latest version.

Post Reply