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

Issue 200343003: Expose DumpBacktrace for debugging purposes. (Closed)

Created:
6 years, 9 months ago by marja
Modified:
6 years, 9 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Expose DumpBacktrace for debugging purposes. After this change, you can just call DumpBacktrace in any function. Previously the only function printing stack traces was V8_Fatal, but that also terminated the program, so not very useful for debugging. Note that DumpBacktrace is roughly equivalent to base::debug::StackTrace functionality in Chromium, except less fancy, but it's enough for us. R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=19993

Patch Set 1 #

Total comments: 5

Patch Set 2 : code review #

Patch Set 3 : rebased #

Patch Set 4 : namespacing #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -21 lines) Patch
M src/checks.h View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M src/checks.cc View 1 4 chunks +18 lines, -19 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
marja
ptal
6 years, 9 months ago (2014-03-14 14:02:50 UTC) #1
Michael Starzinger
https://codereview.chromium.org/200343003/diff/1/src/checks.cc File src/checks.cc (right): https://codereview.chromium.org/200343003/diff/1/src/checks.cc#newcode96 src/checks.cc:96: } // namespace internal nit: Can we get the ...
6 years, 9 months ago (2014-03-14 14:29:19 UTC) #2
Michael Starzinger
LGTM with nits.
6 years, 9 months ago (2014-03-14 14:29:30 UTC) #3
marja
thx for review! https://codereview.chromium.org/200343003/diff/1/src/checks.cc File src/checks.cc (right): https://codereview.chromium.org/200343003/diff/1/src/checks.cc#newcode96 src/checks.cc:96: } // namespace internal On 2014/03/14 ...
6 years, 9 months ago (2014-03-17 10:50:07 UTC) #4
marja
https://codereview.chromium.org/200343003/diff/1/src/checks.cc File src/checks.cc (right): https://codereview.chromium.org/200343003/diff/1/src/checks.cc#newcode96 src/checks.cc:96: } // namespace internal On 2014/03/17 10:50:07, marja wrote: ...
6 years, 9 months ago (2014-03-17 11:09:03 UTC) #5
marja
6 years, 9 months ago (2014-03-17 13:33:27 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r19993 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698