Browse Source

Exceptions are now displayed with DebuggeeExceptionForm instead of DebuggerEvenrForm. DebugeeExceptionForm displays the exception in a TreeViewAdv.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3241 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Justin Dearing 17 years ago
parent
commit
5b9b7d207d
  1. BIN
      data/resources/StringResources.es-mx.resources
  2. BIN
      data/resources/StringResources.es.resources
  3. BIN
      data/resources/StringResources.nl.resources
  4. 11
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Debugger.AddIn.csproj
  5. 154
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebugeeExceptionForm.Designer.cs
  6. 145
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebugeeExceptionForm.cs
  7. 120
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebugeeExceptionForm.resx
  8. 10
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebuggerEventForm.Designer.cs
  9. 12
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebuggerEventForm.cs
  10. 9
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs
  11. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

BIN
data/resources/StringResources.es-mx.resources

Binary file not shown.

BIN
data/resources/StringResources.es.resources

Binary file not shown.

BIN
data/resources/StringResources.nl.resources

Binary file not shown.

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

@ -62,12 +62,21 @@ @@ -62,12 +62,21 @@
<Compile Include="Src\Pads\LocalVarPad.cs" />
<Compile Include="Src\Pads\RunningThreadsPad.cs" />
<Compile Include="Src\Service\AttachToProcessForm.cs" />
<Compile Include="Src\Service\DebugeeExceptionForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Src\Service\DebugeeExceptionForm.Designer.cs">
<DependentUpon>DebugeeExceptionForm.cs</DependentUpon>
</Compile>
<Compile Include="Src\Service\DebuggerEventForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Src\Service\DebuggerEventForm.Designer.cs">
<DependentUpon>DebuggerEventForm.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Src\Service\DebugeeExceptionForm.resx">
<DependentUpon>DebugeeExceptionForm.cs</DependentUpon>
</EmbeddedResource>
<Compile Include="Src\Service\RemotingConfigurationHelpper.cs" />
<Compile Include="Src\Service\RunToCursorCommand.cs" />
<Compile Include="Src\Service\WindowsDebugger.cs" />
@ -169,4 +178,4 @@ @@ -169,4 +178,4 @@
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
<Import Project="PostBuildEvent.proj" />
</Project>
</Project>

154
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebugeeExceptionForm.Designer.cs generated

@ -0,0 +1,154 @@ @@ -0,0 +1,154 @@
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
// <version>$Revision$</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 DebugeeExceptionForm : DebuggerEventForm
{
#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.localVarList = new Aga.Controls.Tree.TreeViewAdv();
this.linkExceptionDetail = new System.Windows.Forms.LinkLabel();
this.splitContainer = new System.Windows.Forms.SplitContainer();
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
this.splitContainer.Panel1.SuspendLayout();
this.splitContainer.Panel2.SuspendLayout();
this.splitContainer.SuspendLayout();
this.SuspendLayout();
//
// textBox
//
this.textBox.Size = new System.Drawing.Size(542, 139);
//
// buttonBreak
//
this.buttonBreak.Location = new System.Drawing.Point(176, 356);
//
// buttonContinue
//
this.buttonContinue.Location = new System.Drawing.Point(274, 356);
//
// buttonTerminate
//
this.buttonTerminate.Location = new System.Drawing.Point(372, 356);
//
// localVarList
//
this.localVarList.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.localVarList.AutoRowHeight = true;
this.localVarList.BackColor = System.Drawing.SystemColors.Window;
this.localVarList.DefaultToolTipProvider = null;
this.localVarList.DragDropMarkColor = System.Drawing.Color.Black;
this.localVarList.LineColor = System.Drawing.SystemColors.ControlDark;
this.localVarList.LoadOnDemand = true;
this.localVarList.Location = new System.Drawing.Point(3, 4);
this.localVarList.Model = null;
this.localVarList.Name = "localVarList";
this.localVarList.SelectedNode = null;
this.localVarList.Size = new System.Drawing.Size(539, 153);
this.localVarList.TabIndex = 4;
this.localVarList.UseColumns = true;
//
// linkExceptionDetail
//
this.linkExceptionDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.linkExceptionDetail.Location = new System.Drawing.Point(3, 142);
this.linkExceptionDetail.Name = "linkExceptionDetail";
this.linkExceptionDetail.Size = new System.Drawing.Size(543, 23);
this.linkExceptionDetail.TabIndex = 5;
this.linkExceptionDetail.TabStop = true;
this.linkExceptionDetail.Text = "${res:MainWindow.Windows.Debug.ExceptionForm.ShowExceptionDetails}";
this.linkExceptionDetail.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkExceptionDetailLinkClicked);
//
// splitContainer
//
this.splitContainer.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.splitContainer.Location = new System.Drawing.Point(76, 16);
this.splitContainer.Name = "splitContainer";
this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer.Panel1
//
this.splitContainer.Panel1.Controls.Add(this.linkExceptionDetail);
//
// splitContainer.Panel2
//
this.splitContainer.Panel2.Controls.Add(this.localVarList);
this.splitContainer.Size = new System.Drawing.Size(550, 327);
this.splitContainer.SplitterDistance = 163;
this.splitContainer.TabIndex = 6;
//
// DebugeeExceptionForm
//
this.ClientSize = new System.Drawing.Size(638, 399);
this.Controls.Add(this.splitContainer);
this.Name = "DebugeeExceptionForm";
this.Controls.SetChildIndex(this.splitContainer, 0);
this.Controls.SetChildIndex(this.textBox, 0);
this.Controls.SetChildIndex(this.buttonBreak, 0);
this.Controls.SetChildIndex(this.buttonContinue, 0);
this.Controls.SetChildIndex(this.buttonTerminate, 0);
this.Controls.SetChildIndex(this.pictureBox, 0);
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
this.splitContainer.Panel1.ResumeLayout(false);
this.splitContainer.Panel2.ResumeLayout(false);
this.splitContainer.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.SplitContainer splitContainer;
private Aga.Controls.Tree.TreeViewAdv localVarList;
private System.Windows.Forms.LinkLabel linkExceptionDetail;
#endregion
}
}

