Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: 0BackBONE0 on April 04, 2010, 05:35:34 pm

Title: Debugging dll. Host aplication don´t start
Post by: 0BackBONE0 on April 04, 2010, 05:35:34 pm
Hi,

i want to check the contents of a certain variable in a dll.
The host application is set, and the debugger seem to run, but
the host application never show up.
Is there some kind of option that i miss to make this work?
Title: Re: Debugging dll. Host aplication don´t start
Post by: oBFusCATed on April 05, 2010, 08:05:02 pm
Does the host app run when you use the Run button?
Can you provide the output of the Debuggers debug output pane (to enable it settings -> compiler & debugger -> debugger -> show debugger's debug log (or something like that))?
Title: Re: Debugging dll. Host aplication don´t start
Post by: 0BackBONE0 on April 05, 2010, 11:59:00 pm
To be honest, i never tried the Run button before. But now i did and it presented me with an error message/hint as a reward. The debugger expected the host application to be in the projects directory. To fix it i added the right directory to the search directory´s in the global compiler settings. It´s working now but the next problem already presented itself.
In the watches window of the debugger, it always says no symbol table info available, thus i´m stuck again.
And yes i checked the -g option to compile with debugging symbols.
Any more hints?

Edit:

My fault. I pointed the debugger search dir to the host application and not to the dll. Everythings working now!
Thank you.