2 namespace Mono
.Debugger
.Soft
4 public abstract class Event
{
5 protected VirtualMachine vm
;
11 internal Event (EventType evtype
, VirtualMachine vm
, int req_id
, long thread_id
) {
15 this.thread_id
= thread_id
;
18 internal Event (EventType evtype
, VirtualMachine vm
) {
24 public EventType EventType
{
30 public override string ToString () {
31 return evtype
.ToString ();
34 public ThreadMirror Thread
{
39 thread
= vm
.GetThread (thread_id
);
44 public EventRequest Request
{
46 return vm
.GetRequest (req_id
);