/// <summary> /// Initializes a new <see cref="DebugHost"/> instance with the given parameters. /// </summary> /// <param name="emulationHost">The emulator host instance.</param> public DebugHost( IEmulationHost emulationHost ) { Debug.Assert( emulationHost != null ); this.Emulator = emulationHost; this.Counters = new CounterSink(); _attachedEvent = new ManualResetEvent( false ); this.HostString = string.Format( "{0}@{1}", Environment.UserName, Environment.MachineName ); }
/// <summary> /// Initializes a new <see cref="DebugHost"/> instance with the given parameters. /// </summary> /// <param name="emulationHost">The emulator host instance.</param> public DebugHost(IEmulationHost emulationHost) { Debug.Assert(emulationHost != null); this.Emulator = emulationHost; this.Counters = new CounterSink(); _attachedEvent = new ManualResetEvent(false); this.HostString = string.Format("{0}@{1}", Environment.UserName, Environment.MachineName); }
public Debugger( IEmulationHost host ) { Debug.Assert( host != null ); if( host == null ) throw new ArgumentNullException( "host" ); _host = host; _control = new DebugControl( this ); _inspector = new DebugInspector( this ); _studio = new Studio( this ); }
public Debugger(IEmulationHost host) { Debug.Assert(host != null); if (host == null) { throw new ArgumentNullException("host"); } _host = host; _control = new DebugControl(this); _inspector = new DebugInspector(this); _studio = new Studio(this); }