Browse Source

Removed license I should not have added last commit.

ExceptionForm split off into two files.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3046 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Justin Dearing 18 years ago
parent
commit
25e6842951
  1. 5
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Debugger.AddIn.csproj
  2. 145
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/ExceptionForm.Designer.cs
  3. 104
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/ExceptionForm.cs
  4. 33
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Debugger/InnerException.cs

5
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Debugger.AddIn.csproj

@ -55,6 +55,9 @@ @@ -55,6 +55,9 @@
<Compile Include="Src\Service\ExceptionForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Src\Service\ExceptionForm.Designer.cs">
<DependentUpon>ExceptionForm.cs</DependentUpon>
</Compile>
<Compile Include="Src\Service\RemotingConfigurationHelpper.cs" />
<Compile Include="Src\Service\WindowsDebugger.cs" />
<EmbeddedResource Include="Src\Service\ExceptionForm.resx">
@ -148,4 +151,4 @@ @@ -148,4 +151,4 @@
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
<Import Project="PostBuildEvent.proj" />
</Project>
</Project>

145
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/ExceptionForm.Designer.cs generated

@ -0,0 +1,145 @@ @@ -0,0 +1,145 @@
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
// <version>$Revision: 2858 $</version>
// </file>
#region License
//
// Copyright (c) 2007, ic#code
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. Neither the name of the ic#code nor the names of its contributors may be
// used to endorse or promote products derived from this software without
// specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
#endregion
using System;
using System.Windows.Forms;
namespace ICSharpCode.SharpDevelop.Services
{
partial class ExceptionForm : System.Windows.Forms.Form
{
#region Windows Forms Designer generated code
/// <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.buttonBreak = new System.Windows.Forms.Button();
this.pictureBox = new System.Windows.Forms.PictureBox();
this.buttonTerminate = new System.Windows.Forms.Button();
this.buttonContinue = new System.Windows.Forms.Button();
this.textBox = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
this.SuspendLayout();
//
// buttonBreak
//
this.buttonBreak.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.buttonBreak.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonBreak.Location = new System.Drawing.Point(176, 160);
this.buttonBreak.Name = "buttonBreak";
this.buttonBreak.Size = new System.Drawing.Size(91, 32);
this.buttonBreak.TabIndex = 0;
this.buttonBreak.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Break}";
this.buttonBreak.Click += new System.EventHandler(this.buttonBreak_Click);
//
// pictureBox
//
this.pictureBox.Location = new System.Drawing.Point(14, 16);
this.pictureBox.Name = "pictureBox";
this.pictureBox.Size = new System.Drawing.Size(56, 64);
this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox.TabIndex = 3;
this.pictureBox.TabStop = false;
//
// buttonTerminate
//
this.buttonTerminate.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.buttonTerminate.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonTerminate.Location = new System.Drawing.Point(372, 160);
this.buttonTerminate.Name = "buttonTerminate";
this.buttonTerminate.Size = new System.Drawing.Size(91, 32);
this.buttonTerminate.TabIndex = 2;
this.buttonTerminate.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Terminate}";
this.buttonTerminate.Click += new System.EventHandler(this.buttonTerminate_Click);
//
// buttonContinue
//
this.buttonContinue.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.buttonContinue.Location = new System.Drawing.Point(274, 160);
this.buttonContinue.Name = "buttonContinue";
this.buttonContinue.Size = new System.Drawing.Size(91, 32);
this.buttonContinue.TabIndex = 1;
this.buttonContinue.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Continue}";
this.buttonContinue.Click += new System.EventHandler(this.buttonContinue_Click);
//
// textBox
//
this.textBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox.Location = new System.Drawing.Point(76, 16);
this.textBox.Multiline = true;
this.textBox.Name = "textBox";
this.textBox.ReadOnly = true;
this.textBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBox.Size = new System.Drawing.Size(543, 138);
this.textBox.TabIndex = 4;
this.textBox.WordWrap = false;
//
// ExceptionForm
//
this.CancelButton = this.buttonBreak;
this.ClientSize = new System.Drawing.Size(638, 203);
this.Controls.Add(this.textBox);
this.Controls.Add(this.pictureBox);
this.Controls.Add(this.buttonTerminate);
this.Controls.Add(this.buttonContinue);
this.Controls.Add(this.buttonBreak);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ExceptionForm";
this.ShowInTaskbar = false;
this.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Title}";
this.TopMost = true;
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox;
private System.Windows.Forms.TextBox textBox;
private System.Windows.Forms.Button buttonBreak;
private System.Windows.Forms.Button buttonContinue;
private System.Windows.Forms.Button buttonTerminate;
}
}

