News:

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

Main Menu

Debugging DLL projects

Started by APEXnow, August 20, 2005, 04:46:29 PM

Previous topic - Next topic

APEXnow

I've tried looking for alternative related questions on the forum here but I could not find the relavent answer.  I've compiled my DLL project for debugging but I cannot seem to find the location under Code::blocks where I set the Host EXE to debug my DLL source code.  Do I need to pass command line options directly to GDB, or is there a dialog or options screen for setting the Host EXE and commandline arguments for debugging.

Many thanks.

Paul.

tiwag

it's under "Project->Set program's arguments..."

or look at this sample workspace (another approach)


[attachment deleted by admin]

APEXnow

Argghh!! So obvious now that you mention it :D.  That's great stuff, thanks alot.  Can't believe I missed it.

Paul.

dwmcqueen

I have a large external program that can call cutom dlls.  I want to debug dlls I create that are called from this external program (third party).  Will the above method accomplish this?

severach

Pelles-C and one of the many Microsoft Visual C++ IDE's can interrupt a DLL loaded by a host program that does not have debugging information. I have yet to find another debugger that can do this.

dje

Hi !

Quote from: dwmcqueen on July 06, 2007, 05:56:32 PM
I have a large external program that can call cutom dlls.  I want to debug dlls I create that are called from this external program (third party).  Will the above method accomplish this?

Create a project
Build your dll with debug info
Go to "Project\Set program's arguments"
Specify host application and required arguments
Put breakpoints and run debugger

Dje