Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode.debug.onDidTerminateDebugSession never calls listener #10953

Closed
Bolodya1997 opened this issue Mar 30, 2022 · 0 comments · Fixed by #10954
Closed

vscode.debug.onDidTerminateDebugSession never calls listener #10953

Bolodya1997 opened this issue Mar 30, 2022 · 0 comments · Fixed by #10954
Labels
debug issues that related to debug functionality vscode issues related to VSCode compatibility

Comments

@Bolodya1997
Copy link
Contributor

Bug Description:

vscode.debug.onDidTerminateDebugSession never calls assigned listener.

Steps to Reproduce:

  1. Create test plugin:
import * as vscode from "vscode";
import { ExtensionContext, window } from "vscode";

export async function activate(_: ExtensionContext) {
  vscode.debug.onDidStartDebugSession((session: vscode.DebugSession) => {
    window.showInformationMessage(`Started debug session: ${session.id}`);
  });

  vscode.debug.onDidTerminateDebugSession((session: vscode.DebugSession) => {
    window.showInformationMessage(`Terminated debug session: ${session.id}`);
  });
}
  1. Run Theia with any language supported (tested with Python) with test plugin added.
  2. Create any debug configuration.
    image
  3. Run debug session.
    image

Expected behavior

  1. Information message 'Started debug session' is shown on execution start.
  2. Information message 'Terminated debug session' is shown on execution end.

Actual behavior

  1. Only 'Started debug session' message is shown.

Additional Information

  • Operating System: Mac OS Catalina 10.15.7
  • Browser: Google Chrome 99.0.4844.83
  • Theia Version: latest (v1.23.0)
@vince-fugnitto vince-fugnitto added vscode issues related to VSCode compatibility debug issues that related to debug functionality labels Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug issues that related to debug functionality vscode issues related to VSCode compatibility
Projects
None yet
2 participants