Exemple #1
0
        /// <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 );
        }
Exemple #2
0
        /// <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);
        }
Exemple #3
0
        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 );
        }
Exemple #4
0
        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);
        }