Author Topic: Debugging DLL  (Read 3991 times)

FunnyDingo

  • Guest
Debugging DLL
« on: May 17, 2008, 04:54:48 pm »
Hello together,

I wrote a small plugin for Winamp. Winamp Plugins are DLLs. Now I've a poblem and want to debug it. The Winamp Team said, that Visual Studio can debug a DLL if I set winamp.exe as executable. Does Code::Blocks support something similar?

Greetz from germany,
Funny

FunnyDingo

  • Guest
Re: Debugging DLL
« Reply #1 on: May 17, 2008, 07:16:38 pm »
OK, I think I found the right way: I selected "Project" and "Set programs' arguments". In the "Select target" window I set the "Host application". But if I start debugging I get this message:
Code
Setting breakpoints
Debugger name and version: GNU gdb 6.7.50.20071127
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.

And I found this in the debuggers log:
Code
>>>>>>cb_gdb:
> break "E:/........./myfile.cpp:41"
No symbol table is loaded.  Use the "file" command.

I compiled by DLL with -g and (to be realy safe) -ggdb. Sure, Winamp is compiled without debugging symbols. Is this the problem? The Winamp Team told me to ignore the message that symbols are not loaded (if I would use Visual Studio) but I can't find an option to set it for gdb.

Any idea?

Offline AmR EiSa

  • Multiple posting newcomer
  • *
  • Posts: 75
Re: Debugging DLL
« Reply #2 on: May 19, 2008, 12:19:15 am »
the same when i try debug Cgi :(