22 changed files with 343 additions and 394 deletions
@ -1,146 +0,0 @@
@@ -1,146 +0,0 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the BSD license (for details please see \src\AddIns\Debugger\Debugger.AddIn\license.txt)
|
||||
|
||||
namespace ICSharpCode.SharpDevelop.Gui.OptionPanels |
||||
{ |
||||
public partial class DebuggingOptionsPanel |
||||
{ |
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null; |
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the control.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing) |
||||
{ |
||||
if (disposing) { |
||||
if (components != null) { |
||||
components.Dispose(); |
||||
} |
||||
} |
||||
base.Dispose(disposing); |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// This method is required for Windows Forms designer support.
|
||||
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||
/// not be able to load this method if it was changed manually.
|
||||
/// </summary>
|
||||
private void InitializeComponent() |
||||
{ |
||||
this.groupBoxStepping = new System.Windows.Forms.GroupBox(); |
||||
this.stepOverFieldAccessProperties = new System.Windows.Forms.CheckBox(); |
||||
this.stepOverSingleLineProperties = new System.Windows.Forms.CheckBox(); |
||||
this.stepOverAllProperties = new System.Windows.Forms.CheckBox(); |
||||
this.stepOverDebuggerAttributes = new System.Windows.Forms.CheckBox(); |
||||
this.stepOverNoSymbols = new System.Windows.Forms.CheckBox(); |
||||
this.enableJustMyCode = new System.Windows.Forms.CheckBox(); |
||||
this.groupBoxStepping.SuspendLayout(); |
||||
this.SuspendLayout(); |
||||
//
|
||||
// groupBoxStepping
|
||||
//
|
||||
this.groupBoxStepping.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.groupBoxStepping.Controls.Add(this.stepOverFieldAccessProperties); |
||||
this.groupBoxStepping.Controls.Add(this.stepOverSingleLineProperties); |
||||
this.groupBoxStepping.Controls.Add(this.stepOverAllProperties); |
||||
this.groupBoxStepping.Controls.Add(this.stepOverDebuggerAttributes); |
||||
this.groupBoxStepping.Controls.Add(this.stepOverNoSymbols); |
||||
this.groupBoxStepping.Controls.Add(this.enableJustMyCode); |
||||
this.groupBoxStepping.Location = new System.Drawing.Point(5, 9); |
||||
this.groupBoxStepping.Name = "groupBoxStepping"; |
||||
this.groupBoxStepping.Size = new System.Drawing.Size(680, 204); |
||||
this.groupBoxStepping.TabIndex = 0; |
||||
this.groupBoxStepping.TabStop = false; |
||||
this.groupBoxStepping.Text = "${res:Dialog.Options.IDEOptions.Debugging.Stepping}"; |
||||
//
|
||||
// stepOverFieldAccessProperties
|
||||
//
|
||||
this.stepOverFieldAccessProperties.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.stepOverFieldAccessProperties.Location = new System.Drawing.Point(6, 175); |
||||
this.stepOverFieldAccessProperties.Name = "stepOverFieldAccessProperties"; |
||||
this.stepOverFieldAccessProperties.Size = new System.Drawing.Size(668, 24); |
||||
this.stepOverFieldAccessProperties.TabIndex = 0; |
||||
this.stepOverFieldAccessProperties.Text = "${res:Dialog.Options.IDEOptions.Debugging.Stepping.StepOverFieldAccessProperties}" + |
||||
""; |
||||
this.stepOverFieldAccessProperties.UseVisualStyleBackColor = true; |
||||
//
|
||||
// stepOverSingleLineProperties
|
||||
//
|
||||
this.stepOverSingleLineProperties.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.stepOverSingleLineProperties.Location = new System.Drawing.Point(6, 145); |
||||
this.stepOverSingleLineProperties.Name = "stepOverSingleLineProperties"; |
||||
this.stepOverSingleLineProperties.Size = new System.Drawing.Size(668, 24); |
||||
this.stepOverSingleLineProperties.TabIndex = 0; |
||||
this.stepOverSingleLineProperties.Text = "${res:Dialog.Options.IDEOptions.Debugging.Stepping.StepOverSingleLineProperties}"; |
||||
this.stepOverSingleLineProperties.UseVisualStyleBackColor = true; |
||||
//
|
||||
// stepOverAllProperties
|
||||
//
|
||||
this.stepOverAllProperties.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.stepOverAllProperties.Location = new System.Drawing.Point(6, 115); |
||||
this.stepOverAllProperties.Name = "stepOverAllProperties"; |
||||
this.stepOverAllProperties.Size = new System.Drawing.Size(668, 24); |
||||
this.stepOverAllProperties.TabIndex = 0; |
||||
this.stepOverAllProperties.Text = "${res:Dialog.Options.IDEOptions.Debugging.Stepping.StepOverAllProperties}"; |
||||
this.stepOverAllProperties.UseVisualStyleBackColor = true; |
||||
//
|
||||
// stepOverDebuggerAttributes
|
||||
//
|
||||
this.stepOverDebuggerAttributes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.stepOverDebuggerAttributes.Location = new System.Drawing.Point(6, 85); |
||||
this.stepOverDebuggerAttributes.Name = "stepOverDebuggerAttributes"; |
||||
this.stepOverDebuggerAttributes.Size = new System.Drawing.Size(668, 24); |
||||
this.stepOverDebuggerAttributes.TabIndex = 0; |
||||
this.stepOverDebuggerAttributes.Text = "${res:Dialog.Options.IDEOptions.Debugging.Stepping.StepOverDebuggerAttributes}"; |
||||
this.stepOverDebuggerAttributes.UseVisualStyleBackColor = true; |
||||
//
|
||||
// stepOverNoSymbols
|
||||
//
|
||||
this.stepOverNoSymbols.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.stepOverNoSymbols.Location = new System.Drawing.Point(6, 55); |
||||
this.stepOverNoSymbols.Name = "stepOverNoSymbols"; |
||||
this.stepOverNoSymbols.Size = new System.Drawing.Size(668, 24); |
||||
this.stepOverNoSymbols.TabIndex = 0; |
||||
this.stepOverNoSymbols.Text = "${res:Dialog.Options.IDEOptions.Debugging.Stepping.StepOverNoSymbols}"; |
||||
this.stepOverNoSymbols.UseVisualStyleBackColor = true; |
||||
//
|
||||
// enableJustMyCode
|
||||
//
|
||||
this.enableJustMyCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.enableJustMyCode.Location = new System.Drawing.Point(6, 25); |
||||
this.enableJustMyCode.Name = "enableJustMyCode"; |
||||
this.enableJustMyCode.Size = new System.Drawing.Size(668, 24); |
||||
this.enableJustMyCode.TabIndex = 0; |
||||
this.enableJustMyCode.Text = "${res:Dialog.Options.IDEOptions.Debugging.Stepping.EnableJustMyCode}"; |
||||
this.enableJustMyCode.UseVisualStyleBackColor = true; |
||||
//
|
||||
// DebuggingOptionsPanel
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); |
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
this.Controls.Add(this.groupBoxStepping); |
||||
this.Name = "DebuggingOptionsPanel"; |
||||
this.Size = new System.Drawing.Size(688, 300); |
||||
this.groupBoxStepping.ResumeLayout(false); |
||||
this.ResumeLayout(false); |
||||
} |
||||
private System.Windows.Forms.CheckBox enableJustMyCode; |
||||
private System.Windows.Forms.CheckBox stepOverNoSymbols; |
||||
private System.Windows.Forms.CheckBox stepOverDebuggerAttributes; |
||||
private System.Windows.Forms.CheckBox stepOverAllProperties; |
||||
private System.Windows.Forms.CheckBox stepOverSingleLineProperties; |
||||
private System.Windows.Forms.CheckBox stepOverFieldAccessProperties; |
||||
private System.Windows.Forms.GroupBox groupBoxStepping; |
||||
} |
||||
} |
||||
@ -1,58 +0,0 @@
@@ -1,58 +0,0 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the BSD license (for details please see \src\AddIns\Debugger\Debugger.AddIn\license.txt)
|
||||
|
||||
using System.Windows.Forms; |
||||
using Debugger; |
||||
using ICSharpCode.Core; |
||||
using ICSharpCode.SharpDevelop.Services; |
||||
|
||||
namespace ICSharpCode.SharpDevelop.Gui.OptionPanels |
||||
{ |
||||
/// <summary>
|
||||
/// Panel for general debugging options
|
||||
/// </summary>
|
||||
public partial class DebuggingOptionsPanel : XmlFormsOptionPanel |
||||
{ |
||||
public DebuggingOptionsPanel() |
||||
{ |
||||
InitializeComponent(); |
||||
foreach (Control ctl in Controls.GetRecursive()) { |
||||
ctl.Text = StringParser.Parse(ctl.Text); |
||||
} |
||||
stepOverAllProperties.CheckedChanged += delegate { |
||||
stepOverSingleLineProperties.Enabled = !stepOverAllProperties.Checked; |
||||
stepOverFieldAccessProperties.Enabled = !stepOverAllProperties.Checked; |
||||
}; |
||||
} |
||||
|
||||
public override void LoadPanelContents() |
||||
{ |
||||
DebuggingOptions opt = DebuggingOptions.Instance; |
||||
|
||||
enableJustMyCode.Checked = opt.EnableJustMyCode; |
||||
stepOverNoSymbols.Checked = opt.StepOverNoSymbols; |
||||
stepOverDebuggerAttributes.Checked = opt.StepOverDebuggerAttributes; |
||||
stepOverAllProperties.Checked = opt.StepOverAllProperties; |
||||
stepOverSingleLineProperties.Checked = opt.StepOverSingleLineProperties; |
||||
stepOverFieldAccessProperties.Checked = opt.StepOverFieldAccessProperties; |
||||
} |
||||
|
||||
public override bool StorePanelContents() |
||||
{ |
||||
DebuggingOptions opt = DebuggingOptions.Instance; |
||||
|
||||
opt.EnableJustMyCode = enableJustMyCode.Checked; |
||||
opt.StepOverNoSymbols = stepOverNoSymbols.Checked; |
||||
opt.StepOverDebuggerAttributes = stepOverDebuggerAttributes.Checked; |
||||
opt.StepOverAllProperties = stepOverAllProperties.Checked; |
||||
opt.StepOverSingleLineProperties = stepOverSingleLineProperties.Checked; |
||||
opt.StepOverFieldAccessProperties = stepOverFieldAccessProperties.Checked; |
||||
|
||||
Process proc = WindowsDebugger.CurrentProcess; |
||||
if (proc != null) { |
||||
proc.Debugger.ResetJustMyCodeStatus(); |
||||
} |
||||
return true; |
||||
} |
||||
} |
||||
} |
||||
@ -1,120 +0,0 @@
@@ -1,120 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<root> |
||||
<!-- |
||||
Microsoft ResX Schema |
||||
|
||||
Version 2.0 |
||||
|
||||
The primary goals of this format is to allow a simple XML format |
||||
that is mostly human readable. The generation and parsing of the |
||||
various data types are done through the TypeConverter classes |
||||
associated with the data types. |
||||
|
||||
Example: |
||||
|
||||
... ado.net/XML headers & schema ... |
||||
<resheader name="resmimetype">text/microsoft-resx</resheader> |
||||
<resheader name="version">2.0</resheader> |
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
||||
<value>[base64 mime encoded serialized .NET Framework object]</value> |
||||
</data> |
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
||||
<comment>This is a comment</comment> |
||||
</data> |
||||
|
||||
There are any number of "resheader" rows that contain simple |
||||
name/value pairs. |
||||
|
||||
Each data row contains a name, and value. The row also contains a |
||||
type or mimetype. Type corresponds to a .NET class that support |
||||
text/value conversion through the TypeConverter architecture. |
||||
Classes that don't support this are serialized and stored with the |
||||
mimetype set. |
||||
|
||||
The mimetype is used for serialized objects, and tells the |
||||
ResXResourceReader how to depersist the object. This is currently not |
||||
extensible. For a given mimetype the value must be set accordingly: |
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format |
||||
that the ResXResourceWriter will generate, however the reader can |
||||
read any of the formats listed below. |
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64 |
||||
value : The object must be serialized into a byte array |
||||
: using a System.ComponentModel.TypeConverter |
||||
: and then encoded with base64 encoding. |
||||
--> |
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
||||
<xsd:element name="root" msdata:IsDataSet="true"> |
||||
<xsd:complexType> |
||||
<xsd:choice maxOccurs="unbounded"> |
||||
<xsd:element name="metadata"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" use="required" type="xsd:string" /> |
||||
<xsd:attribute name="type" type="xsd:string" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="assembly"> |
||||
<xsd:complexType> |
||||
<xsd:attribute name="alias" type="xsd:string" /> |
||||
<xsd:attribute name="name" type="xsd:string" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="data"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="resheader"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:choice> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:schema> |
||||
<resheader name="resmimetype"> |
||||
<value>text/microsoft-resx</value> |
||||
</resheader> |
||||
<resheader name="version"> |
||||
<value>2.0</value> |
||||
</resheader> |
||||
<resheader name="reader"> |
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<resheader name="writer"> |
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
</root> |
||||
Loading…
Reference in new issue