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

Extension starts a debug session upon VS Code startup and blocks #202

Open
guillaumedavidphd opened this issue Jan 9, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@guillaumedavidphd
Copy link

Describe the bug
The extension starts a debug session upon VS Code startup on its own. Manually terminating the debug session crashes the extension and a message appears asking to restart MATLAB.

To Reproduce
Steps to reproduce the behavior:

  1. Start VS Code
  2. Wait for it to fully load, and check out the "Run and Debug" tab
  3. See that a debug session is in progress, blocking other features such as "Extensions restart"

Expected behavior
A debug session should not be started automatically, blocking other features.

Useful Information

  • OS Version: Ubuntu 24.04.1 LTS
  • VS Code Version: 1.96.2
  • MATLAB version: R2022a
  • MATLAB extension version: 1.3.0
@guillaumedavidphd guillaumedavidphd added the bug Something isn't working label Jan 9, 2025
@philipb314
Copy link
Member

Thank you for reporting this issue. We will be looking into the issue that occurs when terminating the debug session.
One thing to note is that there is also a known issue with the latest v1.3 extension release for MATLAB R2022a specifically you might also run into.
Additionally, to prevent that debugger session starting automatically you can uncheck the setting "matlab.automaticallyStartDebugger" for the extension.

@guillaumedavidphd
Copy link
Author

Thanks. Just to clarify, the issue is not about what happens when terminating the debug session. The issue is that a debug session starts with the extension and blocks other VS Code features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants