Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some debug logging to lookup_data_table () to help track down why…

… it asserts sometimes.
  • Loading branch information...
commit 83f95595b9d8c6c2812a35837aa11312a54278e4 1 parent 6b104c2
@vargaz vargaz authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 mono/metadata/mono-debug.c
View
5 mono/metadata/mono-debug.c
@@ -198,7 +198,10 @@ lookup_data_table (MonoDomain *domain)
MonoDebugDataTable *table;
table = g_hash_table_lookup (data_table_hash, domain);
- g_assert (table);
+ if (!table) {
+ g_error ("lookup_data_table () failed for %p\n", domain);
+ g_assert (table);
+ }
return table;
}
Please sign in to comment.
Something went wrong with that request. Please try again.