Ejemplo n.º 1
0
 public DebuggerAppSettingsTab(DebuggerSettingsImpl debuggerSettingsImpl, IPickFilename pickFilename)
 {
     this._global_settings = debuggerSettingsImpl;
     this.debuggerSettings = debuggerSettingsImpl.Clone();
     this.BreakProcessType = debuggerSettingsImpl.BreakProcessType;
     this.pickFilename     = pickFilename;
 }
Ejemplo n.º 2
0
 internal static void WriteNewSettings(XElement root, DebuggerSettings settings)
 {
     try {
         DebuggerSettings.Instance.disableSaveCounter++;
         settings.CopyTo(DebuggerSettings.Instance);
     }
     finally {
         DebuggerSettings.Instance.disableSaveCounter--;
     }
     DebuggerSettings.Instance.Save(root);
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 4
0
 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);
 }
Ejemplo n.º 5
0
 public override RefreshFlags Save(XElement root)
 {
     this.settings.BreakProcessType = this.BreakProcessType;
     DebuggerSettings.WriteNewSettings(root, this.settings);
     return(RefreshFlags.None);
 }
Ejemplo n.º 6
0
 public override void Load(DNSpySettings settings)
 {
     this.settings         = DebuggerSettings.Instance.Clone();
     this.BreakProcessType = this.settings.BreakProcessType;
 }
Ejemplo n.º 7
0
		internal static void WriteNewSettings(XElement root, DebuggerSettings settings) {
			try {
				DebuggerSettings.Instance.disableSaveCounter++;
				settings.CopyTo(DebuggerSettings.Instance);
			}
			finally {
				DebuggerSettings.Instance.disableSaveCounter--;
			}
			DebuggerSettings.Instance.Save(root);
		}
Ejemplo n.º 8
0
		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;
		}
Ejemplo n.º 9
0
		public override void Load(DNSpySettings settings) {
			this.settings = DebuggerSettings.Instance.Clone();
			this.BreakProcessType = this.settings.BreakProcessType;
		}
Ejemplo n.º 10
0
		public DebuggerAppSettingsTab(DebuggerSettingsImpl debuggerSettingsImpl, IPickFilename pickFilename) {
			this._global_settings = debuggerSettingsImpl;
			this.debuggerSettings = debuggerSettingsImpl.Clone();
			this.BreakProcessType = debuggerSettingsImpl.BreakProcessType;
			this.pickFilename = pickFilename;
		}
Ejemplo n.º 11
0
		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;
		}