Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1682 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
11 changed files with 110 additions and 149 deletions
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
|
||||
namespace Debugger |
||||
{ |
||||
[Serializable] |
||||
public class DebuggingIsResumingEventArgs : DebuggerEventArgs |
||||
{ |
||||
bool abort; |
||||
|
||||
public bool Abort { |
||||
get { |
||||
return abort; |
||||
} |
||||
set { |
||||
abort = value; |
||||
} |
||||
} |
||||
|
||||
public DebuggingIsResumingEventArgs(NDebugger debugger): base(debugger) |
||||
{ |
||||
this.abort = false; |
||||
} |
||||
} |
||||
} |
@ -1,47 +0,0 @@
@@ -1,47 +0,0 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
|
||||
namespace Debugger |
||||
{ |
||||
[Serializable] |
||||
public class DebuggingPausedEventArgs : DebuggerEventArgs |
||||
{ |
||||
PausedReason reason; |
||||
|
||||
bool resumeDebugging = false; |
||||
|
||||
public PausedReason Reason { |
||||
get { |
||||
return reason; |
||||
} |
||||
} |
||||
|
||||
internal bool ResumeDebugging { |
||||
get { |
||||
return resumeDebugging; |
||||
} |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// Call this function to resume debugging when event is handled
|
||||
///
|
||||
/// This is prefered to calling Continue() since it ensures Continue is
|
||||
/// called only once and never before all events are handled
|
||||
/// </summary>
|
||||
public void ResumeDebuggingAfterEvent() |
||||
{ |
||||
resumeDebugging = true; |
||||
} |
||||
|
||||
public DebuggingPausedEventArgs(NDebugger debugger, PausedReason reason): base(debugger) |
||||
{ |
||||
this.reason = reason; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,37 @@
@@ -0,0 +1,37 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
|
||||
namespace Debugger |
||||
{ |
||||
public class ExceptionEventArgs: DebuggerEventArgs |
||||
{ |
||||
bool @continue; |
||||
Exception exception; |
||||
|
||||
public bool Continue { |
||||
get { |
||||
return @continue; |
||||
} |
||||
set { |
||||
@continue = value; |
||||
} |
||||
} |
||||
|
||||
public Exception Exception { |
||||
get { |
||||
return exception; |
||||
} |
||||
} |
||||
|
||||
public ExceptionEventArgs(NDebugger debugger, Exception exception):base(debugger) |
||||
{ |
||||
this.exception = exception; |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue