void FireTargetEvent(TargetEventType type) { TargetEventArgs args = new TargetEventArgs(type); if (type != TargetEventType.TargetExited) { HxcppBacktrace bt = new HxcppBacktrace(this, lastResult.depth + 1, lastResult.threadId); args.Backtrace = new Backtrace(bt); args.Thread = GetThread(0); } OnTargetEvent(args); }
void FireTargetEvent(TargetEventType type) { TargetEventArgs args = new TargetEventArgs (type); if (type != TargetEventType.TargetExited) { HxcppBacktrace bt = new HxcppBacktrace (this, lastResult.depth + 1, lastResult.threadId); args.Backtrace = new Backtrace (bt); args.Thread = GetThread (0); } OnTargetEvent (args); }