Browse Source

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
pull/1/head
David Srbecký 15 years ago
parent
commit
b9f9defcb7
  1. 9
      src/AddIns/Debugger/Debugger.Core/Module.cs

9
src/AddIns/Debugger/Debugger.Core/Module.cs

@ -242,7 +242,16 @@ namespace Debugger @@ -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);
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();

Loading…
Cancel
Save