Click here to Skip to main content
15,848,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have an application to test the DLL and the DLL project.
When i start to debug the DLL, the breakpoint in the apllication is encountered but not the ones in the DLL. So, I am not able to debug the DLL itself.

I have set the debugging apllication as start up project. is there any other settings to be done here?
Posted

Build your dll project in Debug build.
Copy its lib and dll in your test application.
Make sure you have linked the lib properly.

regards
rajesh
 
Share this answer
 
v2
Comments
Sangeetha682002 7-Jan-11 11:40am    
I have used the below to correct it:

Go to Tools. Options,Debug, General,

And uncheck: "Enable Just My Code."
Open the Dll project, set the breakpoints in your DLL, click F5 to commence debugging, and you will get a prompt for a suitable exe that can call the dll. Browse to find your debugging appliction, and when it calls your dll you should get your breaks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900