So beheben Sie diesen Fehler, der angezeigt wird, auf Windbg?
Habe ich geladen .exe und es gab diese Fehlermeldung:
Microsoft (R) Windows Debugger Version 6.12.0002.633 X86
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: "C:\Users\Public\SoundLog\Code\Código Python\SoundLog\dist\SoundLog.exe"
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00400000 0061c000 image00400000
ModLoad: 771a0000 772dc000 ntdll.dll
ModLoad: 76e10000 76ee4000 C:\Windows\system32\kernel32.dll
ModLoad: 75460000 754aa000 C:\Windows\system32\KERNELBASE.dll
ModLoad: 76550000 76619000 C:\Windows\system32\USER32.dll
ModLoad: 76b30000 76b7e000 C:\Windows\system32\GDI32.dll
ModLoad: 77310000 7731a000 C:\Windows\system32\LPK.dll
ModLoad: 76ef0000 76f8d000 C:\Windows\system32\USP10.dll
ModLoad: 75650000 756fc000 C:\Windows\system32\msvcrt.dll
ModLoad: 65ee0000 65f83000 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.dll
(c8.704): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00000000 ecx=0012fb0c edx=771e64f4 esi=fffffffe edi=00000000
eip=7723e60e esp=0012fb28 ebp=0012fb54 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll -
ntdll!LdrVerifyImageMatchesChecksum+0x633:
7723e60e cc int 3
0:000> g
Dann drückte ich F5 und während der Ausführung das Programm gab mir diese Fehlermeldung (dies ist, was ich brauche, um zu lösen):
ModLoad: 6f980000 6ff11000 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
ModLoad: 6f8e0000 6f97b000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
ModLoad: 752f0000 752fb000 C:\Windows\system32\profapi.dll
ModLoad: 6e670000 6f168000 C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\8c1770d45c63cf5c462eeb945ef9aa5d\mscorlib.ni.dll
ModLoad: 03d90000 03dac000 SoundLogC++WrapperDLL.dll
ModLoad: 03db0000 03dcc000 SoundLogC++WrapperDLL.dll
ModLoad: 6afa0000 6affb000 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
ModLoad: 04dd0000 04e13000 msvcm90.dll
ModLoad: 04e20000 04e63000 msvcm90.dll
ModLoad: 76aa0000 76b23000 C:\Windows\system32\CLBCatQ.DLL
ModLoad: 75280000 752df000 C:\Windows\system32\sxs.dll
ModLoad: 60340000 60348000 C:\Windows\Microsoft.NET\Framework\v2.0.50727\culture.dll
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): CLR exception - code e0434f4d (first chance)
(b78.9c8): CLR exception - code e0434f4d (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): CLR exception - code e0434f4d (!!! second chance !!!)
eax=0012e2a4 ebx=e0434f4d ecx=00000001 edx=00000000 esi=0012e32c edi=002bada0
eip=75469617 esp=0012e2a4 ebp=0012e2f4 iopl=0 nv up ei pl nz ac po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000212
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\KERNELBASE.dll -
KERNELBASE!RaiseException+0x54:
75469617 c9 leave
Kann mir jemand sagen was ist das und wie kann ich es lösen?
Symbol Suchpfad ist: ****** Ungültig ****** könnte der Anfang sein. Der große Stern-Schachtel sein könnte, den nächsten Ort zu suchen.
InformationsquelleAutor aF. | 2010-05-25
Du musst angemeldet sein, um einen Kommentar abzugeben.
Ihre erste Ausgabe ist, dass Sie nicht ein symbol Pfad gesetzt werden. Sie können ausführen ".symfix", wie bereits in der Nachricht, um automatisch ein symbol Pfad mit Microsoft ' s public symbol-server. Die zweite ist eine nicht behandelte Ausnahme. Sie müssen die richtige Symbole zuerst, und führen Sie dann "k", um einen stack-trace, das sollte Ihnen mehr Einblick in das, was geschieht.
InformationsquelleAutor Michael
Müssen Sie den Pfad des debug-Symbole. Diese kann getan werden, über die .sympath Befehl.
Zusätzliche Informationen zu Verwenden Sie Microsoft Symbol Server, um debug-Symboldateien zu erhalten
InformationsquelleAutor Shaji
Die erste Fehlermeldung sagt Ihnen, dass Ihr symbol Pfad nicht richtig gesetzt ist. Der zweite Fehler ist eine nicht behandelte Ausnahme, aber da Ihre Symbole nicht geladen sind, es ist schwer zu sagen, was Los ist.
Wenn Sie Zugang zum internet haben während des Debuggens können Sie den
.symfix
Befehl, um das symbol Weg zu zeigen Sie auf Microsoft symbol server. Geben Sie der öffentlichkeit, Symbole für Microsoft-DLLs. Stellen Sie sicher, dies zu tun, bevor Sie mit dem Debuggen beginnen..symfix
, wie von anderen erwähnt.DOH! Zu müde atm. Danke. Behoben.
InformationsquelleAutor Brian Rasmussen