AutoWikiBrowser.MainForm.Debug C# (CSharp) Method

Debug() private method

private Debug ( ) : void
return void
        private void Debug()
        {
            Tools.WriteDebugEnabled = true;
            if (!listMaker.Contains(@"Wikipedia:AutoWikiBrowser/Sandbox") && !listMaker.Contains(@"Project:AutoWikiBrowser/Sandbox"))
                listMaker.Add("Project:AutoWikiBrowser/Sandbox");
            lblOnlyBots.Visible = false;
            bypassAllRedirectsToolStripMenuItem.Enabled = true;

            profileTyposToolStripMenuItem.Visible = true;
            toolStripSeparator29.Visible = true;
            invalidateCacheToolStripMenuItem.Visible = true;
            toolStripSeparator32.Visible = true;
            cEvalToolStripMenuItem.Visible = true;

            #if DEBUG
            try
            {
                Variables.Profiler = new Profiler(Path.Combine(Application.StartupPath, "profiling.txt"), true);
            }
            catch
            {
                Variables.Profiler = new Profiler(Path.Combine(AwbDirs.UserData, "profiling.txt"), true);
            }
            #endif
        }
MainForm