Skip to content

Commit 695441f

Browse files
committed
resetting gdbtarget-debug-session.ts to non exec
1 parent bba07d3 commit 695441f

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

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

100755100644
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,6 @@ export class GDBTargetDebugSession {
109109
return pname;
110110
}
111111

112-
public async getConfigStateKey(): Promise<string> {
113-
const cbuildRun = await this.getCbuildRun();
114-
const targetType = cbuildRun?.getTargetType();
115-
const configStateKey = targetType ? `${targetType}::${this.session.configuration.name}` : this.session.configuration.name;
116-
return configStateKey;
117-
}
118-
119112
/**
120113
* Check if first stop attempt for session is done by 'terminate' request.
121114
* Notes:
@@ -127,11 +120,6 @@ export class GDBTargetDebugSession {
127120
return this.session.configuration.request === 'launch' && this.capabilities?.supportsTerminateRequest === true;
128121
}
129122

130-
public async setSetExpressionSupportedContext(): Promise<void> {
131-
const supported = this.capabilities?.supportsSetExpression ?? false;
132-
await vscode.commands.executeCommand('setContext', 'vscode-cmsis-debugger.setExpressionSupported', supported);
133-
}
134-
135123
// Function returns string only in case of failure
136124
public async evaluateGlobalExpression(expression: string, context = 'hover'): Promise<DebugProtocol.EvaluateResponse['body'] | string> {
137125
try {

0 commit comments

Comments
 (0)