145
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebugeeExceptionForm.cs

@ -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$</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.Collections.Generic;
using Aga.Controls.Tree;
using Aga.Controls.Tree.NodeControls;
using Debugger;
using Debugger.AddIn.TreeModel;
using Debugger.Expressions;
using ICSharpCode.Core;
namespace ICSharpCode.SharpDevelop.Services
{
internal sealed partial class DebugeeExceptionForm
{
private Result result = Result.Break; // Default
private DebugeeExceptionForm()
{
InitializeComponent();
// Windows form designer cannot place a component declared in a base class in a container component
// declared in a child class. Hence we do it manually.
Controls.Remove(textBox);
textBox.Location = new System.Drawing.Point(0, 4);
splitContainer.Panel1.Controls.Add(textBox);
// To make the localVarList size properly, it must be rendered full size first.
splitContainer.Panel2Collapsed = true;
linkExceptionDetail.Text = StringParser.Parse(linkExceptionDetail.Text);
InitializeLocalVarList();
}
/// <summary>
/// Setup the columns for the LocalVarList.
/// </summary>
private void InitializeLocalVarList() {
NodeIcon iconControl = new ItemIcon();
NodeTextBox nameControl = new ItemName();
NodeTextBox textControl = new ItemText();
NodeTextBox typeControl = new ItemType();
TreeColumn nameColumn = new TreeColumn();
TreeColumn valColumn = new TreeColumn();
TreeColumn typeColumn = new TreeColumn();
localVarList.Columns.Add(nameColumn);
localVarList.Columns.Add(valColumn);
localVarList.Columns.Add(typeColumn);
localVarList.UseColumns = true;
localVarList.SelectionMode = TreeSelectionMode.Single;
localVarList.LoadOnDemand = true;
iconControl.ParentColumn = nameColumn;
localVarList.NodeControls.Add(iconControl);
nameControl.ParentColumn = nameColumn;
localVarList.NodeControls.Add(nameControl);
textControl.ParentColumn = valColumn;
localVarList.NodeControls.Add(textControl);
typeControl.ParentColumn = typeColumn;
localVarList.NodeControls.Add(typeControl);
nameColumn.Header = ResourceService.GetString("Global.Name");
nameColumn.Width = 165;
valColumn.Header = ResourceService.GetString("Dialog.HighlightingEditor.Properties.Value");
valColumn.Width = 200;
typeColumn.Header = ResourceService.GetString("ResourceEditor.ResourceEdit.TypeColumn");
typeColumn.Width = 170;
}
public static Result Show(Process process, string title, string message, System.Drawing.Bitmap icon, bool canContinue)
{
using (DebugeeExceptionForm form = new DebugeeExceptionForm()) {
form.Text = title;
form.pictureBox.Image = icon;
form.textBox.Text = message;
IList<AbstractNode> exceptionNodes = new List<AbstractNode>();
exceptionNodes.Add(ValueNode.Create(new CurrentExceptionExpression()));
form.localVarList.BeginUpdate();
TreeViewVarNode.SetContentRecursive(process, form.localVarList, exceptionNodes);
form.localVarList.EndUpdate();
form.localVarList.Refresh();
form.buttonContinue.Enabled = canContinue;
form.ShowDialog(Gui.WorkbenchSingleton.MainForm);
return form.result;
}
}
void linkExceptionDetailLinkClicked(object sender, System.EventArgs e)
{
splitContainer.Panel2Collapsed = ! splitContainer.Panel2Collapsed;
linkExceptionDetail.Text = splitContainer.Panel2Collapsed
? StringParser.Parse("${res:MainWindow.Windows.Debug.ExceptionForm.ShowExceptionDetails}")
: StringParser.Parse("${res:MainWindow.Windows.Debug.ExceptionForm.HideExceptionDetails}");
}
}
}

