Skip to content

Commit dea5221

Browse files
authored
backport 79822 (#80615)
1 parent ad2f9a9 commit dea5221

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/mono/mono/component/debugger-stub.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ stub_debugger_end_exception_filter (MonoException *exc, MonoContext *ctx, MonoCo
155155
static void
156156
stub_debugger_user_break (void)
157157
{
158-
G_BREAKPOINT ();
158+
if (get_mini_debug_options ()->native_debugger_break)
159+
G_BREAKPOINT ();
159160
}
160161

161162
static void

0 commit comments

Comments
 (0)