Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@211 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
5 changed files with 48 additions and 131 deletions
@ -1,37 +0,0 @@
@@ -1,37 +0,0 @@
|
||||
//// <file>
|
||||
//// <copyright see="prj:///doc/copyright.txt"/>
|
||||
//// <license see="prj:///doc/license.txt"/>
|
||||
//// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
|
||||
//// <version value="$version"/>
|
||||
//// </file>
|
||||
//
|
||||
//using System;
|
||||
//using System.IO;
|
||||
//
|
||||
//using ICSharpCode.Core;
|
||||
//using Chimps.Debug.Cor;
|
||||
//
|
||||
//namespace ICSharpCode.Core
|
||||
//{
|
||||
// public delegate void BreakEventHandler(object sender, BreakEventArgs e);
|
||||
//
|
||||
// public class BreakEventArgs
|
||||
// {
|
||||
// Chimps.Debug.Cor.DbgAppDomain appDomain;
|
||||
// Chimps.Debug.Cor.DbgThread thread;
|
||||
//
|
||||
// public MethodCall[] CallStack {
|
||||
// get {
|
||||
//
|
||||
// return DebuggerService.GetStackList(thread.ID);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// public BreakEventArgs(Chimps.Debug.Cor.DbgAppDomain appDomain, Chimps.Debug.Cor.DbgThread thread)
|
||||
// {
|
||||
// this.appDomain = appDomain;
|
||||
// this.thread = thread;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
//
|
@ -0,0 +1,40 @@
@@ -0,0 +1,40 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
|
||||
// <version value="$version"/>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Windows.Forms; |
||||
using System.Drawing; |
||||
using System.CodeDom.Compiler; |
||||
using System.Collections; |
||||
using System.IO; |
||||
using System.Diagnostics; |
||||
using ICSharpCode.SharpDevelop.Bookmarks; |
||||
|
||||
namespace ICSharpCode.Core |
||||
{ |
||||
public class BreakpointBookmark : SDBookmark |
||||
{ |
||||
Breakpoint breakpoint; |
||||
|
||||
public Breakpoint Breakpoint { |
||||
get { |
||||
return breakpoint; |
||||
} |
||||
} |
||||
|
||||
public BreakpointBookmark(Breakpoint breakpoint, string fileName, ICSharpCode.TextEditor.Document.IDocument document, int lineNumber) : base(fileName, document, lineNumber) |
||||
{ |
||||
this.breakpoint = breakpoint; |
||||
} |
||||
|
||||
public override void Draw(ICSharpCode.TextEditor.IconBarMargin margin, Graphics g, Point p) |
||||
{ |
||||
margin.DrawBreakpoint(g, p.Y, IsEnabled); |
||||
} |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue