RE: pdb files for assemblies in GAC?
- From: jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Tue, 29 Jan 2008 08:38:25 GMT
Hi Mark,
Thanks for the detailed feedback.
I think the behavior is by design. The debugger needs a way to find the pdb
files during debugging. If all the pdb files are placed in the installation
directory while the actual assemblies are loaded from the GAC, how can the
debugger know where to find the pdb symbol files? The debugger will only
assume the pdb files are in the same folder as the assembly.
Using _NT_SYMBOL_PATH is a way to tell the debugger where to look for the
pdb symbol files, another way is placing the pdb at the same folder as the
assembly in GAC. Actually, in VS2005, you may just place all the assemblies
in a directory cache and then set this cache folder path in the
Tools->Options->Debugging->Symbols dialog. This will tell the VS debugger
where to find the pdb files for all the modules/assemblies in the debuggee
process.
Hope it helps.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: pdb files for assemblies in GAC?
- From: "Jeffrey Tan[MSFT]"
- RE: pdb files for assemblies in GAC?
- From: Mark
- RE: pdb files for assemblies in GAC?
- Prev by Date: Re: Executing gacutil in post-build event
- Next by Date: Re: Assembly.LoadFrom
- Previous by thread: RE: pdb files for assemblies in GAC?
- Next by thread: Re: Clickonce firefox 2008
- Index(es):
Relevant Pages
|
Loading