Advanced Debugging
About AdvDbg Consult Train Services Products Tools Community Contact  
欢迎光临 高端调试 登录 | 注册 | FAQ
 
  ACPI调试
Linux内核调试
Windows内核调试
 
  调试战役
调试原理
新工具观察
 
  Linux
Windows Vista
Windows
 
  Linux驱动
WDF
WDM
 
  PCI Express
PCI/PCI-X
USB
无线通信协议
 
  64位CPU
ARM
IA-32
  CPU Info Center
 
  ACPI标准
系统认证
Desktop
服务器
 
  Embedded Linux
嵌入式开发工具
VxWorks
WinCE
嵌入式Windows
 
  格蠹调试套件(GDK)
  格蠹学院
  小朱书店
  老雷的微博
  《软件调试》
  《格蠹汇编》
  《软件调试(第二版)》
沪ICP备11027180号-1

Windows内核调试

帖子发起人: luobing   发起时间: 2011-04-28 16:16 下午   回复: 6

Print Search
帖子排序:    
   2011-04-28, 16:16 下午
luobing4365 离线,最后访问时间: 2022/5/16 2:05:04 luobing

发帖数前50位
注册: 2009-10-06
发 贴: 19
Smile [:)] @#Local的含义
Reply Quote
软件调试p922,!for_each_frame !for_each_local dt @#Local
打印每个栈帧测每个局部变量,这个例子在windbg的帮助文档中也有,可是去找@#Local的含义却没有找到,哪位可以帮忙解释一下,非常感谢
IP 地址: 已记录   报告
   2011-05-02, 21:29 下午
rong_bo 离线,最后访问时间: 2011/9/5 12:57:46 wrong

发帖数前10位
注册: 2011-01-07
发 贴: 66
Re: @#Local的含义
Reply Quote
帮助文件里有。

This alias is replaced by the name of the local variable.
IP 地址: 已记录   报告
   2011-05-04, 11:18 上午
luobing4365 离线,最后访问时间: 2022/5/16 2:05:04 luobing

发帖数前50位
注册: 2009-10-06
发 贴: 19
Smile [:)] Re: @#Local的含义
Reply Quote
谢谢^^能告诉我是在帮助文档的哪里吗?或者告诉我是怎么查到的。多谢赐教^^
IP 地址: 已记录   报告
   2011-05-04, 13:37 下午
rong_bo 离线,最后访问时间: 2011/9/5 12:57:46 wrong

发帖数前10位
注册: 2011-01-07
发 贴: 66
Re: @#Local的含义
Reply Quote
windbg 自带的帮助文件。
IP 地址: 已记录   报告
   2011-05-11, 10:48 上午
luobing4365 离线,最后访问时间: 2022/5/16 2:05:04 luobing

发帖数前50位
注册: 2009-10-06
发 贴: 19
Re: @#Local的含义
Reply Quote
我的意思是在具体的哪个页面^^,很感谢你解答我的问题
IP 地址: 已记录   报告
   2011-05-13, 19:24 下午
compilerit 离线,最后访问时间: 2008/9/7 21:40:03 compilerit

发帖数前500位
注册: 2008-09-07
发 贴: 1
Re: @#Local的含义
Reply Quote
就在!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 下午
luobing4365 离线,最后访问时间: 2022/5/16 2:05:04 luobing

发帖数前50位
注册: 2009-10-06
发 贴: 19
Smile [:)] Re: @#Local的含义
Reply Quote
非常非常感谢
IP 地址: 已记录   报告
高端调试 » 软件调试 » Windows内核调试 » Re: @#Local的含义

 
Legal Notice Privacy Statement Corporate Governance Corporate Governance
(C)2004-2020 ADVDBG.ORG All Rights Reserved.