Page 1 of 1

Cygwin GDB not working

Posted: Mon Apr 17, 2023 7:55 am
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,


Re: Cygwin GDB not working

Posted: Mon Apr 17, 2023 9:18 pm
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


Re: Cygwin GDB not working

Posted: Tue Apr 18, 2023 6:41 am
by jfedin

Not showing up for me.

Screenshot.png

Re: Cygwin GDB not working

Posted: Fri Apr 21, 2023 3:13 pm
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.