Windbg命令系列---.printf

.printf的行为跟C语言的printf函数类似。

语法

.printf [/D] [Option] "FormatString" [, Argument , ...] 

参数

/D

  指定格式字符串包含调试器标记语言(DML)。

Option

  指定WinDbg应将FormatString解释为的文本消息类型。WinDbg为每种类型的调试器命令窗口消息分配背景和文本颜色;选择其中一个选项会使消息以适当的颜色显示。默认情况下,文本显示为正常级别的         消息。以下选项可用:
  

OptionType of messageTitle of colors in Options dialog box

/od

debuggee

Debuggee level command window

/oD

debuggee prompt

Debuggee prompt level command window

/oe

error

Error level command window

/on

normal

Normal level command window

/op

prompt

Prompt level command window

/oP

prompt registers

Prompt registers level command window

/os

symbols

Symbol message level command window

/ov

verbose

Verbose level command window

/ow

warning

Warning level command window

FormatString

posted on 2022-02-08 08:34  活着的虫子  阅读(408)  评论(0编辑  收藏  举报

导航