PC Review


Reply
Thread Tools Rate Thread

Can't Get SQL Debugger to Work

 
 
Colin
Guest
Posts: n/a
 
      12th Dec 2003
Though I've enabled SQL Debugging for the project, I
can't get the debugger to stop at my breakpoints within a
stored procedure. What must I do/re-configure?

Of note is that I recently ran IIS lockdown.
 
Reply With Quote
 
 
 
 
William \(Bill\) Vaughn
Guest
Posts: n/a
 
      13th Dec 2003
http://msdn.microsoft.com/library/de...000desktop.asp

Here's a good place to start...


--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"Colin" <(E-Mail Removed)> wrote in message
news:12e7001c3c0e0$e9586ec0$(E-Mail Removed)...
> Though I've enabled SQL Debugging for the project, I
> can't get the debugger to stop at my breakpoints within a
> stored procedure. What must I do/re-configure?
>
> Of note is that I recently ran IIS lockdown.



 
Reply With Quote
 
Guest
Posts: n/a
 
      16th Dec 2003
I did all of that, but still haven't noticed any change.

I DID figure out that I can step into the stored
procedure directly (via the server explorer) but I
couldn't step into it (via SqlCommand.ExecuteScalar()) or
get it to break during normal debugging.

Any other ideas?


>-----Original Message-----
>http://msdn.microsoft.com/library/default.asp

url=/library/en-
us/vsdebug/html/vxlrfsettingupsqldebuggingenablingsqldebug
gingonsql2000desktop.asp
>
>Here's a good place to start...
>
>
>--
>____________________________________
>William (Bill) Vaughn
>Author, Mentor, Consultant
>MVP, hRD
>www.betav.com
>Please reply only to the newsgroup so that others can

benefit.
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>__________________________________
>
>"Colin" <(E-Mail Removed)> wrote in message
>news:12e7001c3c0e0$e9586ec0$(E-Mail Removed)...
>> Though I've enabled SQL Debugging for the project, I
>> can't get the debugger to stop at my breakpoints

within a
>> stored procedure. What must I do/re-configure?
>>
>> Of note is that I recently ran IIS lockdown.

>
>
>.
>

 
Reply With Quote
 
Kevin Yu [MSFT]
Guest
Posts: n/a
 
      17th Dec 2003
Hi Colin,

There are some limitations on SQL debugging. You cannot use Step Into to go
between T-SQL and managed code (C#, Visual Basic, or Managed Extensions for
C++) or native code (C++). Please check the following for reference:

http://msdn.microsoft.com/library/de...us/vsdebug/htm
l/_core_sql_debugging_limitations.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

 
Reply With Quote
 
William \(Bill\) Vaughn
Guest
Posts: n/a
 
      17th Dec 2003
So we can't go FROM TSQL TO a VB.NET program but we should be able to go
FROM VB.NET TO TSQL right with step through--we always have. That's what
he's trying to do.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"Kevin Yu [MSFT]" <v-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Colin,
>
> There are some limitations on SQL debugging. You cannot use Step Into to

go
> between T-SQL and managed code (C#, Visual Basic, or Managed Extensions

for
> C++) or native code (C++). Please check the following for reference:
>
>

http://msdn.microsoft.com/library/de...us/vsdebug/htm
> l/_core_sql_debugging_limitations.asp
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      18th Dec 2003
Bill is right about what I'm looking for.

>-----Original Message-----
>So we can't go FROM TSQL TO a VB.NET program but we

should be able to go
>FROM VB.NET TO TSQL right with step through--we always

have. That's what
>he's trying to do.
>
>--
>____________________________________
>William (Bill) Vaughn
>Author, Mentor, Consultant
>MVP, hRD
>www.betav.com
>Please reply only to the newsgroup so that others can

benefit.
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>__________________________________
>
>"Kevin Yu [MSFT]" <v-(E-Mail Removed)> wrote in

message
>news:(E-Mail Removed)...
>> Hi Colin,
>>
>> There are some limitations on SQL debugging. You

cannot use Step Into to
>go
>> between T-SQL and managed code (C#, Visual Basic, or

Managed Extensions
>for
>> C++) or native code (C++). Please check the following

for reference:
>>
>>

>http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/vsdebug/htm
>> l/_core_sql_debugging_limitations.asp
>>
>> Kevin Yu
>> =======
>> "This posting is provided "AS IS" with no warranties,

and confers no
>> rights."
>>

>
>
>.
>

 
Reply With Quote
 
Kevin Yu [MSFT]
Guest
Posts: n/a
 
      23rd Dec 2003
Hi Colin,

I'm not quite sure about why this happens. If you follow the steps in MSDN,
the debugger should work. Would you please retry it?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

 
Reply With Quote
 
Kevin Yu [MSFT]
Guest
Posts: n/a
 
      23rd Dec 2003
Hi Colin,

You can also check the settings for the break points.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

 
Reply With Quote
 
Colin
Guest
Posts: n/a
 
      24th Dec 2003
I'll try it out. Of note is that my copy of VS.NET EA
actually "upgraded" an old academic copy, and my instance
of SQL Server is still the version that came with MS
Office XP AE (I have a developer license copy, but I
haven't replaced the old copy yet). I wonder if that has
something to do with it.

I also recently ran IIS lockdown, which changed a few
configurations.

Then again, I'm probably just missing something stupid or
skipping a step. That's usually what happens.

Thanks for your help!


>-----Original Message-----
>Hi Colin,
>
>You can also check the settings for the break points.
>
>Kevin Yu
>=======
>"This posting is provided "AS IS" with no warranties,

and confers no
>rights."
>
>.
>

 
Reply With Quote
 
Kevin Yu [MSFT]
Guest
Posts: n/a
 
      24th Dec 2003
You're welcome, Colin. Thank you for sharing your experience with all the
people in the newsgroup.

Merry Christmas and happy new year!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugger does not work Gopalan Microsoft ASP .NET 1 22nd Apr 2005 11:32 PM
debugger breaks don't work in VS.NET msnews.microsoft.com Microsoft ASP .NET 2 16th Jul 2004 09:36 PM
Debugger will not work =?Utf-8?B?YXJ2?= Microsoft Access Form Coding 1 7th Jul 2004 11:02 PM
Can't seem to get debugger to work tfs Microsoft ASP .NET 1 28th Jun 2004 10:49 PM
Need help with asp.net debugger stopping (used to work a day ago) Lloyd Sheen Microsoft ASP .NET 0 25th Feb 2004 10:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:15 PM.