Hi Les,
Thank you for the feedback.
This depends on your requirement. There are 2 types of debugging: source
code level and binary level(without source code). So, do you have the
source code for the 3rd party product?
If you have source code for it, you also have to obtain the private symbol
file from the 3rd party vendor. The debugger has no knowledge to determine
if a set of source files are associated with which assembly, so it must
first load the private symbol file for the symbol. The private symbol file
internally contains the source code path in it. So, you should set the
symbol path to the private symbol file in Tools ->Options ->Debugging
->Symbols. Note: this debugging has nothing to do with debug or release
mode. As I stated in the original post, the debug mode only does few/no
optimize with the generated assembly. It has nothing to do with debugging.
It is always good to have source code for debugging. However, since the
assembly is a 3rd party product, you may not have source code for it. That
is the reason of using binary level debugging.(Another example is debugging
..Net Framework BCL, whose source code is also not available) Even you do
not have source code, you may just perform binary level debugging with it,
since the .Net assembly metadata can self-describe its code/data. So you
can still get the full stack trace of this hang. The stack method will be
displayed in call stack window by querying the metadata.
I am not sure if my explanation has resolved your confusion. If I have
misunderstood your key concern, please feel free to tell me and explain
your concern in details. Thanks.
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.