#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
1.1 KiB

// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
// <version>$Revision: 1064 $</version>
// </file>
using System;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Services;
using Debugger;
namespace ICSharpCode.SharpDevelop.Gui.Pads
{
public abstract class DebuggerPad: AbstractPadContent
{
protected WindowsDebugger debugger;
protected NDebugger debuggerCore;
public DebuggerPad()
{
debugger = (WindowsDebugger)DebuggerService.CurrentDebugger;
InitializeComponents();
if (debugger.ServiceInitialized) {
InitializeDebugger();
} else {
debugger.Initialize += delegate {
InitializeDebugger();
};
}
}
protected virtual void InitializeComponents()
{
}
void InitializeDebugger()
{
debuggerCore = debugger.DebuggerCore;
RegisterDebuggerEvents();
RefreshPad();
}
protected virtual void RegisterDebuggerEvents()
{
}
public virtual void RefreshPad()
{
}
}
}