Aracılığıyla paylaş


Komut penceresi

Use the CommandWindow to run commands, such as debug and edit commands, against the code in the SQL Server Veritabanı Altyapısı Query Editor window that is currently being debugged. You must be in debug mode to use the Command Window.The Transact-SQL debugger supports many of the commands that are also supported in the Microsoft Visual Studio Command window.Daha fazla bilgi için bkz: Visual Studio Command Window.

Komut penceresine erişmek için

  • Üzerinde Debug menüsünde'i tıklatın Start Debugging komutunu.

Bir değişkenin değerini yazdırmak için

  • In the CommandWindow, type Debug.Print <VariableName>, and then press ENTER.

Geçerli iş parçacığı ilgili bilgileri listelemek için

  • In the CommandWindow, type Debug.ListThread, and then press ENTER.

QuickWatch penceresi için bir değişken eklemek için

  • In the CommandWindow, type Debug.QuickWatch <VariableName>, and then press ENTER.

Ayrıca bkz.

Diğer Kaynaklar