Example #1
0
 protected virtual void OnNativeThreadExited(ThreadEventArgs e)
 {
     if (NativeThreadExited != null)
     {
         NativeThreadExited(this, e);
     }
 }
Example #2
0
 protected virtual void OnNameChanged(ThreadEventArgs e)
 {
     if (NameChanged != null)
     {
         NameChanged(this, e);
     }
 }
Example #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);
 }
Example #6
0
		protected virtual void OnNameChanged(ThreadEventArgs e)
		{
			if (NameChanged != null) {
				NameChanged(this, e);
			}
		}
Example #7
0
		protected virtual void OnExited(ThreadEventArgs e)
		{
			if (Exited != null) {
				Exited(this, e);
			}
		}
		void debuggedProcess_ThreadStarted(object sender, ThreadEventArgs e)
		{
			AddThread(e.Thread);
		}
Example #9
0
		protected virtual void OnNativeThreadExited(ThreadEventArgs e)
		{
			if (NativeThreadExited != null) {
				NativeThreadExited(this, e);
			}
		}