public DebuggerAppSettingsTab(DebuggerSettingsImpl debuggerSettingsImpl, IPickFilename pickFilename) { this._global_settings = debuggerSettingsImpl; this.debuggerSettings = debuggerSettingsImpl.Clone(); this.BreakProcessType = debuggerSettingsImpl.BreakProcessType; this.pickFilename = pickFilename; }
internal static void WriteNewSettings(XElement root, DebuggerSettings settings) { try { DebuggerSettings.Instance.disableSaveCounter++; settings.CopyTo(DebuggerSettings.Instance); } finally { DebuggerSettings.Instance.disableSaveCounter--; } DebuggerSettings.Instance.Save(root); }
public DebuggerSettings CopyTo(DebuggerSettings other) { other.UseHexadecimal = this.UseHexadecimal; other.SyntaxHighlightCallStack = this.SyntaxHighlightCallStack; other.SyntaxHighlightBreakpoints = this.SyntaxHighlightBreakpoints; other.SyntaxHighlightThreads = this.SyntaxHighlightThreads; other.SyntaxHighlightModules = this.SyntaxHighlightModules; other.SyntaxHighlightLocals = this.SyntaxHighlightLocals; other.SyntaxHighlightAttach = this.SyntaxHighlightAttach; other.SyntaxHighlightExceptions = this.SyntaxHighlightExceptions; other.BreakProcessType = this.BreakProcessType; other.PropertyEvalAndFunctionCalls = this.PropertyEvalAndFunctionCalls; other.UseStringConversionFunction = this.UseStringConversionFunction; other.DebuggerBrowsableAttributesCanHidePropsFields = this.DebuggerBrowsableAttributesCanHidePropsFields; other.CompilerGeneratedAttributesCanHideFields = this.CompilerGeneratedAttributesCanHideFields; other.DisableManagedDebuggerDetection = this.DisableManagedDebuggerDetection; other.IgnoreBreakInstructions = this.IgnoreBreakInstructions; other.CoreCLRDbgShimFilename = this.CoreCLRDbgShimFilename; return(other); }
public DebuggerSettings CopyTo(DebuggerSettings other) { other.UseHexadecimal = UseHexadecimal; other.SyntaxHighlightCallStack = SyntaxHighlightCallStack; other.SyntaxHighlightBreakpoints = SyntaxHighlightBreakpoints; other.SyntaxHighlightThreads = SyntaxHighlightThreads; other.SyntaxHighlightModules = SyntaxHighlightModules; other.SyntaxHighlightLocals = SyntaxHighlightLocals; other.SyntaxHighlightAttach = SyntaxHighlightAttach; other.SyntaxHighlightExceptions = SyntaxHighlightExceptions; other.BreakProcessKind = BreakProcessKind; other.PropertyEvalAndFunctionCalls = PropertyEvalAndFunctionCalls; other.UseStringConversionFunction = UseStringConversionFunction; other.DebuggerBrowsableAttributesCanHidePropsFields = DebuggerBrowsableAttributesCanHidePropsFields; other.CompilerGeneratedAttributesCanHideFields = CompilerGeneratedAttributesCanHideFields; other.DisableManagedDebuggerDetection = DisableManagedDebuggerDetection; other.IgnoreBreakInstructions = IgnoreBreakInstructions; other.AutoOpenLocalsWindow = AutoOpenLocalsWindow; other.UseMemoryModules = UseMemoryModules; other.CoreCLRDbgShimFilename32 = CoreCLRDbgShimFilename32; other.CoreCLRDbgShimFilename64 = CoreCLRDbgShimFilename64; return(other); }
public override RefreshFlags Save(XElement root) { this.settings.BreakProcessType = this.BreakProcessType; DebuggerSettings.WriteNewSettings(root, this.settings); return(RefreshFlags.None); }
public override void Load(DNSpySettings settings) { this.settings = DebuggerSettings.Instance.Clone(); this.BreakProcessType = this.settings.BreakProcessType; }
public DebuggerSettings CopyTo(DebuggerSettings other) { other.UseHexadecimal = this.UseHexadecimal; other.SyntaxHighlightCallStack = this.SyntaxHighlightCallStack; other.SyntaxHighlightBreakpoints = this.SyntaxHighlightBreakpoints; other.SyntaxHighlightThreads = this.SyntaxHighlightThreads; other.SyntaxHighlightModules = this.SyntaxHighlightModules; other.SyntaxHighlightLocals = this.SyntaxHighlightLocals; other.SyntaxHighlightAttach = this.SyntaxHighlightAttach; other.SyntaxHighlightExceptions = this.SyntaxHighlightExceptions; other.BreakProcessType = this.BreakProcessType; other.PropertyEvalAndFunctionCalls = this.PropertyEvalAndFunctionCalls; other.UseStringConversionFunction = this.UseStringConversionFunction; other.DebuggerBrowsableAttributesCanHidePropsFields = this.DebuggerBrowsableAttributesCanHidePropsFields; other.CompilerGeneratedAttributesCanHideFields = this.CompilerGeneratedAttributesCanHideFields; other.DisableManagedDebuggerDetection = this.DisableManagedDebuggerDetection; other.IgnoreBreakInstructions = this.IgnoreBreakInstructions; other.AutoOpenLocalsWindow = this.AutoOpenLocalsWindow; other.UseMemoryModules = this.UseMemoryModules; other.CoreCLRDbgShimFilename = this.CoreCLRDbgShimFilename; return other; }
public DebuggerSettings CopyTo(DebuggerSettings other) { other.UseHexadecimal = this.UseHexadecimal; other.SyntaxHighlightCallStack = this.SyntaxHighlightCallStack; other.SyntaxHighlightBreakpoints = this.SyntaxHighlightBreakpoints; other.SyntaxHighlightThreads = this.SyntaxHighlightThreads; other.SyntaxHighlightModules = this.SyntaxHighlightModules; other.SyntaxHighlightLocals = this.SyntaxHighlightLocals; other.SyntaxHighlightAttach = this.SyntaxHighlightAttach; other.BreakProcessType = this.BreakProcessType; other.PropertyEvalAndFunctionCalls = this.PropertyEvalAndFunctionCalls; other.UseStringConversionFunction = this.UseStringConversionFunction; other.DebuggerBrowsableAttributesCanHidePropsFields = this.DebuggerBrowsableAttributesCanHidePropsFields; other.CompilerGeneratedAttributesCanHideFields = this.CompilerGeneratedAttributesCanHideFields; other.DisableManagedDebuggerDetection = this.DisableManagedDebuggerDetection; return other; }