Author Topic: Setting host application for debugging a shared library  (Read 1919 times)

Offline bnilsson

  • Almost regular
  • **
  • Posts: 184
Setting host application for debugging a shared library
« on: November 20, 2006, 11:01:31 pm »
I am trying to debug a shared library/plugin, and I had a problem getting it to run.
I see that it is trying to add ./codeblocks.exe while I am running MacOSX, so obviously there is a problem.
So I look inside the project using a text editor and find <Option host_application="./codeblocks.exe" > and change this to "CodeBlocks.app/Contents/MacOS/CodeBlocks" which is the correct for me. And it runs, so far so good.

But I suspect it is not the right way to do it, really.
Where can I set this option using the regular GUI?

And secondly, can you really not add new breakpoints while the debugger is running??? Or is this a bug?
-- Ingnorance should not be taken for stupidity --

HW: PowerMac Dual PowerPC G5 2.3Ghz, 1GB RAM OS: MacOSX 10.4.10 Compiler: powerpc-apple-darwin8-gcc-4.0.1