eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.38k stars 2.45k forks source link

[vscode] Stub DebugStackFrame and DebugThread API #13758

Closed rschnekenbu closed 1 week ago

rschnekenbu commented 1 month ago

These 2 types are introduced with VS Code 1.90 There are also changes to debug namespace:

/**
 * The currently focused thread or stack frame, or `undefined` if no
 * thread or stack is focused. A thread can be focused any time there is
 * an active debug session, while a stack frame can only be focused when
 * a session is paused and the call stack has been retrieved.
 */
export const activeStackItem: DebugThread | DebugStackFrame | undefined;

/**
 * An event which fires when the {@link debug.activeStackItem} has changed.
 */
export const onDidChangeActiveStackItem: Event<DebugThread | DebugStackFrame | undefined>;
rschnekenbu commented 1 week ago

Follow up for concrete implementation: #13846