//z 2011-09-04 16:52:[email protected] 转载请注明出处
debug tools for windows,windbg
1. 在windbg中可以使用如下命令:
.sympath SRV*f:\localsymbols*http://msdl.microsoft.com/download/symbols
设置_NT_SYMBOL_PATH
F:\Symbol;symsrv*symsrv.dll*F:\Symbol*http://msdl.microsoft.com/download/symbols
2.如是临时使用:
Set _NT_SYMBOL_PATH = symsrv*symsrv.dll*f:\localsymbols*http://msdl.microsoft.com/download/symbols
3. 多个路径
fsymchk /r c:\windows\system32 /s SRV*c:\symbols\*http://msdl.microsoft.com/download/symbols:
//z 2011-09-04 16:52:[email protected] 转载请注明出处
4. 迭代得到目录下的所有文件的symbol
symchk /r c:\windows\system32 /s SRV*c:\symbols\*http://msdl.microsoft.com/download/symbols
Pseudoregister |
Description |
@ERR |
Last error value; the same value returned by the |
@TIB |
Thread information block for the current thread; necessary because the debugger doesn't handle the "FS:0" format |
@CLK |
Undocumented clock register; usable only in the Watch window |
@EAX, @EBX, @ECX, @EDX, @ESI, @EDI, @EIP, @ESP, @EBP, @EFL |
Intel CPU registers |
@CS, @DS, @ES, @SS, @FS, @GS |
Intel CPU segment registers |
@ST0, @ST1, @ST2, @ST3, @ST4, @ST5, @ST6, @ST7 |
Intel CPU floating-point registers |