idebugger.cs

来自「全功能c#编译器」· CS 代码 · 共 64 行

CS
64
字号

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;
		}
		
		bool SupportsExecutionControl {
			get;
		}
		
		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();

	}
}

⌨️ 快捷键说明

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