DebuggerService 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
管理偵錯程序的中斷點位置。
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
- 實作
建構函式
| DebuggerService(EditingContext) |
使用指定的編輯內容,建立 DebuggerService 類別的新執行個體。 |
屬性
| CurrentContext |
取得或設定原始程式檔中目前執行的範圍。 |
| CurrentLocation |
取得或設定目前的執行位置。 |
| HideSourceFileName |
取得或設定值,指出檢視器中的原始程式檔名是否已隱藏。 |
| IsDebugging |
取得或設定值,指出偵錯是否為目前狀態。 |
| SelectedLocation |
取得目前從設計工具選取的位置。 |
方法
| 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 收集模型項目與中斷點的新對應。 |