libraries/v8/runtime.cc
// Returns the state of break on exceptions
// args[0]: boolean indicating uncaught exceptions
Returns the state of break on exceptions
args[0]: boolean indicating uncaught exceptions
Returns the state of break on exceptions args [ 0 ] : boolean indicating uncaught exceptions
RUNTIME_FUNCTION(MaybeObject*, Runtime_IsBreakOnException) {
  HandleScope scope(isolate);
  ASSERT(args.length() == 1);
  RUNTIME_ASSERT(args[0]->IsNumber());
  ExceptionBreakType type =
      static_cast<ExceptionBreakType>(NumberToUint32(args[0]));
  bool result = isolate->debug()->IsBreakOnException(type);
  return Smi::FromInt(result);
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_IsBreakOnException ) { HandleScope scope ( isolate ) ; ASSERT ( args . length ( ) == 1 ) ; RUNTIME_ASSERT ( args [ 0 ] -> IsNumber ( ) ) ; ExceptionBreakType type = static_cast < ExceptionBreakType > ( NumberToUint32 ( args [ 0 ] ) ) ; bool result = isolate -> debug ( ) -> IsBreakOnException ( type ) ; return Smi :: FromInt ( result ) ; }
Returns the state of break on exceptions
args[0]: boolean indicating uncaught exceptions
Returns the state of break on exceptions args [ 0 ] : boolean indicating uncaught exceptions