Exception: RustyRacer::ScriptTerminatedError
- Defined in:
- lib/rusty_racer.rb
Instance Method Summary collapse
-
#js_backtrace ⇒ Object
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.
Instance Method Details
#js_backtrace ⇒ Object
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 || [] |