Mehdi Bugnard
Mehdi Bugnard

Reputation: 3979

How do I debug with stack trace in visual studio?

I wonder if it is possible to know the exact function or line of code in visual studio poses problem when we debugger returns an error page like this:

enter image description here

Because I can not find a function name in my existing code if I read the stack trace ..... Rather strange and very hard to debug unfortunately. Thank you very much

Upvotes: 4

Views: 9227

Answers (1)

Kapil Khandelwal
Kapil Khandelwal

Reputation: 16144

While debugging you can check the Call Stack to get the idea about the order for execution of the code.

By using the Call Stack window, you can view the function or procedure calls that are currently on the stack.

Check this for more details: How to: Use the Call Stack Window

enter image description here

Upvotes: 5

Related Questions