[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

what is Stack window used for?

Hi,
what is Stack window used for?
0
anusdesai
Asked:
anusdesai
1 Solution
 
Bob LearnedCommented:
What is the context for your question?

Bob
0
 
gregoryyoungCommented:
At a breakpoint in debug (or viewing a dump file) you can see your current call stack (what methods were called to get you where you are).

Cheers,

Greg
0
 
Bob LearnedCommented:
Oh, man, the Call Stack (d'oh)!!

Bob
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
anusdesaiAuthor Commented:
current call stack ?
0
 
KevonCommented:
What's is used for?  Debugging.  It lets you know how you got to where you are now.  It is a "stack" of all functions called that got you to the break point you set.
0
 
gregoryyoungCommented:
if I have a function Foo() and it calls a function Bar()


void Foo() {
   Bar();
}

void Bar() {
   Console.WriteLine("Bar");
}

if I set a break point in Bar on the WriteLine and execute Foo() I will see that Foo was called which then called Bar() ... if Bar() were called directly I would just see Bar() and whatever called it.
0
 
Bob LearnedCommented:
You can double click on a method, and it will switch debugging context so that you can check values for that method.  Plus, it will show you the current line in that method where the call was made with a green arrow.

Bob
0
 
gregoryyoungCommented:
I am a bit confused why I didn't atleast get an assisted answer here? The accepted answer is just an extension of my answer.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now