Author Topic: no debugger  (Read 4163 times)

Offline solar_max

  • Single posting newcomer
  • *
  • Posts: 6
no debugger
« on: December 26, 2007, 11:31:48 pm »
Hello,

I'm really new on CB and I can't find why my debugger don't stop at any breakpoint. I have access to all debug windows (watch, stack call, etc), can toggle breakpoint, etc, but can't stop on a breakpoint !
I'm working on a wx Project and use the last nighlty build.

-g option is enable.

The only "wrong" thing I could see in the startup log is this :
Plugin resource not found: cbprofiler.zip
C:\Program Files\CodeBlocks/share/codeblocks/plugins/ClearCase.dll: not loaded (missing symbols?)
Plugin resource not found: compilergcc.zip
Plugin resource not found: debuggergdb.zip
Plugin resource not found: pluginwizard.zip


But the compiler is working good !

Any idea ?

Thanks for the help

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: no debugger
« Reply #1 on: December 27, 2007, 12:06:57 am »
Hi !

it seems your installation is not correct.
All the plugins zip files are located in <...>\CodeBlocks\share\CodeBlocks and the plugins dll in <...>\CodeBlocks\share\CodeBlocks\plugins

When that point is OK, did you install mingw or any other compiler debugger ?
C::B is shipped without them.

Dje

Offline tvaster

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: no debugger
« Reply #2 on: December 27, 2007, 12:16:02 am »
Are u sure "Build Target" on tool bar is set to "Debug" and not "Release"?

Offline solar_max

  • Single posting newcomer
  • *
  • Posts: 6
Re: no debugger
« Reply #3 on: December 27, 2007, 10:14:52 am »
Hi,

I checked the paths you gived me and the "interessting" thing i see is that i have some differences between the dll name and the zip name (debuggergdb.dll <-> debugger_gdb.zip). Renaming the zip give me a "Plugin without manifest error"

I installed Code::Blocks RC2 with mingw complier from the C::B site. After than I overwrited the RC2 with the nightly build

Build target is debug !

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: no debugger
« Reply #4 on: December 27, 2007, 10:50:23 am »
Hi !

You should extract C::B latest nightly in a fresh directory. RC2 is too old and you must have old plugins garbish that should not be there that may generate your errors; for example, I have only a debugger.zip concerning debugging plugins.

You should look in the wiki for the cookbook or other install articles depending on your OS.

Dje

Offline solar_max

  • Single posting newcomer
  • *
  • Posts: 6
Re: no debugger
« Reply #5 on: January 02, 2008, 01:54:04 am »
I made the cooking ! It's working fine now. Thanks !