DebuggerService 類別

定義

管理除錯過程中斷點的配置。

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
繼承
DebuggerService
實作

建構函式

名稱 Description
DebuggerService(EditingContext)

建立一個帶有指定編輯上下文的新類別實例 DebuggerService

屬性

名稱 Description
CurrentContext

取得或設定來源檔案中目前執行的範圍。

CurrentLocation

取得或設定當前執行位置。

HideSourceFileName

取得或設定一個值,指示檢視器中原始檔名是否被隱藏。

IsDebugging

取得或設定一個值,指示除錯是否為當前狀態。

SelectedLocation

從設計師那裡取得目前選定的位置。

方法

名稱 Description
DeleteBreakpoint(SourceLocation)

從來源檔案中刪除斷點。

EnsureVisible(SourceLocation)

確保除錯服務是可見的。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetBreakpointLocations()

回傳最新的斷點位置清單。

GetExactLocation(SourceLocation)

根據序列化 XAML 形式的活動起始與結束行號,回傳一個精確的原始檔案位置。

GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
InsertBreakpoint(SourceLocation, BreakpointTypes)

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

MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ResetBreakpoints()

重置斷點並準備斷點刷新。

ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)
UpdateBreakpoint(SourceLocation, BreakpointTypes)

更新指定斷點的外觀以顯示指定的類型。

UpdateSourceLocations(Dictionary<Object,SourceLocation>)

收集來自 SourceLocationMapping 的新模型項目與斷點映射。

適用於