Code::Blocks Forums

User forums => Help => Topic started by: solar_max on December 26, 2007, 11:31:48 pm

Title: no debugger
Post by: solar_max 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
Title: Re: no debugger
Post by: dje 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
Title: Re: no debugger
Post by: tvaster on December 27, 2007, 12:16:02 am
Are u sure "Build Target" on tool bar is set to "Debug" and not "Release"?
Title: Re: no debugger
Post by: solar_max 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 !
Title: Re: no debugger
Post by: dje 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 (http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook) or other install articles depending on your OS.

Dje
Title: Re: no debugger
Post by: solar_max on January 02, 2008, 01:54:04 am
I made the cooking ! It's working fine now. Thanks !