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

TS debugging: vscode shows extensionHostProcess.js and stops working if TODO-highlight is enabled. #220

Open
maziac opened this issue Jan 3, 2023 · 0 comments

Comments

@maziac
Copy link

maziac commented Jan 3, 2023

Extension version: 1.0.5
VS Code version: Code 1.74.2 (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:26:09.430Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No

Description:
I have created a simple project to reproduce the problem. It is based on the your first extension example. Just an async function call added at the end of the activate function (line 26-36 in extension.ts).

If the program is paused once, it is not possible to re-start the debug session or even stop it.
After that it is required to close the window and open it again.

Steps to Reproduce:

  1. Compile the attached TS extension.
  2. Press "Run extension"
  3. The extension starts . (The extension is immediately activated through activationEvents: "*")
  4. Let it run a few seconds (e.g. 10s).
  5. Pause the extension:
    Bildschirmfoto 2022-07-31 um 11 09 52
  6. vscode breaks and shows
    Bildschirmfoto 2022-07-31 um 11 04 38
  7. Now press stop
    Bildschirmfoto 2022-07-31 um 11 10 55 to end the debug session.

Result:
Nothing happens. It is not possible to end or restart the debug session.
The only way to get out of this situation is to close the window and re-open it.

I have deactivated all extensions and the problem is gone.
Then I enabled just vscode-todo-highlight and the problem immediately appears again.

Here are the settings I use:
Bildschirmfoto 2023-01-03 um 12 10 54

debug_problem.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant