Author Topic: building plug-in debugger  (Read 3424 times)

George

  • Guest
building plug-in debugger
« on: January 29, 2014, 11:43:58 am »
i need to build my own debugger plugin, because the debugger i use, don't understand the GDB command
i download the sources of C::B, find and create Debugger project, rewrite sources. When i'm trying to install plugin, C::B say that plugin was build for a different version of the C::B SDK.
version C::B - 13.12
sources C::B - 13.12
where is my mistake?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: building plug-in debugger
« Reply #1 on: January 29, 2014, 04:25:11 pm »
I have this problem occasionally. I think it usually due to the SDK version in the Plugins manifest.xml being wrong. So first check the version against a plugin that works correctly. (I know I know you are using up to date sources etc. but maybe you originally created the project with an older version of Code::Blocks or we have a bug in our wizard.) Another issue might be having mismatched names between the manifest and the Plugins C++ code (but usually that results in a different error, I think). The next problem you might have is making sure you are linking against the right codeblocks DLLs (or SOs). If you link against a self built CB, your plugin won't necessarily work with an officially released version.

PS: what is the debugger and any plans to share your work?