Merge pull request #3802 from lambdageek/dev-reference-attr-take3
[mono.git] / mono / mini / mini-exceptions.c
index 402c60d00041a3040830471bfebe19b4ef2e1f91..120da0bc2bc49355b6d09d2f16b3766762e1fa5d 100644 (file)
@@ -2724,7 +2724,7 @@ mono_thread_state_init_from_sigctx (MonoThreadUnwindState *ctx, void *sigctx)
        MonoThreadInfo *thread = mono_thread_info_current_unchecked ();
        if (!thread) {
                ctx->valid = FALSE;
-               G_BREAKPOINT ();
+               g_error ("Invoked mono_thread_state_init_from_sigctx from non-Mono thread");
                return FALSE;
        }