User forums > Using Code::Blocks
GDB (cygwin-special) Warning: /cygdrive/... No such file or directory
DynV:
HAHA! I don't know what happened but I now can compile using Cygwin. I had to remove -mno-cygwin (from Compiler > Other options) as g++-4.exe gave an error about it but before that, I restarted my computer (using Windows Vista) twice since the OP. I do have the warning you've just mentioned but I'm not breaking a sweat over it.
But the luck wasn't a streak as the debugging wouldn't occur ; here's the log
--- Quote ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Users\REST_OF_PATH\hello_world\
Adding source dir: C:\Users\REST_OF_PATH\
Adding file: bin\Debug\hello_world.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.3.50.20111026-cvs (cygwin-special)
Warning: /cygdrive/c/Users/REST_OF_PATH/hello_world/C: No such file or directory.
Warning: /cygdrive/c/Users/REST_OF_PATH/hello_world/C: No such file or directory.
Child process PID: 6024
The program is not being run.
Debugger finished with status 0
--- End quote ---
Attached is the hello world project and the breakpoints were on both of the only 2 lines : the output & the return. Once starter, the debugger tracker (yellow) arrow didn't appear and whether I used Continue or Next line, it immediately came out of the debugging mode.
So as my goal is to debug using Cygwin, I'm still at a loss.
[attachment deleted by admin]
MortenMacFly:
--- Quote from: DynV on January 27, 2012, 10:16:18 am ---So as my goal is to debug using Cygwin, I'm still at a loss.
--- End quote ---
I don't know how well the Cygwin debugger is supported, actually. This is not a "normal" GNU debugger you know. Did you try a debugger branch nightly?
stahta01:
read this thread it may help
http://forums.codeblocks.org/index.php/topic,12212.0.html
Tim S.
DynV:
@MortenMacFly I will get back to you a bit later.
--- Quote from: stahta01 on January 27, 2012, 01:26:12 pm ---read this thread it may help
http://forums.codeblocks.org/index.php/topic,12212.0.html
--- End quote ---
I already mentioned it twice in this thread: OP & Reply #3 ; the OP even have a related screen-shot.
stahta01:
http://forums.codeblocks.org/index.php/topic,11992.0.html
One with more info.
Edit: I tried the current Nightly and saw no difference; but, I do not use debugger much.
You might wish to try the Debugger Nightly build and see if it works.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version