Reputation: 1807
I'm using Visual Studio 2012 to write in assembly and I'm currently using the PUSH
/POP
instructions.
I would like to know where does sit the value being pushed to the stack by the PUSH
instruction.
I've tried the Memory Tab by locating the ESP
address but didn't find anything there.
Can please someone tell if it is possible and how to reach/locate the pushed values in debugging mode?
Thank you,
Guy
Upvotes: 0
Views: 828
Reputation: 3101
On the topmost toolbar in Visual Studio:
"Debug > Windows > CallStack"
Note that this is only available with the debugger attached to a process.
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
MSDN article: Using the Call Stack.
That error message indicates there are no debug symbols available for the project to use. Make sure that you are in debug mode, not release.
Also if you are using "debug > attach to process" make sure the .pdb
(symbol files) are available.
Either:
make sure the .PDB
files for your DLLs are in the same directory as the process executable that you are attaching the debugger to.
OR
Upvotes: 1