// This is the user version, messages directly from Cosmos user code public void OnOutputStringUser(string outputString) { //System.Diagnostics.Debug.Assert(Worker.CurrentThreadId == m_engine.DebuggedProcess.PollThreadId); var eventObject = new AD7OutputDebugStringEvent(outputString); Send(eventObject, AD7OutputDebugStringEvent.IID, null); }
private void RokuControllerOnOutput(string obj) { WorkerThread.PostOperation(async() => AD7OutputDebugStringEvent.Send(Engine, obj)); }