Question

I can set some break point or press F11 for seeing what happens in the next step. but I want to just run the app, work with it and at the end see what methods called and which values assigned to a variable. some sort of a list, like a stack.

Is this possible in Visual Studio (2013) debugger?

Was it helpful?

Solution 2

The only way I can think of doing that is to use the Intellitrace feature of Visual Studio Ultimate (yeah, the really expensive edition :( )

http://msdn.microsoft.com/en-us/library/dd264915.aspx

Intellitrace allows you to make a recording of your app, and that recording can be opened up as a file in VS which you can step through, just like a video recorder. It's very powerful, and MS knew that, which is why it's only included in the very expensive Ultimate edition.

OTHER TIPS

While debugging, you can see the locals window which shows you the variables currently in scope, and what their values are. As well, the call stack window will show the call stack.

If you want a report afterward, then you'll have to use some kind of profiling tool. Ants Profiler can do that.

I have just answered a very similar question here:

Reasking about hitting breakpoint at property setter

Again, the idea is to utilize the fact that while it is not easily done for objects fields, the properties are compiled into setter and getter methods, and you can put breakpoints on them!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top