Sign in to follow this  
alex32

NET 2003 - DLL debug

Recommended Posts

Hi all, i'm having a small problem while debugging the DLL. Under properties i've selected the EXE which will call the DLL, the EXE works just fine but .NET do NOT fire the breakpoints in the DLL source code. (VS 2003) after pressing F5 (Run) .NET shows the breakpoint with a question mark, saying that "the breakpoint will not hit since no executable code is loaded at this location.." However the DLL is working , a dialog-window from that is displayed but the breakpoint on its source line do NOT hit Any idea why ? thanks !

Share this post


Link to post
Share on other sites
Hello alex32,

Make sure the exe is in the same directory that the DLL you are trying to debug (check the output directories). If there is already a DLL with the same name in the exe directory, then it will load this one and the one you are trying to debug.

HTH,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this