Microsoft 开发人员网络 > 论坛主页 > Data Mining > Analysis Services Plugin Debug
提出问题提出问题
 

已答复Analysis Services Plugin Debug

  • 2007年3月20日 20:54antolik 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi!

    I am working on an AS Algorithm Plugin . I want to debug it in the AS Server, but I cant figure out how it works. Now I every time install and deploy the plugin, but if I catch an exception, it just shows me the message, not the stack trace. Anyone, something friendlier method?

    Sorry for my poor English!

    Bye,
    Laci

答案

  • 2007年3月20日 21:18Bogdan Crivat版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    To debug, just attach the debugger to the msmdsrv.exe process.

    Do you use managed or native code to implement your plug-in? Also, are you using one of the samples or developing from scratch? If you provide more details, there could be some easier ways to catch errors

     

全部回复

  • 2007年3月20日 21:18Bogdan Crivat版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    To debug, just attach the debugger to the msmdsrv.exe process.

    Do you use managed or native code to implement your plug-in? Also, are you using one of the samples or developing from scratch? If you provide more details, there could be some easier ways to catch errors

     

  • 2007年3月29日 8:55antolik 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Thank You. It fully solved my problem! Smile
  • 2009年6月27日 9:38Miha Vuk 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi,

    I have followed your steps, but the beakpoint were not hit.
    Visual Studio shows "The breakpoint will not currently be hit. No symbols have been loaded for this document."
    I am working with MyCompany_Pairwise_Linear_Regression  (in native code)  from http://msdn.microsoft.com/en-us/library/ms345112(SQL.90).aspx.

    Thanks for help,
    Miha
  • 2009年7月12日 15:56Vladimir Cupal 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi, even if the breakpoint is not working and there is some problem in your code, the details of it will be displayed in debugging window of Visual Studio the moment Analysis services will try to use that part of code (for example Predict() method, when you try to run prediction DMX query using your algorithm).

    Vladimir Cupal