Multimobile Development: Building Applications for any Smartphone
Debug into .NET libraries
Messages   Related Types
This message was discovered on microsoft.public.vsnet.debugging.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

brckcc@yahoo.com
GOOD ANSWER
I want to step into the methods of standard library calls (for example into the SelectedNode property of TreeView), but it won't allow me to step into the .Net library calls.

When I was doing C++ programming I could step into the MFC libraries.

How do I achieve the same thing in C#?

Using Developer Studio .Net 2003 with C#.

- Bruce

Reply to this message...
Vote that this is a GOOD answer... (10 votes from other users already)
 
 
    
Robert Gruen [MSFT] (VIP)
GOOD ANSWER
Bruce,

In order to do this you'll have to get symbols for the .NET framework. You
can get symbols for the .NET framework by following the instructions at:
http://www.microsoft.com/whdc/ddk/debugging/symbols.mspx

Thanks! Robert Gruen
Microsoft, VB.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
| Thread-Topic: Debug into .NET libraries
| thread-index: AcPfmTgF0KtWsy8HRzeSU54cj7e2wA==
| X-Tomcat-NG: microsoft.public.vsnet.debugging
| From: "=?Utf-8?B?YnJja2NjQHlhaG9vLmNvbQ==?="
<Click here to reveal e-mail address>
| Subject: Debug into .NET libraries
| Date: Tue, 20 Jan 2004 13:06:05 -0800
| Lines: 10
| Message-ID: <Click here to reveal e-mail address>
| MIME-Version: 1.0
| Content-Type: text/plain;
|     charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.vsnet.debugging
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.vsnet.debugging:4684
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.vsnet.debugging
|
| I want to step into the methods of standard library calls (for example
into the SelectedNode property of TreeView), but it won't allow me to step
into the .Net library calls.

When I was doing C++ programming I could step into the MFC libraries.

How do I achieve the same thing in C#?

Using Developer Studio .Net 2003 with C#.

- Bruce

|

Reply to this message...
Vote that this is a GOOD answer... (8 votes from other users already)
 
 
    
Habib Heydarian [MSFT] (VIP)
GOOD ANSWER
Just to clarify, even though the symbols for the .NET Framework are
available from the public Microsoft Symbol Server, the sources for the .NET
Framework are not available. Hence you cannot step into .NET Framework
source code. To access the public Microsoft Symbol Server from Visual
Studio, add the following entry to the Debug Symbol Files property in the
solution properties:

srv*c:\symbols*http://msdl.microsoft.com/download/symbols

NOTE: It's recommended that you cache the symbols locally in order to
improve performance.

HabibH.

"Robert Gruen [MSFT]" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer... (9 votes from other users already)
 
 
 
System.Windows.Forms.TreeView




Multimobile Development: Building Applications for any Smartphone
Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734