Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: wfws on April 11, 2014, 05:23:18 pm

Title: Debugger cannot open file
Post by: wfws on April 11, 2014, 05:23:18 pm
 
I'm trying to use Debugger in C.  I have  cygwin installed, and the debugger settings to c:\cygwin\bin\gdb.exe.   When I start debug I get "Cannot open file: /cygdrive/c/Users/Valued Customer/Google Drive/Programs/C Programs/permute/main.c . 

Debug is my next challenge.  I'm a student, and I'm sure I'll need it alot! 

Thanks for your help. 
Title: Re: Debugger cannot open file
Post by: stahta01 on April 11, 2014, 07:34:08 pm
Please search for cygwin debuggers fixes or work around.

I know that some cygwin versions required a Windows Registry entry to work with some CB versions.

I can NOT help you; I do NOT use the CB debugger very much.

To get help you need to report the CB Version, cygwin version, and gdb version.

Tim S.
Title: Re: Debugger cannot open file
Post by: wfws on April 11, 2014, 09:43:59 pm
Thanks for taking time to reply.  In case others might be able to help, heres the version info I omitted:
CB: version 13:12
Cygwin version: 2.844
GDB version: 7.6.50.20130728-cvs (cygwin-special)

I'll do a search and see what I can find. 

Wfws
Title: Re: Debugger cannot open file
Post by: Napoleon on April 12, 2014, 03:59:30 pm
wfws,
  Could you post what is shown in the "Logs & others" window, in the Debugger Tab.  Maybe the Build Log too?

Cheers.