Author Topic: Debugger cannot open file  (Read 5007 times)

Offline wfws

  • Single posting newcomer
  • *
  • Posts: 4
Debugger cannot open file
« 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. 

Online stahta01

  • Lives here!
  • ****
  • Posts: 7679
    • My Best Post
Re: Debugger cannot open file
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline wfws

  • Single posting newcomer
  • *
  • Posts: 4
Re: Debugger cannot open file
« Reply #2 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

Offline Napoleon

  • Multiple posting newcomer
  • *
  • Posts: 59
Re: Debugger cannot open file
« Reply #3 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.