User forums > General (but related to Code::Blocks)
Debugging DLL
(1/1)
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:
--- 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.
--- End code ---
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.
--- End code ---
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 :(
Navigation
[0] Message Index
Go to full version