How to use the debug.DebugPane function in debug

To help you get started, we’ve selected a few debug examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kinoma / kinomajs / xs6 / xsbug6 / shell / main.js View on Github external
selectMachine(machine) {
		if (this.currentMachine != machine) {
			shell.distribute("onMachineDeselected", this.currentMachine);
			let container = this.FEATURE;
			if (!this.currentMachine)
				container.replace(container.first, new DebugPane(this));
			else if (!machine)
				container.replace(container.first, new FilePane(this));
			this.currentMachine = machine
			shell.distribute("onMachineSelected", machine);
		}
	}
	sortBreakpoints(a, b) {