DebuggerService DebuggerService DebuggerService DebuggerService Class

定义

为调试过程管理断点的位置。Manages the placement of breakpoints for a debugging process.

public ref class DebuggerService : System::Activities::Presentation::Debug::IDesignerDebugView
public class DebuggerService : System.Activities.Presentation.Debug.IDesignerDebugView
type DebuggerService = class
    interface IDesignerDebugView
Public Class DebuggerService
Implements IDesignerDebugView
继承
DebuggerServiceDebuggerServiceDebuggerServiceDebuggerService
实现

构造函数

DebuggerService(EditingContext) DebuggerService(EditingContext) DebuggerService(EditingContext) DebuggerService(EditingContext)

使用指定的编辑上下文创建 DebuggerService 类的新实例。Creates a new instance of the DebuggerService class with the specified editing context.

属性

CurrentContext CurrentContext CurrentContext CurrentContext

获取或设置源文件中的当前执行范围。Gets or sets the current scope of execution in the source file.

CurrentLocation CurrentLocation CurrentLocation CurrentLocation

获取或设置执行的当前位置。Gets or sets the current location of execution.

HideSourceFileName HideSourceFileName HideSourceFileName HideSourceFileName

获取或设置指示是否隐藏查看器中源文件名的值。Gets or sets a value that indicates whether the source file name in the viewer is hidden.

IsDebugging IsDebugging IsDebugging IsDebugging

获取或设置一个值,该值指示调试是否为当前状态。Gets or sets a value that indicates whether debugging is the current state.

SelectedLocation SelectedLocation SelectedLocation SelectedLocation

从设计器中获取当前选定的位置。Gets the currently selected location from the designer.

方法

DeleteBreakpoint(SourceLocation) DeleteBreakpoint(SourceLocation) DeleteBreakpoint(SourceLocation) DeleteBreakpoint(SourceLocation)

从源文件中的断点位置处删除断点。Deletes a breakpoint from its location in the source file.

EnsureVisible(SourceLocation) EnsureVisible(SourceLocation) EnsureVisible(SourceLocation) EnsureVisible(SourceLocation)

确保调试程序服务是可见的。Ensures that the debugger service is visible.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBreakpointLocations() GetBreakpointLocations() GetBreakpointLocations() GetBreakpointLocations()

返回最新断点位置的列表。Returns a list of the latest breakpoint locations.

GetExactLocation(SourceLocation) GetExactLocation(SourceLocation) GetExactLocation(SourceLocation) GetExactLocation(SourceLocation)

基于活动在其序列化的 XAML 形式中的起始行号和结束行号,返回准确的源文件位置。Returns an exact source file location based on the start and end line numbers of the activity in its serialized XAML form.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
InsertBreakpoint(SourceLocation, BreakpointTypes) InsertBreakpoint(SourceLocation, BreakpointTypes) InsertBreakpoint(SourceLocation, BreakpointTypes) InsertBreakpoint(SourceLocation, BreakpointTypes)

在指定位置处插入指定类型的新断点。Inserts a new breakpoint of the specified type at the specified location.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ResetBreakpoints() ResetBreakpoints() ResetBreakpoints() ResetBreakpoints()

重置断点并准备刷新断点。Resets breakpoints and prepares for breakpoint refresh.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)
UpdateBreakpoint(SourceLocation, BreakpointTypes) UpdateBreakpoint(SourceLocation, BreakpointTypes) UpdateBreakpoint(SourceLocation, BreakpointTypes) UpdateBreakpoint(SourceLocation, BreakpointTypes)

更新指定断点的外观,以显示指定的类型。Updates the appearance of a specified breakpoint to show the specified type.

UpdateSourceLocations(Dictionary<Object,SourceLocation>) UpdateSourceLocations(Dictionary<Object,SourceLocation>) UpdateSourceLocations(Dictionary<Object,SourceLocation>) UpdateSourceLocations(Dictionary<Object,SourceLocation>)

从 SourceLocationMapping 收集模型项与断点之间的新映射。Collects the new mapping of model item and breakpoints from SourceLocationMapping.

适用于