Exception: RustyRacer::ScriptTerminatedError

Inherits:
EvalError
  • Object
show all
Defined in:
lib/rusty_racer.rb

Instance Method Summary collapse

Instance Method Details

#js_backtraceObject

The JS stack at the moment the call timed out (watchdog), as [“func (script:line:col)”, …], top frame first — captured on the isolate thread just before TerminateExecution. [] when no stack was captured (e.g. a bare Isolate#terminate rather than a timeout). The same frames are also set as the exception’s #backtrace when present.



35
# File 'lib/rusty_racer.rb', line 35

def js_backtrace = @js_backtrace || []