The dbgPrint or kdprint don't work appearing message in windbg
Preinstalled
OS : Windows 2012 R2
Cause:
Higher version of the windows than the vista , DbgPrint and KdPrint is mapped each DbgPrintEx, KdPrintEx automatically.
At this timing, DbgPrintEx will be called with Parameter 'DFLTR_INFO_LEVEL'. and, Which has 0x3 value meaning to print limited as default .
Solution:
- Temporarily, you can run to fix ti with command
kd > ed Kd_DEFAULT_MASK 8
And , Each number means next....
#define DPFLTR_ERROR_LEVEL 0
#define DPFLTR_WARNING_LEVEL 1
#define DPFLTR_TRACE_LEVEL 2
#define DPFLTR_INFO_LEVEL 3
#define DPFLTR_MASK 0x80000000 - If you want to fix it permanently....
KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\
If the key 'Debug Print Filter' is not in there , add the key ,else change values as 0xF. - If there is not a dword of type named 'DEFAULT' , add it with value f by yourself.
※ Reference : https://msdn.microsoft.com/en-us/library/ff551519.aspx
No comments:
Post a Comment