Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Carefull debugging in detail

Posted on 2008-11-06
Medium Priority
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
  • 2

Accepted Solution

prakash2007 earned 1000 total points
ID: 22893883
    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,

Author Comment

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

Expert Comment

ID: 22893941
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.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…

578 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