Udostępnij za pośrednictwem


Okno poleceń

Use the CommandWindow to run commands, such as debug and edit commands, against the code in the Aparat baz danych programu SQL Server 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.Aby uzyskać więcej informacji, zobacz Programu Visual Studio okna.

Aby uzyskać dostęp do okna wiersza polecenia

  • Na debugowania menu, kliknij Uruchomić debugowanie.

Aby wydrukować wartości zmiennej

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

Aby wyświetlić informacje o bieżącym wątek

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

Aby dodać zmienną do okna QuickWatch

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

Zobacz także

Inne zasoby