Carefull debugging in detail

Posted on 2008-11-06
Last Modified: 2013-12-17

Is there some settings in Visual Studio 2005 enabling debugging in detail? For example I'd like to go into .NET methods when I press F11 (step into).

I remember sometimes I programmed in C++ under VS 2003 and it was possible to step into methods really deep.

Question by:xRalf
    LVL 2

    Accepted Solution

        In c++, it may be possible to go into a function (even MFC methods), as long as the source code resides on the machine.

     But in .Net, the source codes for .Net classes are not available. for example you wont be able to go into  
    Int32.ToString(), because the source code is not there, only assemblies for the .Net library  are present.

     If you really want to know things in detail, I suggest you to take a look at the tool called IlDasm. The thing is you wont get a neatly formatted source code for this, Insted you will get code written in the Intermediate language which microsoft uses).

       I am sorry to say that there are no settings in VS which will do what you wanted.

    Thanks & Regards,
    LVL 6

    Author Comment

    But how is it possible, that Red Gate's .NET reflector will show the internals of methods?
    LVL 2

    Expert Comment

    Red Gate's .NET reflector is a decompiler. Meaning it decompiles Intermediate languge.

    It does'nt give you the source code(i.e the logic). It gives you the type, the methord names, class names etc. thats all. IlDasm(which comes along with VS) does the same job. you dont need an extra tool for that.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now