microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.52k stars 893 forks source link

Error: Unable to open profiler: Cannot set property 'actionBarContext' of undefined #12661

Open LucasWBritz opened 3 years ago

LucasWBritz commented 3 years ago

Steps to Reproduce:

To be honest I don't know exactly how to reproduce this. But I had 2 tabs open (side by side) at the same time. Then I clicked with the right button on my server and then on 'Launch Profiler'.

I solved the problem reopening Azure data studio. image

More info: The database I'm connected to is on Azure. Not a local database.

alanrenmsft commented 3 years ago

yeah, this is usually caused by editors in a bad state, closing all editors(tabs) and restart ADS is the workaround, I will see whether there is something I can do to fix this or at least show more meaningful errors.