⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idebugger.cs

📁 c#源代码
💻 CS
字号:
using System;
using ICSharpCode.SharpDevelop.Internal.Project;

namespace ICSharpCode.SharpDevelop.Services 
{
	public interface IDebugger 
	{
		/// <summary>
		/// Returns true if debuger is attached to a process
		/// </summary>
		bool IsDebugging {
			get;
		}
		
		/// <summary>
		/// Returns true if process is running
		/// Returns false if breakpoint is hit, program is breaked, program is stepped, etc...
		/// </summary>
		bool IsProcessRunning {
			get;
		}
		
		bool SupportsStartStop {
			get;
		}
		
		/// <summary>
		/// Break/Continue
		/// </summary>
		bool SupportsExecutionControl {
			get;
		}
		
		/// <summary>
		/// Step/Step into/Step over
		/// </summary>
		bool SupportsStepping {
			get;
		}
		
		bool CanDebug(IProject project);
		
		/// <summary>
		/// Starts process and attaches debugger
		/// </summary>
		/// <param name="fileName"></param>
		/// <param name="workingDirectory"></param>
		/// <param name="arguments"></param>
		void Start(string fileName, string workingDirectory, string arguments);

		/// <summary>
		/// Stops/terminates attached process
		/// </summary>
		void Stop();
		
		// ExecutionControl:
		
		void Break();
		
		void Continue();

		void StepInto();

		void StepOver();

		void StepOut();
		
		event EventHandler DebugStopped;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -