|
@@ -34,9 +34,9 @@ export interface IDebugger {
|
|
|
readonly isStarted: boolean;
|
|
|
|
|
|
/**
|
|
|
- * The model of the debugger.
|
|
|
+ * The debugger service's model.
|
|
|
*/
|
|
|
- readonly model: IDebugger.IModel;
|
|
|
+ readonly model: IDebugger.Model.IService;
|
|
|
|
|
|
/**
|
|
|
* The current debugger session.
|
|
@@ -204,51 +204,6 @@ export namespace IDebugger {
|
|
|
setTmpFileParams(params: IConfig.FileParams): void;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * The data model for the debugger.
|
|
|
- */
|
|
|
- export interface IModel {
|
|
|
- /**
|
|
|
- * The breakpoints UI model.
|
|
|
- */
|
|
|
- readonly breakpoints: UI.IBreakpoints;
|
|
|
-
|
|
|
- /**
|
|
|
- * The callstack UI model.
|
|
|
- */
|
|
|
- readonly callstack: UI.ICallstack;
|
|
|
-
|
|
|
- /**
|
|
|
- * The variables UI model.
|
|
|
- */
|
|
|
- readonly variables: UI.IVariables;
|
|
|
-
|
|
|
- /**
|
|
|
- * The sources UI model.
|
|
|
- */
|
|
|
- readonly sources: UI.ISources;
|
|
|
-
|
|
|
- /**
|
|
|
- * The set of threads in stopped state.
|
|
|
- */
|
|
|
- stoppedThreads: Set<number>;
|
|
|
-
|
|
|
- /**
|
|
|
- * The current debugger title.
|
|
|
- */
|
|
|
- title: string;
|
|
|
-
|
|
|
- /**
|
|
|
- * A signal emitted when the title changes.
|
|
|
- */
|
|
|
- titleChanged: ISignal<this, string>;
|
|
|
-
|
|
|
- /**
|
|
|
- * Clear the model.
|
|
|
- */
|
|
|
- clear(): void;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* A visual debugger session.
|
|
|
*/
|
|
@@ -558,9 +513,9 @@ export namespace IDebugger {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * A namespace for UI interface definitions.
|
|
|
+ * A namespace for UI model definitions.
|
|
|
*/
|
|
|
- export namespace UI {
|
|
|
+ export namespace Model {
|
|
|
/**
|
|
|
* The breakpoints UI model.
|
|
|
*/
|
|
@@ -633,6 +588,51 @@ export namespace IDebugger {
|
|
|
readonly framesChanged: ISignal<this, CallstackModel.IFrame[]>;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * The data model for the debugger service.
|
|
|
+ */
|
|
|
+ export interface IService {
|
|
|
+ /**
|
|
|
+ * The breakpoints UI model.
|
|
|
+ */
|
|
|
+ readonly breakpoints: IBreakpoints;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The callstack UI model.
|
|
|
+ */
|
|
|
+ readonly callstack: ICallstack;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The variables UI model.
|
|
|
+ */
|
|
|
+ readonly variables: IVariables;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The sources UI model.
|
|
|
+ */
|
|
|
+ readonly sources: ISources;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The set of threads in stopped state.
|
|
|
+ */
|
|
|
+ stoppedThreads: Set<number>;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The current debugger title.
|
|
|
+ */
|
|
|
+ title: string;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * A signal emitted when the title changes.
|
|
|
+ */
|
|
|
+ titleChanged: ISignal<this, string>;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Clear the model.
|
|
|
+ */
|
|
|
+ clear(): void;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* The sources UI model.
|
|
|
*/
|