How to debug stored proc on mssql running on linux

Francois Mercier 0 Reputation points
2024-10-09T12:33:15.12+00:00

Debugging stored procedure on a SQL server 2022 running on Linux server reports the following error

Unable to start program ‘MSSQL:://IP Address/?/sys/=0’ Operation not supported. Unknown error: 0x80004005.

As described in https://github.com/microsoft/mssql-docker/issues/410

How to solve this problem ?

SQL Server | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 121.8K Reputation points MVP Volunteer Moderator
    2024-10-09T20:57:22.42+00:00

    Use debug PRINT and SELECTs. This is what I have used for debugging for the last twenty years. I found that every time when tried to use a debugger, I spent more time on getting to work than I gained from productivity.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.