Debug the Standalone Stream insight Application

Answered Debug the Standalone Stream insight Application

  • 2012년 8월 8일 수요일 오전 5:01
     
     

    Hi,

    I have created one Standalone Stream insight Application, it contains one Stream insight Console Project(Main Project) and two Adapter Class libraries . i add those two class libraries as a reference project with main project.

    Even though i put a breakpoints for debugging purpose in class libraries(dll) , it wasn't hit by system ? Do i need to attach any processes or services to hit the break point ?

    how can i debug the class libraries in stream insight application?

    Can anyone help me to solve this issue ?

    Thanks in advance.

    Kajan.

모든 응답

  • 2012년 8월 8일 수요일 오후 2:24
     
     답변됨

    No, you don't need to attach any additional services or processes ... as long as your console project is using Server.Create() rather than Server.Connect() to host in-process. If you are hosting out-of-process with Server.Connect() you will need to attach to the host application, usually the StreamInsight service process.


    DevBiker (aka J Sawyer)
    Microsoft MVP - Sql Server (StreamInsight)


    Ruminations of J.net


    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.

    • 답변으로 표시됨 surenkajan 2012년 8월 9일 목요일 오전 9:45
    •  
  • 2012년 8월 9일 목요일 오전 9:50
     
     

    Thanks a lot DevBiker, Now it s working .

    I attached the process of Stream insight Instance (StreamInsightHost.exe) with my Solution.

    I think we have to copy all the dll as well as pdb files into Host folder to be hit by system. Am i right ?

  • 2012년 8월 9일 목요일 오후 2:42
     
     

    I'm not sure about the pdb's but you definitely have to copy the dlls.

    Typically, though, it's far easier to debug when hosting in-process.


    DevBiker (aka J Sawyer)
    Microsoft MVP - Sql Server (StreamInsight)


    Ruminations of J.net


    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.