9

这就是我要解决的问题。我有一个来自 Google Chrome 的故障转储。

  1. 我打开 windbg 并说 File -> Symbol File Path: "SRV*c:\code\symbols*http://msdl.microsoft.com/download/symbols;SRV*c:\code\symbols*https://chromium -browser-symsrv.commondatastorage.googleapis.com”我想这会寻找从 let 到 right 的调试符号,然后应该最终从谷歌中获取它们。我从http://www.chromium.org/developers/how-tos/debugging复制了它。

  2. 我将故障转储拖放到 windbg

进而...

Microsoft (R) Windows Debugger Version 6.2.8400.0 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\cburgdorf\Desktop\Chrome-last.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: SRV*c:\code\symbols*http://msdl.microsoft.com/download/symbols;SRV*c:\code\symbols*https://chromium-browser-symsrv.commondatastorage.googleapis.com
Executable search path is: 
Windows 7 Version 7601 (Service Pack 1) MP (8 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Wed May 16 16:25:24.000 2012 (UTC + 2:00)
System Uptime: not available
Process Uptime: 0 days 0:01:39.000
.........................................
This dump file has a breakpoint exception stored in it.
The stored exception information can be accessed via .ecxr.
eax=00000000 ebx=0038e1f8 ecx=00000001 edx=0012df58 esi=00000002 edi=0038e218
eip=776e013d esp=0038e1a8 ebp=0038e244 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00200246
ntdll!NtWaitForMultipleObjects+0x15:
776e013d 83c404          add     esp,4
0:000> .excr
           ^ Syntax error in '.excr'

您会看到它说“可以通过 .ecxr 访问存储的异常信息”,但是一旦我插入它,它就会告诉我我有语法错误。

有谁知道我做错了什么?

4

1 回答 1

14

你有一个错字,它是.ecxr:) 与此同时,另一种无需太多 WinDbg-fu 从崩溃转储中获取信息的简单方法是:

.symfix; .reload
!analyze -v

如果这是一个 .NET 应用程序(Chromium 不仅仅是为了提供额外信息),请添加这三行

.loadby sos clr
!pe
~*e !clrstack
于 2012-06-01T11:29:28.713 回答