Description
After executing a T-SQL script—whether from an existing file or a "New Query" tab—the extension becomes completely unresponsive. This behavior is inconsistent in timing but persistent in occurrence. It affects all types of connections (Local, Azure, Remote VM) and happens regardless of how long the tab has been open.
Additional Context
The issue is not tied to a specific server or script complexity. It can happen immediately after the first execution or after several successful ones. Once the "hang" occurs, only a full window reload restores functionality, but the issue eventually recurs.
Steps to Reproduce
- Connect to any SQL Server instance (Local or Cloud).
- Execute any query (simple SELECT or complex script).
- After execution finishes, attempt to run another query or interact with the SQL results/connection.
Observation: The extension "freezes." No further queries can be executed.
Current Workaround: Run F1 > Developer: Reload Window.
Affected Area
If you selected "Other", please describe the affected area
No response
Environment Information
Extension Version: 1.40.0 (Latest)
VS Code Version: 1.109.5
OS: Windows 11
SQL Server: Various (Local, Cloud, Azure SQL)
Confirmation
Description
After executing a T-SQL script—whether from an existing file or a "New Query" tab—the extension becomes completely unresponsive. This behavior is inconsistent in timing but persistent in occurrence. It affects all types of connections (Local, Azure, Remote VM) and happens regardless of how long the tab has been open.
Additional Context
The issue is not tied to a specific server or script complexity. It can happen immediately after the first execution or after several successful ones. Once the "hang" occurs, only a full window reload restores functionality, but the issue eventually recurs.
Steps to Reproduce
Observation: The extension "freezes." No further queries can be executed.
Current Workaround: Run F1 > Developer: Reload Window.
Affected Area
If you selected "Other", please describe the affected area
No response
Environment Information
Extension Version: 1.40.0 (Latest)
VS Code Version: 1.109.5
OS: Windows 11
SQL Server: Various (Local, Cloud, Azure SQL)
Confirmation
I noticed this error in the video you shared. @samgusick and @jsantos-iplus do you see it every time the extension gets stuck?
If you can, could you also share the console logs from the DevTools?
Steps:
Also, if possible, it would help a great deal if you could collect and share the mssqltools logs as well:
https://github.com/microsoft/vscode-mssql/wiki/Collecting-MSSQL-Logs
From what you’re seeing, it looks like the backend process that powers the extension is crashing in your case. Which wo…