MCPcopy Create free account
hub / github.com/mozilla/rhino / setDebugger

Method setDebugger

rhino/src/main/java/org/mozilla/javascript/Context.java:2334–2338  ·  view source on GitHub ↗

Set the associated debugger. @param debugger the debugger to be used on callbacks from the engine. @param contextData arbitrary object that debugger can use to store per Context data.

(Debugger debugger, Object contextData)

Source from the content-addressed store, hash-verified

2332 * @param contextData arbitrary object that debugger can use to store per Context data.
2333 */
2334 public final void setDebugger(Debugger debugger, Object contextData) {
2335 if (sealed) onSealedMutation();
2336 this.debugger = debugger;
2337 debuggerData = contextData;
2338 }
2339
2340 /**
2341 * Return DebuggableScript instance if any associated with the script. If callable supports

Calls 1

onSealedMutationMethod · 0.95