diff options
author | Eugene Tarassov | 2014-01-25 17:56:24 +0000 |
---|---|---|
committer | Eugene Tarassov | 2014-01-25 17:56:24 +0000 |
commit | e26d177737f3829c04c7244d036f912ae309c407 (patch) | |
tree | d556aa1f0271f4d5808f722e87ae0bc13c3ce2af | |
parent | 01fde9b65efa38dd635913d3b7fc96a1183cc8a4 (diff) | |
download | org.eclipse.tcf.agent-e26d177737f3829c04c7244d036f912ae309c407.tar.gz org.eclipse.tcf.agent-e26d177737f3829c04c7244d036f912ae309c407.tar.xz org.eclipse.tcf.agent-e26d177737f3829c04c7244d036f912ae309c407.zip |
TCF Agent: fixed possible assertion failure in the Breakpoints service
-rw-r--r-- | agent/tcf/services/breakpoints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/breakpoints.c b/agent/tcf/services/breakpoints.c index 8907dd5c..91a16762 100644 --- a/agent/tcf/services/breakpoints.c +++ b/agent/tcf/services/breakpoints.c @@ -1080,7 +1080,7 @@ static void post_location_evaluation_request(Context * ctx, BreakpointInfo * bp) ContextExtensionBP * ext = EXT(ctx); Context * grp = context_get_group(ctx, CONTEXT_GROUP_BREAKPOINT); - assert(id2ctx(ctx->id) == ctx); + assert(ctx->exited || id2ctx(ctx->id) == ctx); if (ext->bp_grp != NULL && ext->bp_grp != grp && !ext->bp_grp->exited) { /* The context has migrated into another breakpoint group. * If the old group became empty, we need to remove breakpoints in it. |