Suppose I am executing in a function, how to print values for input
parameters (binary memory value is ok) using WinDbg?
(suppose I am executing in a system API, and I do not know the exact input
parameter name in source code?)
thanks in advance,
George
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"George" <Geo...@discussions.microsoft.com> wrote in message
news:E792AC80-28DD-4E21...@microsoft.com...
I have tried the dv command from WinDbg, is it the correct solution?
regards,
George
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"George" <Geo...@discussions.microsoft.com> wrote in message
news:8DEF878A-E420-4759...@microsoft.com...
"in the progue of a fuction" -- do you mean in the execution of a function?
regards,
George
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"George" <Geo...@discussions.microsoft.com> wrote in message
news:4FCA3570-8D9D-487C...@microsoft.com...
I think "In the prologue of the function" is the same as in the execution
(body) of a function, correct?
regards,
George
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"George" <Geo...@discussions.microsoft.com> wrote in message
news:93F77552-E944-41A1...@microsoft.com...
Could I understand prologue means EBP/ESP is properly set in the function
being called?
regards,
George
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"George" <Geo...@discussions.microsoft.com> wrote in message
news:7C746A45-56C0-4EBD...@microsoft.com...
Great reply! A further question, when dv command will not work in your
experience? In my current debugging, it works fine.
regards,
George
If you debug checked un-optimized code on x86, then
you are in the best case scenario.
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"George" <Geo...@discussions.microsoft.com> wrote in message
news:3ABB8151-625A-43EC...@microsoft.com...
1.
I am happy to learn from you about this. I am using x64. But I am not sure
what do you mean "compiled without register homing", is it a compile option?
2.
If dv command has some limitation on x64, what is your preferred solution to
display parameter/local variable/register values in Windbg?
regards,
George
#2
`dv /V` has limitations in all architectures.
Once upon in time, I learned to debug optimized IA64, and,
recovering the `locals` from the 128+128+64+special registers
was everyday job, and, the few x64 registers do not scare me anymore.
When `dv /V` gives suspicious output, I read the disassembly
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"George" <Geo...@discussions.microsoft.com> wrote in message
news:47D2F8AA-0BDE-4F2D...@microsoft.com...
1.
Do you know where to set homeparams from Visual Studio 2008 IDE? I have
tried hard but can not find out. Most time, I prefer to use IDE other than
command line. :-)
2.
From your reply, the issues of dv /V is it will put local variables into
register other than on stack? Sorry my English is not very good, please feel
free to correct me if I am wrong. :-)
regards,
George