Author Topic: Problem debugging program with cygwin on WinXP  (Read 4278 times)

Offline desertglow

  • Single posting newcomer
  • *
  • Posts: 2
Problem debugging program with cygwin on WinXP
« on: August 14, 2012, 03:42:12 pm »
Hello, I have made extensive searches in this forum and beyond, it seems that using CB with the c++ cygwin compiler/debugger is still giving problems. I actually have, as cannot set breakpoints.
There is a workaround for  modifying a window registry key, I tried it but did not work. I am rather desperate, I tried MingW first,  but got linking errors that I was not able to get rid of, so I tried cygwin which compiles ok, but the debugger is giving me this kind of problem.
Is there a workaround or a nightly build or whatever that may help me?
Thanks!
Roberto
« Last Edit: August 14, 2012, 04:12:51 pm by desertglow »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Problem debugging program with cygwin on WinXP
« Reply #1 on: August 14, 2012, 04:26:26 pm »
Is there a workaround or a nightly build or whatever that may help me?
Well maybe you should first start to tell about your config: What version of C::B, what version of Cygwin (GCC/GDB) etc... otherwise nobody can help.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline desertglow

  • Single posting newcomer
  • *
  • Posts: 2
Re: Problem debugging program with cygwin on WinXP
« Reply #2 on: August 14, 2012, 06:46:04 pm »
Sure, you are right.
C::B 10.05 , cygwin gcc-g++ compiler 3.4.4-999 , gdb 7.3.50-3 .
Windows Xp SP3.
I am compiling an example program using libraries LibRaw-0.11.3-Win32-MinGW recompiled using the a.m. version of cygwin ..
« Last Edit: August 14, 2012, 06:48:10 pm by desertglow »