windbg 10.0 不显示行号
windbg 10.0 do not show line numbers
当我从 windows 7 切换到 windows 10(当然是新 SDK)时,在使用命令 "kc" 显示调用堆栈时,我在 WinDBG 中遇到了这种不同的行为:
Windows 7:
KERNELBASE!RaiseException
msvcr120!_CxxThrowException
msvcp120!std::_Xout_of_range
Windows 10:
00 KERNELBASE!RaiseException
01 msvcr120!_CxxThrowException
02 msvcp120!std::_Xout_of_range
如何去掉行号?
00
01
02
这是类似于“.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
当我从 windows 7 切换到 windows 10(当然是新 SDK)时,在使用命令 "kc" 显示调用堆栈时,我在 WinDBG 中遇到了这种不同的行为: Windows 7:
KERNELBASE!RaiseException
msvcr120!_CxxThrowException
msvcp120!std::_Xout_of_range
Windows 10:
00 KERNELBASE!RaiseException
01 msvcr120!_CxxThrowException
02 msvcp120!std::_Xout_of_range
如何去掉行号?
00
01
02
这是类似于“.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