From: Cheng Zhao Date: Mon, 1 Jul 2013 13:35:00 +0000 (+0800) Subject: Implement process.crash() on Windows. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca389edc38ddf90d9e145b37882be84df2e93e25;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Implement process.crash() on Windows. --- diff --git a/common/api/atom_bindings.cc b/common/api/atom_bindings.cc index 4b8e2e6..3570075 100644 --- a/common/api/atom_bindings.cc +++ b/common/api/atom_bindings.cc @@ -4,6 +4,7 @@ #include "common/api/atom_bindings.h" +#include "base/debug/debugger.h" #include "base/logging.h" #include "vendor/node/src/node.h" @@ -74,7 +75,7 @@ v8::Handle AtomBindings::Binding(const v8::Arguments& args) { // static v8::Handle AtomBindings::Crash(const v8::Arguments& args) { - __builtin_trap(); + base::debug::BreakDebugger(); return v8::Undefined(); }