Re: Any way to debug using SQL SP

From: Rena (rena_at_mail.hongkong.com)
Date: 09/02/04


Date: Thu, 2 Sep 2004 22:46:24 +0800

Thx all for the helps~~~ :)

"Rick Sawtell" <ricksawtell@hotmail.com> wrote in message
news:OR$tKoDkEHA.1800@TK2MSFTNGP15.phx.gbl...
> VS.NET does have a SQL Debugger in it.
>
> From the VS.NET Help file:
> ==========================
> In Visual Studio, you can debug a stored procedure from Server Explorer or
a
> source window.
>
> To debug a stored procedure from Server Explorer
>
> 1.. Establish a connection to a database using Server Explorer. For more
> information, see Server Explorer Window.
> 2.. Expand the <database name> node.
> 3.. Expand the Stored Procedures node.
> 4.. Right-click the stored procedure you want to debug and choose Step
> Into Stored Procedure from the shortcut menu.
> To debug a stored procedure in the text editor
>
> a.. In a source window, right-click the stored procedure and choose Step
> Into Stored Procedure from the shortcut menu.
> For more information, see Enabling SQL Debugging on SQL 2000 Desktop
> Engines.
>
> Visual Studio also enables you to debug extended stored procedures.
However,
> you cannot debug SQL statements that are executed outside of a stored
> procedure.
>
>
> Rick Sawtell
> MCT, MCSD, MCDBA
>
>
>



Relevant Pages

  • Re: Any way to debug using SQL SP
    ... VS.NET does have a SQL Debugger in it. ... To debug a stored procedure from Server Explorer ...
    (microsoft.public.sqlserver.server)
  • Re: Any way to debug using SQL SP
    ... > To debug a stored procedure from Server Explorer ...
    (microsoft.public.sqlserver.server)
  • Re: Debugging a stored procedure
    ... You cannot debug a stored procedure by executing the stored procedure from ... You can only debug the stored procedure directly from the IDE. ... I have heard of SQL debugger, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: SQLdatasource delete with parameter output
    ... Also you can possibly debug and step into your stored procedure. ... @SiteProjectID Int, ... @MeasureID Int, ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: OPENXML debugging
    ... I am a bit confused re your debug feedback. ... > The code then called the stored procedure - again, ... I did turn on T-SQL debugging when the throw was ... > If the work around is the best practice, can the MSDN article be changed? ...
    (microsoft.public.sqlserver.xml)