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

Breakpoints in plugin-host not hit #12742

Open
Tracked by #12693 ...
tsmaeder opened this issue Jul 21, 2023 · 4 comments
Open
Tracked by #12693 ...

Breakpoints in plugin-host not hit #12742

tsmaeder opened this issue Jul 21, 2023 · 4 comments
Labels
bug bugs found in the application debug issues that related to debug functionality

Comments

@tsmaeder
Copy link
Contributor

Bug Description:

Steps to Reproduce:

  1. Put a breakpoint in a file that is used in the plugin host, for example workspace.ts
  2. Start theia via "Launch Electron Back End" launch config
  3. Cause the code where you put the breakpoint to be executed
  4. Observe: the debugger does not pause i.e. the breakpoint is not hit.

Note that the breakpoint shows up as "unbound" (empty circle in the margin), meaning the debugger does not think the code corresponding to the breakpoint location is loaded.

Additional Information

  • Operating System: Windows 11
  • Theia Version: Blueprint 1.39.0
@tsmaeder tsmaeder added bug bugs found in the application debug issues that related to debug functionality labels Jul 21, 2023
@msujew
Copy link
Member

msujew commented Jul 21, 2023

Does this work with vscode as expected? Or is it an issue in how we generate backend source maps after #12412?

@tsmaeder
Copy link
Contributor Author

Nope, this works with the exact same workspace in VS Code.

@tsmaeder
Copy link
Contributor Author

I noticed that the breakpoints do seem to be hit, but the UI does not update accordingly: I need to select the plugin-host process in the "threads" view in order to get the proper source and stack shown.

@JonasHelming
Copy link
Contributor

@vladarama @vince-fugnitto This ight be something for @vladarama ?

@tsmaeder tsmaeder mentioned this issue Apr 10, 2024
58 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application debug issues that related to debug functionality
Projects
None yet
Development

No branches or pull requests

3 participants