[V8] Report v8::AfterCompile and v8::CompileError to listener on pause
authorkozyatinskiy <kozyatinskiy@chromium.org>
Thu, 11 Dec 2014 10:58:48 +0000 (02:58 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Dec 2014 10:59:00 +0000 (10:59 +0000)
commitaffe4c03b67ebb82ec5d81996d9d23d6cbe5d9ac
treead011d141b9dc9c4800c2d329e2ca49d837c0711
parent1b316ed0ad3bbc01cb77840d6c6641208d37436b
[V8] Report v8::AfterCompile and v8::CompileError to listener on pause

V8 didn't report compile events on pause before this patch. These events can be important for listener. For example, DevTools allows user to execute some JS code on pause and needs to show correct stack trace in message from it.

BUG=396013
R=yurys@chromium.org

Review URL: https://codereview.chromium.org/781623004

Cr-Commit-Position: refs/heads/master@{#25767}
src/debug.cc
src/debug.h
test/mjsunit/debug-clearbreakpointgroup.js
test/mjsunit/debug-compile-event.js
test/mjsunit/debug-evaluate-with-context.js