Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 23453035: 1. Add flag --trace-api to trace API function invocation (Closed)

Created:
7 years, 3 months ago by siva
Modified:
7 years, 3 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

1. Add flag --trace-api to trace API function invocation 2. Add tracing of external native functions under --trace-natives flag 3. Added a _printCurrentStacktrace() function so that one could get a dart stack trace under 'gdb' when in a native or runtime function. R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=27166

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -17 lines) Patch
M runtime/lib/stacktrace.cc View 1 3 chunks +42 lines, -12 lines 0 comments Download
M runtime/vm/dart_api_impl.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 15 chunks +30 lines, -0 lines 0 comments Download
M runtime/vm/native_arguments.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/native_entry.h View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/native_entry.cc View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
siva
7 years, 3 months ago (2013-09-04 22:39:47 UTC) #1
regis
LGTM https://codereview.chromium.org/23453035/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/23453035/diff/1/runtime/vm/dart_api_impl.cc#newcode41 runtime/vm/dart_api_impl.cc:41: DEFINE_FLAG(bool, trace_api, false, "Trace invocation of API calls"); ...
7 years, 3 months ago (2013-09-04 23:05:14 UTC) #2
siva
https://codereview.chromium.org/23453035/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/23453035/diff/1/runtime/vm/dart_api_impl.cc#newcode41 runtime/vm/dart_api_impl.cc:41: DEFINE_FLAG(bool, trace_api, false, "Trace invocation of API calls"); On ...
7 years, 3 months ago (2013-09-04 23:27:42 UTC) #3
siva
7 years, 3 months ago (2013-09-04 23:42:17 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r27166 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698