Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: FunnyDingo on May 17, 2008, 04:54:48 pm

Title: Debugging DLL
Post by: FunnyDingo 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
Title: Re: Debugging DLL
Post by: FunnyDingo 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?
Title: Re: Debugging DLL
Post by: AmR EiSa on May 19, 2008, 12:19:15 am
the same when i try debug Cgi :(