Skip to content

Commit bba07d3

Browse files
committed
resetting gdbtarget-debug-tracker.ts to non exec
1 parent 73e67b4 commit bba07d3

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/debug-session/gdbtarget-debug-tracker.ts

100755100644
Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ export interface SessionEvent<T extends DebugProtocol.Event> {
2828

2929
export type ContinuedEvent = SessionEvent<DebugProtocol.ContinuedEvent>;
3030
export type StoppedEvent = SessionEvent<DebugProtocol.StoppedEvent>;
31-
export type MemoryEvent = SessionEvent<DebugProtocol.MemoryEvent>;
32-
export type InvalidatedEvent = SessionEvent<DebugProtocol.InvalidatedEvent>;
3331

3432
export 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

Comments
 (0)