示例#1
0
 protected virtual void OnNativeThreadExited(ThreadEventArgs e)
 {
     if (NativeThreadExited != null)
     {
         NativeThreadExited(this, e);
     }
 }
示例#2
0
 protected virtual void OnNameChanged(ThreadEventArgs e)
 {
     if (NameChanged != null)
     {
         NameChanged(this, e);
     }
 }
示例#3
0
 protected virtual void OnExited(ThreadEventArgs e)
 {
     if (Exited != null)
     {
         Exited(this, e);
     }
 }
 private void ThreadExited(object sender, ThreadEventArgs ev)
 {
     Console.Error.WriteLine("ThreadExited:" + ev.Thread.ID);
 }
 private void ThreadStarted(object sender, ThreadEventArgs ev)
 {
     EventRequest eventRequest = threadStartEventRequest;
     if (eventRequest != null)
     {
         Thread th = ev.Thread;
         jdwpEventHandler.Send(SuspendPolicy.EVENT_THREAD, EventKind.THREAD_START, eventRequest.RequestId, (int)th.ID);
         ev.Thread.Exited += new EventHandler<ThreadEventArgs>(ThreadExited);
     }
     Console.Error.WriteLine("ThreadStarted:" + ev.Thread.ID+ " " + eventRequest);
 }
示例#6
0
		protected virtual void OnNameChanged(ThreadEventArgs e)
		{
			if (NameChanged != null) {
				NameChanged(this, e);
			}
		}
示例#7
0
		protected virtual void OnExited(ThreadEventArgs e)
		{
			if (Exited != null) {
				Exited(this, e);
			}
		}
		void debuggedProcess_ThreadStarted(object sender, ThreadEventArgs e)
		{
			AddThread(e.Thread);
		}
示例#9
0
		protected virtual void OnNativeThreadExited(ThreadEventArgs e)
		{
			if (NativeThreadExited != null) {
				NativeThreadExited(this, e);
			}
		}