gpt4 book ai didi

windows-10 - Windbg 10.0 不显示行号

转载 作者:行者123 更新时间:2023-12-02 09:22:58 25 4
gpt4 key购买 nike

当我从 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-10 - Windbg 10.0 不显示行号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40524139/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com