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

Issue 674423002: Get stack trace for uncaught exceptions/promise rejections from the simple stack when available. (Closed)

Created:
6 years, 1 month ago by aandrey
Modified:
6 years, 1 month ago
Reviewers:
Yang
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Get stack trace for uncaught exceptions/promise rejections from the simple stack when available. We can convert simple stack trace of an Error object to the detailed stack that is used for debugging. Do so when available, and only then fall back to reporting stack trace at throw site. R=yangguo@chromium.org, Yang LOG=Y Committed: https://code.google.com/p/v8/source/detail?r=24938

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -107 lines) Patch
M src/api.cc View 1 1 chunk +1 line, -6 lines 0 comments Download
M src/isolate.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 6 chunks +195 lines, -101 lines 0 comments Download
M test/cctest/test-api.cc View 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
aandrey
6 years, 1 month ago (2014-10-27 11:38:47 UTC) #1
Yang
On 2014/10/27 11:38:47, aandrey wrote: Do I understand correctly that this would only make a ...
6 years, 1 month ago (2014-10-27 11:44:39 UTC) #2
aandrey
On 2014/10/27 11:44:39, Yang wrote: > On 2014/10/27 11:38:47, aandrey wrote: > > Do I ...
6 years, 1 month ago (2014-10-27 12:30:34 UTC) #3
Yang
LGTM with comments. https://codereview.chromium.org/674423002/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/674423002/diff/1/src/isolate.cc#newcode452 src/isolate.cc:452: error_object, stack_trace_for_uncaught_exceptions_frame_limit_, There is no need ...
6 years, 1 month ago (2014-10-28 12:08:10 UTC) #4
aandrey
https://codereview.chromium.org/674423002/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/674423002/diff/1/src/isolate.cc#newcode452 src/isolate.cc:452: error_object, stack_trace_for_uncaught_exceptions_frame_limit_, On 2014/10/28 12:08:10, Yang wrote: > There ...
6 years, 1 month ago (2014-10-28 13:12:14 UTC) #5
Yang
On 2014/10/28 13:12:14, aandrey wrote: > https://codereview.chromium.org/674423002/diff/1/src/isolate.cc > File src/isolate.cc (right): > > https://codereview.chromium.org/674423002/diff/1/src/isolate.cc#newcode452 > ...
6 years, 1 month ago (2014-10-28 13:13:58 UTC) #6
aandrey
6 years, 1 month ago (2014-10-28 13:24:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 24938 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698