<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Debugging a custom DataSyncService plugin (Thread)</title><description> Hello,  Were using your SDK template to build a Defect Sync plug-in for HP Quality Center.  Since its a plugin running in a service, debugging presents some unique problems.  Any suggestions on attaching Visual Studios debugger so I can step through from breakpoints or thrown errors?  Thanks in advance,  Will Menton    </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/integrations/bug-trackers/1680.aspx</link><item><guid isPermaLink="false">threadId=1680</guid><author>Will Menton (william_menton@cinfin.com)</author><title>Debugging a custom DataSyncService plugin</title><description> Hello,  Were using your SDK template to build a Defect Sync plug-in for HP Quality Center.  Since its a plugin running in a service, debugging presents some unique problems.  Any suggestions on attaching Visual Studios debugger so I can step through from breakpoints or thrown errors?  Thanks in advance,  Will Menton    </description><pubDate>Fri, 26 May 2017 19:05:06 -0400</pubDate><a10:updated>2017-05-30T13:11:05-04:00</a10:updated><link>/Support/Forum/integrations/bug-trackers/1680.aspx</link></item><item><guid isPermaLink="false">messageId=3025</guid><author>Will Menton (william_menton@cinfin.com)</author><title> A couple of things Ive tried to no avail:   attaching Visual Studio to the DataSyncService (as Admi</title><description> A couple of things Ive tried to no avail:   attaching Visual Studio to the DataSyncService (as Admin)  using Debugger.Break() and Debugger.Launch()   The former does nothing, and the latter causes the service to crash without launching VS </description><pubDate>Tue, 30 May 2017 11:47:56 -0400</pubDate><a10:updated>2017-05-30T11:47:56-04:00</a10:updated><link>/Support/Forum/integrations/bug-trackers/1680.aspx#reply3025</link></item><item><guid isPermaLink="false">messageId=3026</guid><author>Will Menton (william_menton@cinfin.com)</author><title> Figured it out. For anyone else who comes this way with the same question:   On the SpiraTeam host </title><description> Figured it out. For anyone else who comes this way with the same question:   On the SpiraTeam host machine: Start VS as Admin and open the project  Put  Debugger.Launch();  in the constructor  public DataSync()   Build and deploy the debug build  Do not close the project (youll need the project already open as Administrator)  Start the Service  When the debug options pop up, choose the Admin session you already have running     </description><pubDate>Tue, 30 May 2017 13:11:05 -0400</pubDate><a10:updated>2017-05-30T13:11:05-04:00</a10:updated><link>/Support/Forum/integrations/bug-trackers/1680.aspx#reply3026</link></item></channel></rss>