共用方式為


DebuggerService.InsertBreakpoint(SourceLocation, BreakpointTypes) 方法

定義

在指定的位置插入指定之類型的新中斷點。

public:
 virtual void InsertBreakpoint(System::Activities::Debugger::SourceLocation ^ sourceLocation, System::Activities::Presentation::Debug::BreakpointTypes breakpointType);
public void InsertBreakpoint (System.Activities.Debugger.SourceLocation sourceLocation, System.Activities.Presentation.Debug.BreakpointTypes breakpointType);
abstract member InsertBreakpoint : System.Activities.Debugger.SourceLocation * System.Activities.Presentation.Debug.BreakpointTypes -> unit
override this.InsertBreakpoint : System.Activities.Debugger.SourceLocation * System.Activities.Presentation.Debug.BreakpointTypes -> unit
Public Sub InsertBreakpoint (sourceLocation As SourceLocation, breakpointType As BreakpointTypes)

參數

sourceLocation
SourceLocation

在原始程式檔中,接收新中斷點的位置。

breakpointType
BreakpointTypes

中斷點的類型,例如,[無]、[已啟用]、[已繫結] 或 [條件式]。

實作

適用於