News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugging DLL

Started by FunnyDingo, May 17, 2008, 04:54:48 PM

Previous topic - Next topic

FunnyDingo

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

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:
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:
>>>>>>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?

AmR EiSa

the same when i try debug Cgi :(