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

Issue 2961003: Allow to capture stack trace for uncaught exceptions (Closed)

Created:
10 years, 5 months ago by yurys
Modified:
9 years, 7 months ago
CC:
v8-dev, mnaganov (inactive), pfeldman
Visibility:
Public.

Description

Allow to capture stack trace for uncaught exceptions Committed: http://code.google.com/p/v8/source/detail?r=5043

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 6

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -40 lines) Patch
M include/v8.h View 2 chunks +16 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 3 chunks +30 lines, -1 line 0 comments Download
M src/debug.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/messages.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/messages.cc View 1 2 3 4 5 2 chunks +8 lines, -3 lines 0 comments Download
M src/messages.js View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M src/top.h View 1 2 3 4 5 6 3 chunks +6 lines, -4 lines 0 comments Download
M src/top.cc View 1 2 3 4 5 6 7 8 7 chunks +26 lines, -27 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
yurys
10 years, 5 months ago (2010-07-12 10:13:33 UTC) #1
Mads Ager (chromium)
LGTM I don't really like the fact that we can now end up traversing the ...
10 years, 5 months ago (2010-07-12 12:25:32 UTC) #2
yurys
10 years, 5 months ago (2010-07-12 12:58:24 UTC) #3
http://codereview.chromium.org/2961003/diff/32001/16003
File src/api.cc (right):

http://codereview.chromium.org/2961003/diff/32001/16003#newcode1450
src/api.cc:1450: if (!stackFramesObj->IsJSArray())
On 2010/07/12 12:25:32, Mads Ager wrote:
> Please add braces around body.

Done.

http://codereview.chromium.org/2961003/diff/32001/16003#newcode1604
src/api.cc:1604: i::Top::CaptureCurrentStackTrace(frame_limit, options);
On 2010/07/12 12:25:32, Mads Ager wrote:
> Indentation off?

Done.

http://codereview.chromium.org/2961003/diff/32001/16008
File src/top.cc (right):

http://codereview.chromium.org/2961003/diff/32001/16008#newcode785
src/top.cc:785: void Top::ReportUncaughtException(Handle<Object> exception,
On 2010/07/12 12:25:32, Mads Ager wrote:
> Hmm, is this one no longer used? If it is used it should capture the stack
trace
> and if not could you remove it?

Removed, it was unused.

Powered by Google App Engine
This is Rietveld 408576698