SQL Server Developer Center > SQL Server Forums > Data Mining > Analysis Services Plugin Debug
Ask a questionAsk a question
 

AnswerAnalysis Services Plugin Debug

  • Tuesday, March 20, 2007 8:54 PMantolik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

Answers

  • Tuesday, March 20, 2007 9:18 PMBogdan CrivatModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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

     

All Replies

  • Tuesday, March 20, 2007 9:18 PMBogdan CrivatModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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

     

  • Thursday, March 29, 2007 8:55 AMantolik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank You. It fully solved my problem! Smile
  • Saturday, June 27, 2009 9:38 AMMiha Vuk Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Sunday, July 12, 2009 3:56 PMVladimir Cupal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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