예제 #1
0
        public void Execute(CommandArguments args)
        {
            if (!args.HasArguments)
            {
                Logger.WriteInfoLine("Currently {0} first-chance exceptions.", SoftDebugger.CatchFirstChanceExceptions ?
                    "catching" : "passing on");
                return;
            }

            var fc = args.NextBoolean();
            SoftDebugger.CatchFirstChanceExceptions = fc;
            Logger.WriteInfoLine("Now {0} first-chance exceptions.", fc ? "catching" : "passing on");
        }