[mono/mono] e4a37a76: [sdb] Fix an assertion if a single step breakpoint is hit in a thread other than the thread the single stepping is done on. Fixes #14950.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <0000014213cfac3d-7770034f-4e39-4e00-b39d-f952bcb82e90-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/fbd9fd71679f...e4a37a7663f7
Commit: e4a37a7663f7668d31cd26726cdb431f26013c17
Author: Zoltan Varga <[email protected]> (vargaz)
Date: 2013-11-01 13:16:15 GMT
URL: https://github.com/mono/mono/commit/e4a37a7663f7668d31cd26726cdb431f26013c17
[sdb] Fix an assertion if a single step breakpoint is hit in a thread other than the thread the single stepping is done on. Fixes #14950.
Changed paths:
M mono/mini/debugger-agent.c
Modified: mono/mini/debugger-agent.c
===================================================================
@@ -4564,6 +4564,9 @@ static void CALLBACK notify_thread_apc (ULONG_PTR param)
SingleStepReq *ss_req = req->info;
gboolean hit;
+ if (mono_thread_internal_current () != ss_req->thread)
+ continue;
+
hit = ss_update (ss_req, ji, sp);
if (hit)
g_ptr_array_add (ss_reqs, req);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches