Debug the Standalone Stream insight Application

Category: sql server streaminsight


surenkajan on Wed, 08 Aug 2012 05:01:21


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.



DevBiker on Wed, 08 Aug 2012 14:24:19

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.

surenkajan on Thu, 09 Aug 2012 09:50:15

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 ?

DevBiker on Thu, 09 Aug 2012 14:42:27

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.