Debug MDX Procedure Based .NET in Visual Studio

本文介绍在Visual Studio中调试MDX过程的方法。通过将项目附加到Analysis Service进程(msmdsrv.exe),可以轻松加载所需的组件并设置断点进行调试。确保勾选了项目属性面板中的“启用SQL Server调试”选项。

It's really a piece of cake to debug MDX procedure in Visual Studio. It will be done just in only a few steps. In Visual Studio 2010(the same to VS2005 and VS2008), you should attach the MDX procedure project to the Analysis Service process(msmdsrv.exe), and then the assemblies which are needed will be loaded automatically. The specific MDX procedure will also be loaded by Analysis Service. Before debugging the procedure, at least one break point should be set in the procedure. Run the MDX code contain the procedure to start the debug. The execution flow will jump into Visual Studio and stop at the break point that is set before. There is one important tip, that is the checkbox of 'Enable SQL Server debugging' should be checked. The checkbox is in the debug tab of project property panel(just as shown below).

 

 

Chinese Edition of this article

转载于:https://www.cnblogs.com/SmartBizSoft/archive/2009/05/30/1492561.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值