Reviewers: Yury Semikhatsky, pfeldman, Søren Gjesse,

Message:
Requesting feedback. Will cover with appropriate test cases once consensus is
reached on what the API should look like.

Description:
RFC: Adds Debug API for retrieving a stack trace without running JavaScript.
This is important for browser profiling since grabbing a stack trace via the
API in messages.js and debug-debugger.js can allow GC to run. Also, this API
is over 2 orders of magnitude faster than the existing methods for obtaining
Script Name, Function Name, line number and column number for each frame.

This matters alot currently for the profiling infrastructure in
InspectorTimelineAgent in WebCore, which is used by the WebKit inspector's
timeline panel, and Google Speed Tracer.

I would like feedback on the approach taken in this patch, and suggestions
on how this should actually be landed.


Please review this at http://codereview.chromium.org/1694011/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     include/v8-debug.h
  M     src/api.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to