/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// List of options supported by this thread configuration actor. /* eslint sort-keys: "error" */ const SUPPORTED_OPTIONS = { // Disable pausing on caught exceptions.
ignoreCaughtExceptions: true, // Log the event break points.
logEventBreakpoints: true, // Enable debugging asm & wasm. // See https://searchfox.org/mozilla-central/source/js/src/doc/Debugger/Debugger.md#16-26
observeAsmJS: true,
observeWasm: true, // Enable pausing on exceptions.
pauseOnExceptions: true, // Boolean to know if we should display the overlay when pausing
pauseOverlay: true, // Should pause all the workers untill thread has attached.
pauseWorkersUntilAttach: true, // Include async stack frames when paused.
shouldIncludeAsyncLiveFrames: true, // Include previously saved stack frames when paused.
shouldIncludeSavedFrames: true, // Controls pausing on debugger statement. // (This is enabled by default if omitted)
shouldPauseOnDebuggerStatement: true, // Stop pausing on breakpoints.
skipBreakpoints: true,
}; /* eslint-disable sort-keys */
/** * This actor manages the configuration options which apply to thread actor for all the targets. * * Configuration options should be applied to all concerned targets when the * configuration is updated, and new targets should also be able to read the * flags when they are created. The flags will be forwarded to the WatcherActor * and stored as THREAD_CONFIGURATION data entries. * * @constructor *
*/ class ThreadConfigurationActor extends Actor {
constructor(watcherActor) { super(watcherActor.conn, threadConfigurationSpec); this.watcherActor = watcherActor;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.