MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / FireOnOutputDebugString

Method FireOnOutputDebugString

PerformanceMonitor/DebugMonitor.cs:271–285  ·  view source on GitHub ↗
(int pid, string text)

Source from the content-addressed store, hash-verified

269 }
270
271 private static void FireOnOutputDebugString(int pid, string text) {
272 // Raise event if we have any listeners
273 if (OnOutputDebugString == null)
274 return;
275
276#if !DEBUG
277 try {
278#endif
279 OnOutputDebugString(pid, text);
280#if !DEBUG
281 } catch (Exception ex) {
282 Console.WriteLine("An 'OnOutputDebugString' handler failed to execute: " + ex.ToString());
283 }
284#endif
285 }
286
287 /// <summary>
288 /// Dispose all resources

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected