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
断点的类型,例如:None、Enabled、Bounded 或 Conditional。