Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2894 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
18 changed files with 190 additions and 299 deletions
@ -1,29 +0,0 @@
@@ -1,29 +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 ProcessEventArgs: DebuggerEventArgs |
||||
{ |
||||
Process process; |
||||
|
||||
[Debugger.Tests.Ignore] |
||||
public Process Process { |
||||
get { |
||||
return process; |
||||
} |
||||
} |
||||
|
||||
public ProcessEventArgs(Process process): base(process == null ? null : process.Debugger) |
||||
{ |
||||
this.process = process; |
||||
} |
||||
} |
||||
} |
@ -1,28 +0,0 @@
@@ -1,28 +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 StepperEventArgs: ProcessEventArgs |
||||
{ |
||||
Stepper stepper; |
||||
|
||||
public Stepper Stepper { |
||||
get { |
||||
return stepper; |
||||
} |
||||
} |
||||
|
||||
public StepperEventArgs(Stepper stepper): base(stepper.Process) |
||||
{ |
||||
this.stepper = stepper; |
||||
} |
||||
} |
||||
} |
@ -1,29 +0,0 @@
@@ -1,29 +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 ThreadEventArgs : ProcessEventArgs |
||||
{ |
||||
Thread thread; |
||||
|
||||
[Debugger.Tests.Ignore] |
||||
public Thread Thread { |
||||
get { |
||||
return thread; |
||||
} |
||||
} |
||||
|
||||
public ThreadEventArgs(Thread thread): base(thread.Process) |
||||
{ |
||||
this.thread = thread; |
||||
} |
||||
} |
||||
} |
@ -1,28 +0,0 @@
@@ -1,28 +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 BreakpointEventArgs : DebuggerEventArgs |
||||
{ |
||||
Breakpoint breakpoint; |
||||
|
||||
public Breakpoint Breakpoint { |
||||
get { |
||||
return breakpoint; |
||||
} |
||||
} |
||||
|
||||
public BreakpointEventArgs(Breakpoint breakpoint): base(breakpoint.Debugger) |
||||
{ |
||||
this.breakpoint = breakpoint; |
||||
} |
||||
} |
||||
} |
@ -1,28 +0,0 @@
@@ -1,28 +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 DebuggerEventArgs : EventArgs |
||||
{ |
||||
NDebugger debugger; |
||||
|
||||
public NDebugger Debugger { |
||||
get { |
||||
return debugger; |
||||
} |
||||
} |
||||
|
||||
public DebuggerEventArgs(NDebugger debugger) |
||||
{ |
||||
this.debugger = debugger; |
||||
} |
||||
} |
||||
} |
@ -1,33 +0,0 @@
@@ -1,33 +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 |
||||
{ |
||||
/// <summary>
|
||||
/// Provides data related to evalution events
|
||||
/// </summary>
|
||||
[Serializable] |
||||
public class EvalEventArgs : ProcessEventArgs |
||||
{ |
||||
Eval eval; |
||||
|
||||
/// <summary> The evaluation that caused the event </summary>
|
||||
public Eval Eval { |
||||
get { |
||||
return eval; |
||||
} |
||||
} |
||||
|
||||
/// <summary> Initializes a new instance of the class </summary>
|
||||
public EvalEventArgs(Eval eval): base(eval.Process) |
||||
{ |
||||
this.eval = eval; |
||||
} |
||||
} |
||||
} |
@ -1,37 +0,0 @@
@@ -1,37 +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 |
||||
{ |
||||
public class ExceptionEventArgs: ProcessEventArgs |
||||
{ |
||||
bool @continue; |
||||
Exception exception; |
||||
|
||||
public bool Continue { |
||||
get { |
||||
return @continue; |
||||
} |
||||
set { |
||||
@continue = value; |
||||
} |
||||
} |
||||
|
||||
public Exception Exception { |
||||
get { |
||||
return exception; |
||||
} |
||||
} |
||||
|
||||
public ExceptionEventArgs(Process process, Exception exception):base(process) |
||||
{ |
||||
this.exception = exception; |
||||
} |
||||
} |
||||
} |
@ -1,49 +0,0 @@
@@ -1,49 +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 MessageEventArgs : ProcessEventArgs |
||||
{ |
||||
int level; |
||||
string message; |
||||
string category; |
||||
|
||||
public int Level { |
||||
get { |
||||
return level; |
||||
} |
||||
} |
||||
|
||||
public string Message { |
||||
get { |
||||
return message; |
||||
} |
||||
} |
||||
|
||||
public string Category { |
||||
get { |
||||
return category; |
||||
} |
||||
} |
||||
|
||||
public MessageEventArgs(Process process, string message): this(process, 0, message, String.Empty) |
||||
{ |
||||
this.message = message; |
||||
} |
||||
|
||||
public MessageEventArgs(Process process, int level, string message, string category): base(process) |
||||
{ |
||||
this.level = level; |
||||
this.message = message; |
||||
this.category = category; |
||||
} |
||||
} |
||||
} |
@ -1,28 +0,0 @@
@@ -1,28 +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 ModuleEventArgs : ProcessEventArgs |
||||
{ |
||||
Module module; |
||||
|
||||
public Module Module { |
||||
get { |
||||
return module; |
||||
} |
||||
} |
||||
|
||||
public ModuleEventArgs(Module module): base(module.Process) |
||||
{ |
||||
this.module = module; |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue