Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging A Dll project.

Status
Not open for further replies.

wadey

Programmer
Jun 6, 2006
54
GB
Hi,
I have a solution containing 2 projects. 1 is a dll project. When stepping through project A (exe) into project B (dll) public property's no problem. However trying to put a break point in project B's functions It says that the breakpoint will not be hit because of no symbols etc. I have rebuilt project B and there is a pdb file along with the dll in the bin directory, but no breakpoint joy.

What do i need to do in order for project b's breakpoints to be hit. Also if i rebuild proj B do i have to remove the references to it in Porject A and re add them in ?

Help much appreciated.
 
Yes, both projects are under the same solution.
I did remove the reference from project A, and re-added it pointing to project B instead of the actual Dll in the bin directory.

When i run it, the breakpoint in project B has a ? and a tooltip text stating it will miss becuase of no symbols etc.

As far as i can see both project are set to debug. I've checked in the project properties for both.

Is there anywhere or anything else i need to check?
 
I seemed to have got it working now. I checked both projects were set to debug everywhere, removed the reference in proj A to proj B. Recomplied (err sorry rebuilt) proj B, then added the reference in Proj A.

The question mark about missing symbols etc is still there when i first run it, but it does hit the breakpoint.

As you can tell with my use of 'recompiled' etc this is my first .Net proj (which has been dumped on me, no spec etc, just a list of change requests!!) and vb6 is what i've been using for the last 7 years !!

Thanks for your help, and i will probably have a few more questions soon, as once i've made these changes i need to deploy (of which i have no idea how yet), fun fun fun !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top