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

Issue 171042: Added API call to get the stack trace for an exception (Closed)

Created:
11 years, 4 months ago by Christian Plesner Hansen
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Added API call to get the stack trace for an exception Added TryCatch::StackTrace that gets the stack trace for the thrown exception.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M include/v8.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +17 lines, -0 lines 2 comments Download
M test/cctest/test-api.cc View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Christian Plesner Hansen
11 years, 4 months ago (2009-08-17 12:41:21 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/171042/diff/1/3 File src/api.cc (right): http://codereview.chromium.org/171042/diff/1/3#newcode1227 Line 1227: i::Handle<i::Object> raw_obj(raw_ptr); Why not just i::Handle<i::JSObject> obj(i::JSObject::cast(raw_ptr));
11 years, 4 months ago (2009-08-17 13:30:16 UTC) #2
Christian Plesner Hansen
11 years, 4 months ago (2009-08-17 13:33:59 UTC) #3
http://codereview.chromium.org/171042/diff/1/3
File src/api.cc (right):

http://codereview.chromium.org/171042/diff/1/3#newcode1227
Line 1227: i::Handle<i::Object> raw_obj(raw_ptr);
Done

Powered by Google App Engine
This is Rietveld 408576698