Author Topic: Problem debugger finding source files  (Read 4311 times)

Offline shaft

  • Single posting newcomer
  • *
  • Posts: 4
Problem debugger finding source files
« on: January 30, 2006, 08:51:04 pm »
I am building a project that is 1 application and several DLLs, all built with mingw32 and codeblocks.

Anyways I can't seem to jump into the DLLs because GDB can't find the source files.  If I open up one of the DLL source file and execute "run to cursor" I get the message "No source file named gsosengineroot.cpp".  I've used the debugger configuration to include projects in same workspace, so it is supposedly adding the directories where the dll source code resides.

Whats wierd is I can single step from the main code into the DLL source, I just can't jump to it directly.  Any ideas?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Problem debugger finding source files
« Reply #1 on: January 30, 2006, 08:55:02 pm »
Use gdb 6.3.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline shaft

  • Single posting newcomer
  • *
  • Posts: 4
Re: Problem debugger finding source files
« Reply #2 on: January 30, 2006, 09:10:05 pm »
currently using gdb 6.3.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Problem debugger finding source files
« Reply #3 on: January 30, 2006, 10:03:31 pm »
What C::B revision are you using?
Be patient!
This bug will be fixed soon...

Offline shaft

  • Single posting newcomer
  • *
  • Posts: 4
Re: Problem debugger finding source files
« Reply #4 on: January 30, 2006, 10:05:53 pm »
Currently using 1.0 RC 2. 

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5278
Re: Problem debugger finding source files
« Reply #5 on: January 30, 2006, 10:36:28 pm »
I would suggest an upgrade to one of the latest nightly builds, muchos muchos improvements !!!

You will go like this :  :shock: :shock: :shock: :shock: :D :D :D :D :D :D :D

see nightly builds part of the forum

Offline shaft

  • Single posting newcomer
  • *
  • Posts: 4
Re: Problem debugger finding source files
« Reply #6 on: January 30, 2006, 11:33:28 pm »
The newer version seemed to be able to find my source...

Is there any way to speed this up...  It says "breakpint (blah blah blah) pending" for several seconds before it gets to
"breakpoint (blah blah blah) resolved" and finds the file.  Is there a way to start the search for files at specific locations.

thanks

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Problem debugger finding source files
« Reply #7 on: January 31, 2006, 09:08:17 am »
No, starting the debugger takes some time, unluckily.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."