104
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/ExceptionForm.cs

@ -38,23 +38,21 @@ @@ -38,23 +38,21 @@
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Debugger;
using ICSharpCode.Core;
namespace ICSharpCode.SharpDevelop.Services
{
public class ExceptionForm : System.Windows.Forms.Form
internal sealed partial class ExceptionForm
{
public enum Result {Break, Continue, Terminate};
private Result result = Result.Break; // Default
private System.Windows.Forms.PictureBox pictureBox;
private System.Windows.Forms.TextBox textBox;
private System.Windows.Forms.Button buttonBreak;
private System.Windows.Forms.Button buttonContinue;
private System.Windows.Forms.Button buttonTerminate;
private ExceptionForm()
{
InitializeComponent();
@ -78,96 +76,7 @@ namespace ICSharpCode.SharpDevelop.Services @@ -78,96 +76,7 @@ namespace ICSharpCode.SharpDevelop.Services
}
}
#region Windows Forms Designer generated code
/// <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.buttonBreak = new System.Windows.Forms.Button();
this.pictureBox = new System.Windows.Forms.PictureBox();
this.buttonTerminate = new System.Windows.Forms.Button();
this.buttonContinue = new System.Windows.Forms.Button();
this.textBox = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
this.SuspendLayout();
//
// buttonBreak
//
this.buttonBreak.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.buttonBreak.Location = new System.Drawing.Point(176, 160);
this.buttonBreak.Name = "buttonBreak";
this.buttonBreak.Size = new System.Drawing.Size(91, 32);
this.buttonBreak.TabIndex = 0;
this.buttonBreak.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Break}";
this.buttonBreak.Click += new System.EventHandler(this.buttonBreak_Click);
//
// pictureBox
//
this.pictureBox.Location = new System.Drawing.Point(14, 16);
this.pictureBox.Name = "pictureBox";
this.pictureBox.Size = new System.Drawing.Size(56, 64);
this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox.TabIndex = 3;
this.pictureBox.TabStop = false;
//
// buttonTerminate
//
this.buttonTerminate.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.buttonTerminate.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonTerminate.Location = new System.Drawing.Point(372, 160);
this.buttonTerminate.Name = "buttonIgnore";
this.buttonTerminate.Size = new System.Drawing.Size(91, 32);
this.buttonTerminate.TabIndex = 2;
this.buttonTerminate.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Terminate}";
this.buttonTerminate.Click += new System.EventHandler(this.buttonTerminate_Click);
//
// buttonContinue
//
this.buttonContinue.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.buttonContinue.Location = new System.Drawing.Point(274, 160);
this.buttonContinue.Name = "buttonContinue";
this.buttonContinue.Size = new System.Drawing.Size(91, 32);
this.buttonContinue.TabIndex = 1;
this.buttonContinue.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Continue}";
this.buttonContinue.Click += new System.EventHandler(this.buttonContinue_Click);
//
// textBox
//
this.textBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox.Location = new System.Drawing.Point(91, 16);
this.textBox.Multiline = true;
this.textBox.Name = "textBox";
this.textBox.ReadOnly = true;
this.textBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBox.Size = new System.Drawing.Size(528, 138);
this.textBox.TabIndex = 4;
this.textBox.WordWrap = false;
//
// ExceptionForm
//
this.CancelButton = this.buttonBreak;
this.ClientSize = new System.Drawing.Size(638, 203);
this.Controls.Add(this.textBox);
this.Controls.Add(this.pictureBox);
this.Controls.Add(this.buttonTerminate);
this.Controls.Add(this.buttonContinue);
this.Controls.Add(this.buttonBreak);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ExceptionForm";
this.ShowInTaskbar = false;
this.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.Title}";
this.TopMost = true;
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
#region Form Event Handlers
private void buttonBreak_Click(object sender, System.EventArgs e)
{
result = Result.Break;
@ -185,5 +94,6 @@ namespace ICSharpCode.SharpDevelop.Services @@ -185,5 +94,6 @@ namespace ICSharpCode.SharpDevelop.Services
result = Result.Terminate;
Close();
}
#endregion Form Event Handlers
}
}

33
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Debugger/InnerException.cs

@ -4,39 +4,6 @@ @@ -4,39 +4,6 @@
// <owner name="Justin Dearing" email="zippy1981@gmail.com"/>
// <version>$Revision: 2900 $</version>
// </file>
#region License
//
// Copyright (c) 2007, ic#code
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. Neither the name of the ic#code nor the names of its contributors may be
// used to endorse or promote products derived from this software without
// specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
#endregion
using System.Text;
using Debugger.Wrappers.CorDebug;

Loading…
Cancel
Save