473,468 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can not debug SQL sever 2005 Stored procedure from Visual Studio 2005

I am trying to debug a SQL server 2005 SP in VS 2005. I understand
that there are two types of debugging (actully 3 but I am ignoring SQL/
CLR SPs written in C# etc).

1. Direct database debugging where in we select SP and use 'Step Into
Stored procedure' otion to debug. I tried that and it seems to start
debugging session ( I can debug output 'Running [dbo].
[spTestSqlDebugging]...' in output window) but nothing seems to
happen. It prompts me for parameters etc but then no window with SP
code and cursor pointing to line of execution appears there (seems
like the winodw is hidden somewhere). I tried each and every option in
menu related to viewing all kinds windows but still dont get that.
Then i have checked my widnwos firewall and its disabled. i am logged
in as domain admin and SQLDebuggerUser is memeber of admini group. So
even with all these settings I am unable to step into SP.

2. the other SP debugging where in I want to break into SP from
managed code is also not working. I have setup breakpoint but opening
SP in edit mode. I have enabled 'SQL debugging' from .NET
projectproperties in VS2005. I have even enabled SQL/CLR debugging on
the data connection I am using from my ADO.NET (thought I dont think
it is required in this case as I belive it is required only if I want
to debug a managed SP deployed in SQL server). All the secuirty
related checks I mentioned above are still applicable (i.e. there are
no security restrictions that I can think of) but still i can not
debug.

Please advise.

Thanks in advance
Alok

Jun 19 '07 #1
0 1424

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored...
0
by: athos | last post by:
Previously, we could use Visual Studio .Net 2002 combined with Visual SourceSafe 6.0 to maintain version control for Stored Procedures. (refer to "How to add SQL Server 2000 Stored Procedures to...
11
by: serge | last post by:
When i debug a trigger is it possible to add a WATCH on the INSERTED or DELETED? I think not, at least I couldn't figure out a way to do so. Does someone have a suggestion on how I can see the...
0
by: Borr | last post by:
Hi all I have Visual Studio 6 and Visual studio 2005 installed on my computer. When I try to debug application written in Visual studio 6 using Task manager/Processes/Right click on process...
4
by: Jeff Kish | last post by:
Hi. I am under the understanding that having the sql server 2005 db is not enough (like 2000 was) to debug stored procedures.. that I need to purchase (costly) visual studio 2005. Can someone...
0
by: MicheleW | last post by:
Can some tell me how to call a db2 cobol stored procedure in visual studio.net 2005? Thank you.
2
by: DZanke | last post by:
When our developers access a MS SQL 2000 stored procedure using Visual Studio 2005, it seems to save the stored procs in a format that causes problems w/ MS SQL 2000. When I view the stored proc w/...
1
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
2
by: Dave Johansen | last post by:
I just converted a solution from Visual Studio 2003 to Visual Studio 2005 and the Debug mode seems to be running just fine, but the Release mode crashes on the following code: std::ifstream...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.