상속: Mono.Debugger.Frontend.StyleCLI
예제 #1
0
        internal NUnitInterpreter(DebuggerConfiguration config, DebuggerOptions options,
                                  LineReader inferior_stdout, LineReader inferior_stderr)
            : base(false, config, options)
        {
            this.inferior_stdout = inferior_stdout;
            this.inferior_stderr = inferior_stderr;

            config.FollowFork = true;

            queue      = Queue.Synchronized(new Queue());
            wait_event = new ST.ManualResetEvent(false);

            Style = style_nunit = new StyleNUnit(this);
            style_nunit.TargetEventEvent += delegate(Thread thread, TargetEventArgs args) {
                if (IgnoreThreadCreation && (args.Type == TargetEventType.TargetExited))
                {
                    return;
                }
                AddEvent(new DebuggerEvent(DebuggerEventType.TargetEvent, thread, args));
            };

            ST.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
            ObjectFormatter.WrapLines = false;
        }
예제 #2
0
        internal NUnitInterpreter(DebuggerConfiguration config, DebuggerOptions options,
					   LineReader inferior_stdout, LineReader inferior_stderr)
            : base(false, config, options)
        {
            this.inferior_stdout = inferior_stdout;
            this.inferior_stderr = inferior_stderr;

            config.FollowFork = true;

            queue = Queue.Synchronized (new Queue ());
            wait_event = new ST.ManualResetEvent (false);

            Style = style_nunit = new StyleNUnit (this);
            style_nunit.TargetEventEvent += delegate (Thread thread, TargetEventArgs args) {
                if (IgnoreThreadCreation && (args.Type == TargetEventType.TargetExited))
                    return;
                AddEvent (new DebuggerEvent (DebuggerEventType.TargetEvent, thread, args));
            };

            ST.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
            ObjectFormatter.WrapLines = false;
        }