|
|
|
|
|
|
|
Windows内核调试
帖子发起人: luobing 发起时间: 2011-04-28 16:16 下午 回复: 6
|
帖子排序:
|
|
|
|
2011-04-28, 16:16 下午
|
luobing
注册: 2009-10-06
发 贴: 19
|
@#Local的含义
|
|
|
|
软件调试p922,!for_each_frame !for_each_local dt @#Local
打印每个栈帧测每个局部变量,这个例子在windbg的帮助文档中也有,可是去找@#Local的含义却没有找到,哪位可以帮忙解释一下,非常感谢
|
|
|
IP 地址: 已记录
|
报告
|
|
|
|
2011-05-02, 21:29 下午
|
wrong
注册: 2011-01-07
发 贴: 66
|
|
|
帮助文件里有。
This alias is replaced by the name of the local variable.
|
|
|
IP 地址: 已记录
|
报告
|
|
|
|
2011-05-04, 11:18 上午
|
luobing
注册: 2009-10-06
发 贴: 19
|
Re: @#Local的含义
|
|
|
|
谢谢^^能告诉我是在帮助文档的哪里吗?或者告诉我是怎么查到的。多谢赐教^^
|
|
|
IP 地址: 已记录
|
报告
|
|
|
|
2011-05-04, 13:37 下午
|
wrong
注册: 2011-01-07
发 贴: 66
|
|
|
|
|
IP 地址: 已记录
|
报告
|
|
|
|
2011-05-11, 10:48 上午
|
luobing
注册: 2009-10-06
发 贴: 19
|
|
|
我的意思是在具体的哪个页面^^,很感谢你解答我的问题
|
|
|
IP 地址: 已记录
|
报告
|
|
|
|
2011-05-13, 19:24 下午
|
compilerit
注册: 2008-09-07
发 贴: 1
|
|
|
就在!for_each_local对CommandString 参数的说明里面
!for_each_local
The !for_each_local extension executes a debugger command one time for each local variable in the current frame.
Syntax
!for_each_local ["CommandString"]
!for_each_local -?
Parameters
CommandString
Specifies the debugger commands to execute one time for each local variable in the current stack frame. If CommandString includes multiple commands, you must separate them with semicolons and enclose CommandString in quotation marks. If you include multiple commands, the individual commands in CommandString cannot contain quotation marks.
Within CommandString, or within any script that the commands in CommandString execute, you can use the @#Local alias. This alias is replaced by the name of the local variable. This replacement occurs before CommandString is executed and before any other parsing occurs. This alias is case sensitive, and you must add a space before it and add a space after it, even if you enclose the alias in parentheses. If you use C++ expression syntax, you must reference this alias as @@( @#Local ).
This alias is available only during the lifetime of the call to !for_each_local. Do not confuse this alias with pseudo-registers, fixed-name aliases, or user-named aliases.
|
|
|
IP 地址: 已记录
|
报告
|
|
|
|
2011-05-16, 14:53 下午
|
luobing
注册: 2009-10-06
发 贴: 19
|
Re: @#Local的含义
|
|
|
|
|
|
IP 地址: 已记录
|
报告
|
|
|
|
高端调试 » 软件调试 » Windows内核调试 » Re: @#Local的含义
|
|
|
|
|
|