<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx</link><description>There have been some questions about the sysadmin requirement of SQL Server 2005 Debugging, and I’d like to explain it in some details. When you debug T-SQL or CLR code in SQL Server 2005, there are two users involved: user running the debugger and user</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Interesting Finds: July 8, 2006</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#660096</link><pubDate>Sat, 08 Jul 2006 18:32:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:660096</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#661393</link><pubDate>Mon, 10 Jul 2006 17:02:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:661393</guid><dc:creator>Clifton Collins</dc:creator><description>I think MS is on the fence with debugging and has continuity issues larger than just the SQL product. &amp;nbsp;Why do similar things differently, develop one way, debug one way, etc. &amp;nbsp;That is what is touted by the MS propaganda isn't it. &amp;nbsp;The more years pass, the more it stays the same, but with a different look and is not getting better, just different. &amp;nbsp;This may be the continuity MS wants, but not developers and users.&lt;br&gt;&lt;br&gt;...And make sure you take away important features like tsql debugging from the sql product and the sql agent job scheduler from express. &amp;nbsp;I am sure this makes sense to someone that has never used the product.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#663139</link><pubDate>Wed, 12 Jul 2006 12:18:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:663139</guid><dc:creator>Andy Ball</dc:creator><description>Firstly thanks for a really useful article and a great blog. I will be adding you to my RSS feed. &lt;br&gt;&lt;br&gt;This is a real issue in any decent sized corporate environment. Even dev servers will be standardised and well managed and therefore Sa access will be restricted to the DBA Team. I understood that one of the main benefits of VS2005 is the seamless debug between managed code and SQL and in our environment the Sa requirement prevents us leveraging this. &lt;br&gt;&lt;br&gt;Obviously there are workarounds (ie temp grant access, local / SQL Express copy of SQL Server) but these create a manageability headache which again makes them unworkable in a Corporate environment. &lt;br&gt;&lt;br&gt;We still see quite a few examples in MS Products of ignorance of corporate realties , so it would be good if these are thought through / discussed with your larger customers more. I'm happy to do this over a Red Rock / Pyramid or two :-)&lt;br&gt;&lt;br&gt;thanks again,&lt;br&gt;Andy. &lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;br&gt;</description></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#663995</link><pubDate>Thu, 13 Jul 2006 05:55:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:663995</guid><dc:creator>Dean Harding</dc:creator><description>The problem with debugging is that you really DO have to have access to the process's memory to be able to do anything useful. And if they added some new &amp;quot;debugging&amp;quot; role to allow people to debug, it'd be the same as the sysadmin role anyway (at least, it would be possible for a &amp;quot;debugging&amp;quot; user to trick the server into thinking they were a &amp;quot;sysadmin&amp;quot;). Essentially, the &amp;quot;debugging&amp;quot; role would be synonymous with the sysadmin role.&lt;br&gt;&lt;br&gt;At least requiring the sysadmin role makes it very clear to DBAs the sort of permissions you're giving developers. This'll make it clear that they probably should NOT be giving it to developers on a production server. If they had available some &amp;quot;debugging&amp;quot; role, they might be tempted to think &amp;quot;Oh, it's just debugging, that's not so bad&amp;quot; when in fact it really is.</description></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#664821</link><pubDate>Thu, 13 Jul 2006 22:11:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:664821</guid><dc:creator>Vineet.Rao (MSFT)</dc:creator><description>What Dean has described is absolutely correct. While debugging you are allowed to perform a number of high privileged operations that are sysadmin level. For e.g. you can change the behavior of the application by modifying parameter values during T-SQL debugging (if the parameter is dynamic sql you can change it and execute anything). &lt;br&gt;Microsoft can either limit the kind of things you can do during debugging and thus allow a more granular permissioning model or be rich in debugging features and be tight on who can debug. &lt;br&gt;Andy, feel free to contact us with your requirements and we'll what we can do in future releases.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Vineet Rao&lt;br&gt;Program Manager&lt;br&gt;Microsoft SQL Server</description></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#665432</link><pubDate>Fri, 14 Jul 2006 12:01:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:665432</guid><dc:creator>Andy Ball</dc:creator><description>Chaps, &lt;br&gt;thanks a lot for posting back.&lt;br&gt;&lt;br&gt;Dean - you mention a debugging role as if its a mythical thing. SQL Server 2000 had the sp_sdidebug stored procedure where you could grant permissions to users / developers. &lt;br&gt;&lt;br&gt;I understand the security concern / access to memory point , but in reality average developer won't be figuring out how to hack sql server so he gets Sa access. &lt;br&gt;&lt;br&gt;Our requirements are that developers should be able to debug TSQL on our development servers. These are well managed, standardised and therefore Local Admins \Sa access is forbidden. &lt;br&gt;&lt;br&gt;In Development environment , Developers will tend to have just dbo. &lt;br&gt;&lt;br&gt;I totally agree the point that granting Developers access to debugging on a Prod Server is a bad idea. We would only do this in very rare cases when an App Developer is 3rd / 4th Line support and requires debugging to troubleshoot a Production problem. This access would be temporary / managed under emergency control. &lt;br&gt;&lt;br&gt;The infrastructure / Dev setup I describe is pretty much standard at the 5 or 6 Financial Institutions I've worked here in the UK.&lt;br&gt;&lt;br&gt;thanks again, &lt;br&gt;Andy. </description></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#665501</link><pubDate>Fri, 14 Jul 2006 13:55:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:665501</guid><dc:creator>prabhupr</dc:creator><description>Adding a VISIO diagram explaining this would be of great help too.</description></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#682684</link><pubDate>Sat, 29 Jul 2006 20:47:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:682684</guid><dc:creator>pvmurty</dc:creator><description>great help for sysadmin</description></item><item><title>re: SQL Server 2005 Debugging Requirements</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#714736</link><pubDate>Wed, 23 Aug 2006 17:41:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:714736</guid><dc:creator>James Bennett</dc:creator><description>Nope SQL debugging has once again failed for me. I set up as described here. Sometimes it works and sometimes it doesn't. Doesn't matter that I haven't changed any settings. For the last few weeks no matter what I do it just refuses to work. Just make it reliable. The rest I don't care about. Hell all of your tools, just make them reliable. I'm fed up with using a tool one day and it doing one thing and then another day it doing another. Just make them always work in the same way, or if it is going to error at least make sure the error message has some relevance to the error that caused the fault. Oh I give up. No-one's interested in my rants (I know I'm not). I'll just go and debug this SP by hand, It will actually be quicker than the amount of time I have once again spent trying to get T-SQL debugging working. </description></item><item><title>Debugging stored procedures on SQL Server 2005</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#5134923</link><pubDate>Wed, 26 Sep 2007 06:43:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5134923</guid><dc:creator>jokiz</dc:creator><description>&lt;p&gt;My current task in our project is majorly in MSSQL. I wanted to debug a chain of stored procedures and&lt;/p&gt;
</description></item><item><title>T-SQL Debugger</title><link>http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx#8644217</link><pubDate>Tue, 24 Jun 2008 02:20:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8644217</guid><dc:creator>Troubleshooting and Tips - Cindy Gross</dc:creator><description>&lt;p&gt;&amp;amp;lt;p&amp;amp;gt;Many people have asked where the TSQL debugger is for SQL Server 2005.&amp;amp;lt;/p&amp;amp;gt; ...&lt;/p&gt;
</description></item></channel></rss>