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

Issue 159403: Added Error.captureStackTrace function. (Closed)

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

Description

Added Error.captureStackTrace function. Added utility function for capturing stack traces so that efficient stack trace collection works for custom errors too, not just built-in ones.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -23 lines) Patch
M src/messages.js View 3 chunks +25 lines, -16 lines 0 comments Download
M src/runtime.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M test/mjsunit/stack-traces.js View 3 chunks +27 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Christian Plesner Hansen
11 years, 5 months ago (2009-07-27 11:29:01 UTC) #1
Søren Thygesen Gjesse
11 years, 5 months ago (2009-07-27 11:58:58 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698