Author: martin
Date: 2007-10-05 10:32:07 -0400 (Fri, 05 Oct 2007)
New Revision: 86985
Modified:
trunk/debugger/ChangeLog
trunk/debugger/languages/mono/MonoSymbolFile.cs
Log:
2007-10-05 Martin Baulig <[EMAIL PROTECTED]>
* languages/mono/MonoSymbolFile.cs
(MonoSymbolFile.LookupClassInfo): Reload the symbol tables if we
can't find the requested type and try again.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2007-10-05 14:16:15 UTC (rev 86984)
+++ trunk/debugger/ChangeLog 2007-10-05 14:32:07 UTC (rev 86985)
@@ -1,5 +1,11 @@
2007-10-05 Martin Baulig <[EMAIL PROTECTED]>
+ * languages/mono/MonoSymbolFile.cs
+ (MonoSymbolFile.LookupClassInfo): Reload the symbol tables if we
+ can't find the requested type and try again.
+
+2007-10-05 Martin Baulig <[EMAIL PROTECTED]>
+
* languages/TargetType.cs
(TargetType.SetObject): `Thread' -> `TargetAccess'.
Modified: trunk/debugger/languages/mono/MonoSymbolFile.cs
===================================================================
--- trunk/debugger/languages/mono/MonoSymbolFile.cs 2007-10-05 14:16:15 UTC
(rev 86984)
+++ trunk/debugger/languages/mono/MonoSymbolFile.cs 2007-10-05 14:32:07 UTC
(rev 86985)
@@ -808,8 +808,12 @@
internal MonoClassInfo LookupClassInfo (TargetMemoryAccess
target, int token)
{
ClassEntry entry = (ClassEntry) class_entry_by_token
[token];
- if (entry == null)
- return null;
+ if (entry == null) {
+ MonoLanguage.Update (target);
+ entry = (ClassEntry) class_entry_by_token
[token];
+ if (entry == null)
+ return null;
+ }
return entry.ReadClassInfo (MonoLanguage, target);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches