@@ -28,8 +28,6 @@ export interface SessionEvent<T extends DebugProtocol.Event> {
2828
2929export type ContinuedEvent = SessionEvent < DebugProtocol . ContinuedEvent > ;
3030export type StoppedEvent = SessionEvent < DebugProtocol . StoppedEvent > ;
31- export type MemoryEvent = SessionEvent < DebugProtocol . MemoryEvent > ;
32- export type InvalidatedEvent = SessionEvent < DebugProtocol . InvalidatedEvent > ;
3331
3432export interface SessionCapabilities {
3533 session : GDBTargetDebugSession ;
@@ -80,12 +78,6 @@ export class GDBTargetDebugTracker {
8078 private readonly _onStackTrace : vscode . EventEmitter < SessionStackTrace > = new vscode . EventEmitter < SessionStackTrace > ( ) ;
8179 public readonly onStackTrace : vscode . Event < SessionStackTrace > = this . _onStackTrace . event ;
8280
83- private readonly _onMemory : vscode . EventEmitter < MemoryEvent > = new vscode . EventEmitter < MemoryEvent > ( ) ;
84- public readonly onMemory : vscode . Event < MemoryEvent > = this . _onMemory . event ;
85-
86- private readonly _onInvalidated : vscode . EventEmitter < InvalidatedEvent > = new vscode . EventEmitter < InvalidatedEvent > ( ) ;
87- public readonly onInvalidated : vscode . Event < InvalidatedEvent > = this . _onInvalidated . event ;
88-
8981 public activate ( context : vscode . ExtensionContext ) {
9082 const createDebugAdapterTracker = ( session : vscode . DebugSession ) : vscode . ProviderResult < vscode . DebugAdapterTracker > => {
9183 return {
@@ -159,16 +151,6 @@ export class GDBTargetDebugTracker {
159151 case 'output' :
160152 gdbTargetSession ?. filterOutputEvent ( event as DebugProtocol . OutputEvent ) ;
161153 break ;
162- case 'invalidated' :
163- if ( gdbTargetSession ) {
164- this . _onInvalidated . fire ( { session : gdbTargetSession , event : event as DebugProtocol . InvalidatedEvent } ) ;
165- }
166- break ;
167- case 'memory' :
168- if ( gdbTargetSession ) {
169- this . _onMemory . fire ( { session : gdbTargetSession , event : event as DebugProtocol . MemoryEvent } ) ;
170- }
171- break ;
172154 }
173155 }
174156
@@ -194,7 +176,6 @@ export class GDBTargetDebugTracker {
194176 private handleInitializeResponse ( gdbTargetSession : GDBTargetDebugSession , response : DebugProtocol . InitializeResponse ) : void {
195177 if ( response . success && response . body ) {
196178 gdbTargetSession . setCapabilities ( response . body ) ;
197- gdbTargetSession . setSetExpressionSupportedContext ( ) ;
198179 }
199180 }
200181
0 commit comments