120
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebugeeExceptionForm.resx

@ -0,0 +1,120 @@ @@ -0,0 +1,120 @@
<?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>

10
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebuggerEventForm.Designer.cs generated

@ -134,10 +134,10 @@ namespace ICSharpCode.SharpDevelop.Services @@ -134,10 +134,10 @@ namespace ICSharpCode.SharpDevelop.Services
}
#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;
protected System.Windows.Forms.PictureBox pictureBox;
protected System.Windows.Forms.TextBox textBox;
protected System.Windows.Forms.Button buttonBreak;
protected System.Windows.Forms.Button buttonContinue;
protected System.Windows.Forms.Button buttonTerminate;
}
}

12
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebuggerEventForm.cs

@ -47,13 +47,13 @@ using ICSharpCode.Core; @@ -47,13 +47,13 @@ using ICSharpCode.Core;
namespace ICSharpCode.SharpDevelop.Services
{
internal sealed partial class DebuggerEventForm
internal partial class DebuggerEventForm
{
public enum Result {Break, Continue, Terminate};
private Result result = Result.Break; // Default
private DebuggerEventForm()
protected DebuggerEventForm()
{
InitializeComponent();
this.Text = StringParser.Parse(this.Text);
@ -62,6 +62,14 @@ namespace ICSharpCode.SharpDevelop.Services @@ -62,6 +62,14 @@ namespace ICSharpCode.SharpDevelop.Services
buttonTerminate.Text = StringParser.Parse(buttonTerminate.Text);
}
/// <summary>
/// Displays a DebuggerEvent form with the given message.
/// </summary>
/// <param name="title">Title of the dialog box.</param>
/// <param name="message">The message to display in the TextArea of the dialog box.</param>
/// <param name="icon">Icon to display i nthe dialog box.</param>
/// <param name="canContinue">Set to true to enable the continue button on the form.</param>
/// <returns></returns>
public static Result Show(string title, string message, System.Drawing.Bitmap icon, bool canContinue)
{
using (DebuggerEventForm form = new DebuggerEventForm()) {

9
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs

@ -37,19 +37,20 @@ @@ -37,19 +37,20 @@
//
#endregion
using ICSharpCode.NRefactory;
using System;
using System.Diagnostics;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
using Debugger;
using Debugger.AddIn;
using Debugger.AddIn.TreeModel;
using Debugger.Core.Wrappers.CorPub;
using Debugger.Expressions;
using ICSharpCode.Core;
using ICSharpCode.NRefactory;
using ICSharpCode.SharpDevelop.Debugging;
using ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor;
using ICSharpCode.SharpDevelop.Gui;
@ -641,9 +642,11 @@ namespace ICSharpCode.SharpDevelop.Services @@ -641,9 +642,11 @@ namespace ICSharpCode.SharpDevelop.Services
Bitmap icon = ResourceService.GetBitmap(e.IsUnhandled ? "Icons.32x32.Error" : "Icons.32x32.Warning");
bool canContinue = !e.IsUnhandled;
DebuggerEventForm.Result result = DebuggerEventForm.Show(title, message, icon, canContinue);
//DebuggerEventForm.Result result = DebuggerEventForm.Show(title, message, icon, canContinue);
DebuggerEventForm.Result result = DebugeeExceptionForm.Show(debuggedProcess, title, message, icon, canContinue);
// If the process was killed while the exception form was shown
// If the process was killed while the exception form is still being displayed
if (e.Process.HasExited) return;
switch (result) {

BIN
src/Main/StartUp/Project/Resources/StringResources.resources

Binary file not shown.
Loading…
Cancel
Save