예제 #1
0
        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);
        }
예제 #2
0
 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);
 }