Revision: 12074
Author: [email protected]
Date: Fri Jul 13 02:02:03 2012
Log: Don't miss error message in 'restart frame' debug action
Review URL: https://chromiumcodereview.appspot.com/10693095
http://code.google.com/p/v8/source/detail?r=12074
Modified:
/branches/bleeding_edge/src/liveedit.cc
=======================================
--- /branches/bleeding_edge/src/liveedit.cc Thu Jul 5 09:23:14 2012
+++ /branches/bleeding_edge/src/liveedit.cc Fri Jul 13 02:02:03 2012
@@ -1824,7 +1824,14 @@
const char* LiveEdit::RestartFrame(JavaScriptFrame* frame, Zone* zone) {
SingleFrameTarget target(frame);
- return DropActivationsInActiveThreadImpl(target, true, zone);
+ const char* result = DropActivationsInActiveThreadImpl(target, true,
zone);
+ if (result != NULL) {
+ return result;
+ }
+ if (target.saved_status() ==
LiveEdit::FUNCTION_BLOCKED_UNDER_NATIVE_CODE) {
+ return "Function is blocked under native code";
+ }
+ return NULL;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev