|
-
September 3rd, 2008, 10:54 PM
#1
How to attach the source code of a dll when debugging in VSTS 2005
Hi:
How do attache the source code for DLLs in Project Reference in VSTS (visaul studio team system 2005) . i have just switched to VSTS recently. I need that to debug.
Please let me know.
Thanks
-
September 4th, 2008, 01:53 AM
#2
Re: How to attach the source code of a dll when debugging in VSTS 2005
Do you mean how to download the source code from the code repository, or how to attach it while debugging? I'm confused of your question.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
-
September 4th, 2008, 07:22 AM
#3
Re: How to attach the source code of a dll when debugging in VSTS 2005
I think his question is this...
say you have a 3rd party DLL, and you are calling a function in that DLL. How do you debug the method call?
-
September 4th, 2008, 07:42 AM
#4
Re: How to attach the source code of a dll when debugging in VSTS 2005
You need to have sources and debug version (with the .pdb file) of the dll. Then, if you try to step into a method defined in the dll, the debuger will ask you where source file of the method is located and you can browse to the sources.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
-
July 30th, 2009, 05:12 AM
#5
Re: How to attach the source code of a dll when debugging in VSTS 2005
continuing with this question further, should we add the reference of the dll in the application before running ?
-
July 30th, 2009, 09:05 AM
#6
Re: How to attach the source code of a dll when debugging in VSTS 2005
Sometimes you also need to load the symbols for the DLL file.
After the debugger is started go to Debug > Windows > Modules
Then find the dll you need, right click and click 'load symbols' then just navigate to the .pdb file for that dll.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|