Ale*_*y O 2 callstack windbg windows-10
当我从Windows 7切换到Windows 10(当然是新的SDK)时,在使用命令"kc"显示callstack时,我在WinDBG中遇到了这种不同的行为:Windows 7:
KERNELBASE!RaiseException
msvcr120!_CxxThrowException
msvcp120!std::_Xout_of_range
Run Code Online (Sandbox Code Playgroud)
Windows 10:
00 KERNELBASE!RaiseException
01 msvcr120!_CxxThrowException
02 msvcp120!std::_Xout_of_range
Run Code Online (Sandbox Code Playgroud)
如何摆脱行号?
00
01
02
Run Code Online (Sandbox Code Playgroud)
这是像".frame 0n0; dv/t/v"这样的链接
关闭dml
kd> .prefer_dml 0
DML versions of commands off by default
kd> kc
WARNING: Stack unwind information not available. Following frames may be wrong.
LiveKdD
nt!KiInitialPCR
nt!KeWaitForSingleObject
nt!NtWaitForSingleObject
nt!KiFastCallEntry
ntdll!KiFastSystemCallRet
kd> .prefer_dml 1
DML versions of commands on by default
kd> kc
#
WARNING: Stack unwind information not available. Following frames may be wrong.
00 LiveKdD
01 nt!KiInitialPCR
02 nt!KeWaitForSingleObject
03 nt!NtWaitForSingleObject
04 nt!KiFastCallEntry
05 ntdll!KiFastSystemCallRet
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
389 次 |
| 最近记录: |