Disable catchpoints when the DISABLE_BREAKPOINTS flag is used during an invoke. Fixes...
authorZoltan Varga <vargaz@gmail.com>
Mon, 25 Oct 2010 16:08:10 +0000 (18:08 +0200)
committerZoltan Varga <vargaz@gmail.com>
Mon, 25 Oct 2010 16:08:10 +0000 (18:08 +0200)
mono/mini/debugger-agent.c

index 86315e332230fc0320f999ba32301853d5016f39..9ad729484b33aa8f8d5cde66783721780f91cf54 100644 (file)
@@ -4118,6 +4118,8 @@ mono_debugger_agent_handle_exception (MonoException *exc, MonoContext *throw_ctx
 
                if (tls && tls->abort_requested)
                        return;
+               if (tls && tls->disable_breakpoints)
+                       return;
        }
 
        memset (&ei, 0, sizeof (EventInfo));