Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-05-07 01:06:26 -0400
committerEugene Tarassov2013-05-07 01:06:26 -0400
commit765555a4d999dadd8b8dcc9188623ba723c06a2e (patch)
treeb83964ed63cc2f11ee6a1137c8ef89528c4bf737
parent8916f9768b147796c293885e4f9e99fe8ff46808 (diff)
downloadorg.eclipse.tcf.agent-765555a4d999dadd8b8dcc9188623ba723c06a2e.tar.gz
org.eclipse.tcf.agent-765555a4d999dadd8b8dcc9188623ba723c06a2e.tar.xz
org.eclipse.tcf.agent-765555a4d999dadd8b8dcc9188623ba723c06a2e.zip
TCF Agent: fixed: assertion failure when debug contexts with same ID are rapidly created and removed
-rw-r--r--agent/tcf/services/breakpoints.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/tcf/services/breakpoints.c b/agent/tcf/services/breakpoints.c
index d6bb8509..c056966a 100644
--- a/agent/tcf/services/breakpoints.c
+++ b/agent/tcf/services/breakpoints.c
@@ -1680,6 +1680,7 @@ static void replant_breakpoint(BreakpointInfo * bp) {
for (i = 0; i < bi->ref_cnt; i++) {
InstructionRef * ref = bi->refs + i;
if (ref->bp != bp) continue;
+ if (ref->ctx->exited) continue;
/* Check for fork child that is going to be detached */
if (id2ctx(ref->ctx->id) == NULL) continue;
post_location_evaluation_request(ref->ctx, bp);

Back to the top