News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugger refuses to work

Started by JATothrim, October 30, 2011, 07:16:50 PM

Previous topic - Next topic

JATothrim

I have problem with the GDB debbuger and I can't figure out how to solve it: The GDB does not stop at breakpoint or anywhere after I start the session.  :(
In the raw debugger log, its says this when setting a breakpoint:
> break "Z:\<long path to source>\<sourcefile.cpp>:61"
No source file named Z.
Breakpoint 11 ("Z:\<long path to source>\<sourcefile.cpp>:61") pending.
>>>>>>cb_gdb:


"path name is too long, project file has courupted or something", answer is no. I created fresh project, added sources to it and compiled, but still the debugger refuses to work. I moved the project directly at Z:\ to shorten paths but this didin't help. My last guess was that my C::B settings have been courupted. But no, I tested with other user and the problem presist.
And now the weird part: The debugger works fine with any other project.  :?

PS: Have I realy programmed something so cryptic, that even GDB goes crazy about it?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Radek

Which "file named Z" ? This looks like a misunderstanding in reading the command line. Perhaps, because the breakpoint location is also separated by a colon. Try to persuade your CodeBlocks to run your files from the project directory or something similar, not using "drive:"

Sorry, I cannot tell how, I am running Debian so that I have no "Z:".