Don't miss error message in 'restart frame' debug action
Review URL: https://chromiumcodereview.appspot.com/10693095 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12074 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
45d86e4846
commit
ed371d4881
@ -1824,7 +1824,14 @@ class SingleFrameTarget {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user