DebuggerService.InsertBreakpoint(SourceLocation, BreakpointTypes) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的位置插入指定之類型的新中斷點。
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
中斷點的類型,例如,[無]、[已啟用]、[已繫結] 或 [條件式]。