MSDN > 論壇首頁 > Data Mining > Analysis Services Plugin Debug
發問發問
 

已答覆Analysis Services Plugin Debug

  • 2007年3月20日 下午 08: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日 下午 09: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日 下午 09: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日 上午 08:55antolik 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Thank You. It fully solved my problem! Smile
  • 2009年6月27日 上午 09: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日 下午 03: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