From b9f9defcb746a58157c40113b22fc09a41357a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Srbeck=C3=BD?= Date: Mon, 12 Jul 2010 21:55:37 +0000 Subject: [PATCH] Ignore 0x80131C3B The application did not supply symbols when it loaded or created this module, or they are not yet available. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6115 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- src/AddIns/Debugger/Debugger.Core/Module.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/AddIns/Debugger/Debugger.Core/Module.cs b/src/AddIns/Debugger/Debugger.Core/Module.cs index 1b35abad5b..7e0dc2b6f7 100644 --- a/src/AddIns/Debugger/Debugger.Core/Module.cs +++ b/src/AddIns/Debugger/Debugger.Core/Module.cs @@ -242,7 +242,16 @@ namespace Debugger { if (this.CorModule is ICorDebugModule3 && this.IsDynamic) { Guid guid = new Guid(0, 0, 0, 0xc0, 0, 0, 0, 0, 0, 0, 70); - symReader = (ISymUnmanagedReader)((ICorDebugModule3)this.CorModule).CreateReaderForInMemorySymbols(guid); + try { + symReader = (ISymUnmanagedReader)((ICorDebugModule3)this.CorModule).CreateReaderForInMemorySymbols(guid); + } catch (COMException e) { + // 0x80131C3B The application did not supply symbols when it loaded or created this module, or they are not yet available. + if ((uint)e.ErrorCode == 0x80131C3B) { + process.TraceMessage("Failed to load dynamic symbols for " + this.Name); + return; + } + throw; + } TrackedComObjects.Track(symReader); process.TraceMessage("Loaded dynamic symbols for " + this.Name); OnSymbolsUpdated();