[mono/mono] 5f246a58: [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 | <00000142143331f3-46446b44-718d-41b9-91e3-3bdb14e282bd-000000@email.amazonses.com> |
Branch: refs/heads/mtvs-1.8-series
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/dcc4db5d78b8...5f246a5889cc
Commit: 5f246a5889cc9782ae16289aff06838a50c430a1
Author: Zoltan Varga <[email protected]> (vargaz)
Committer: Rodrigo Kumpera <[email protected]> (kumpera)
Date: 2013-11-01 15:04:11 GMT
URL: https://github.com/mono/mono/commit/5f246a5889cc9782ae16289aff06838a50c430a1
[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
===================================================================
@@ -4562,6 +4562,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