public void enableMemoryWriteTracking(boolean enable) {

		if (!enable) {
			if (memoryWriteTracker != null) {
				memoryWriteTracker.dispose();
				memoryWriteTracker = null;
			}
			return;
		}

		memoryWriteTracker = new MemoryWriteTracker();
		emulator.addMemoryAccessFilter(memoryWriteTracker);
	}
Enable/Disable tracking of memory writes in the form of an address set.

@param enable
Ghidra/Framework/Emulation/src/main/java/ghidra/app/emulator/EmulatorHelper.java