Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-07-13 22:33:33 -0400
committerEugene Tarassov2013-07-13 22:33:33 -0400
commit73d3c40cdf1c239a9ad58bd4f38956b5420b13b3 (patch)
treea0326939d8a6f6d51ae40be69eb75b9c5e1b5ed8 /agent/tcf/services/stacktrace.c
parentaabb8a03f75386766ddb4c682e1e6ee8d631c03c (diff)
downloadorg.eclipse.tcf.agent-73d3c40cdf1c239a9ad58bd4f38956b5420b13b3.tar.gz
org.eclipse.tcf.agent-73d3c40cdf1c239a9ad58bd4f38956b5420b13b3.tar.xz
org.eclipse.tcf.agent-73d3c40cdf1c239a9ad58bd4f38956b5420b13b3.zip
TCF Agent: fixed JSON syntax error in reply of StackTrace.getChildrenRange command
Diffstat (limited to 'agent/tcf/services/stacktrace.c')
-rw-r--r--agent/tcf/services/stacktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/stacktrace.c b/agent/tcf/services/stacktrace.c
index 095aac86..885a56e4 100644
--- a/agent/tcf/services/stacktrace.c
+++ b/agent/tcf/services/stacktrace.c
@@ -430,7 +430,7 @@ static void command_get_children_cache_client(void * x) {
}
else {
for (i = args->min_frame; i <= args->max_frame && i < stack->frame_cnt; i++) {
- if (i > 0) write_stream(&c->out, ',');
+ if (i > args->min_frame) write_stream(&c->out, ',');
json_write_string(&c->out, frame2id(ctx, i));
}
}

Back to the top