Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display Stack Frames that contain function variables in Visual Studio (2008), C++

Is there a way to configure visual studio (2008) to visualize function variables in each stack frame? I can see the call stack just fine with the function parameters but was wondering if there is a way to see the variables in the function as well. This would be especially helpful for inspecting the stack content and learning how recursive function calls work. Many thanks.

like image 336
wmk Avatar asked Aug 14 '26 14:08

wmk


1 Answers

Debug + Windows + Locals shows you all the local variables in the active stack frame.

enter image description here

like image 116
Hans Passant Avatar answered Aug 17 '26 05:08

Hans Passant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!