diff options
author | Eugene Tarassov | 2015-05-20 21:00:49 +0000 |
---|---|---|
committer | Eugene Tarassov | 2015-05-20 21:00:49 +0000 |
commit | e295503968309c828c1d0921df90e2b7ce708100 (patch) | |
tree | c09f95c20af0887efe0be9976774f23ee59b4862 /agent/tcf/services/stacktrace.c | |
parent | 813f4d539c27e7dcef5bb842b145183e6f50880b (diff) | |
download | org.eclipse.tcf.agent-e295503968309c828c1d0921df90e2b7ce708100.tar.gz org.eclipse.tcf.agent-e295503968309c828c1d0921df90e2b7ce708100.tar.xz org.eclipse.tcf.agent-e295503968309c828c1d0921df90e2b7ce708100.zip |
Bug 467697 - stacktrace.getChildren() does not handle inline frame
Diffstat (limited to 'agent/tcf/services/stacktrace.c')
-rw-r--r-- | agent/tcf/services/stacktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/stacktrace.c b/agent/tcf/services/stacktrace.c index 14f3c5a6..2e98e33c 100644 --- a/agent/tcf/services/stacktrace.c +++ b/agent/tcf/services/stacktrace.c @@ -508,7 +508,7 @@ static void command_get_children_cache_client(void * x) { int inlined = EXT(ctx)->inlined; write_stream(&c->out, '['); if (args->all_frames) { - for (i = inlined; i < stack->frame_cnt; i++) { + for (i = 0; i < stack->frame_cnt - inlined; i++) { if (j > 0) write_stream(&c->out, ','); json_write_string(&c->out, frame2id(ctx, stack->frame_cnt - i - 1)); j++; |