0

我有一个带有表值函数的SQL Server 2008 R2 CLR数据库项目。表值函数运行选择查询,以预制它的逻辑。我想在VS 2010中进行调试,这样我就可以遍历我的代码,但对于我来说,我无法弄清楚如何去做,而且我已经阅读了无数博客。在Visual Studio 2010中调试CLR表值函数

I have a test.sql file and I have set it as my default test script with a breakpoint in my CLR function. When I click the "Start Debugging" button from within my test script VS 2010 will go into not responding mode while it re-deploys my assembly and then after a few minutes VS 2010 will stop debugging with a message that it exited with code "0". It's like it never runs my code. 

我也曾尝试选择从服务器资源管理器的功能并单击“步入”上下文菜单上的选项,但我只是得到一个错误,远程调试是不是我们的开发服务器上设置。我是否需要启用远程调试,如果有的话,我该如何做才能让它正常工作。我已经呆了好几天了,而且我准备把我的头发拉出来。我甚至花了我的周末在这方面工作。请任何帮助,将不胜感激。

回答