#include "common/api/atom_bindings.h"
-#include "base/debug/debugger.h"
#include "base/logging.h"
#include "common/atom_version.h"
#include "common/v8_conversions.h"
static uv_async_t dummy_uv_handle;
+struct DummyClass { bool crash; };
+
void UvNoOp(uv_async_t* handle, int status) {
}
// static
v8::Handle<v8::Value> AtomBindings::Crash(const v8::Arguments& args) {
- base::debug::BreakDebugger();
+ static_cast<DummyClass*>(NULL)->crash = true;
return v8::Undefined();
}