<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Debugging Infopath WebForms with Visual Studio 2008</title><link>https://www.infopathdev.com:443/forums/thread/58627.aspx</link><pubDate>Fri, 03 Sep 2010 06:10:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58627</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=58627</wfw:commentRss><description>&lt;p&gt;This is very difficult. You have to get symbols for the InfoPath Form Services and attach your debugger to the server process. Due to the difficulty, we have stopped doing this internally. In general, the best practice is not to write code in the form, but rather put the code in a Web service that can be more easily debugged. Sorry for the disappointing reply. I wish we had a better answer for you but sadly we don&amp;#39;t.&lt;/p&gt;</description></item><item><title>Re: Debugging Infopath WebForms with Visual Studio 2008</title><link>https://www.infopathdev.com:443/forums/thread/58571.aspx</link><pubDate>Thu, 02 Sep 2010 09:21:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58571</guid><dc:creator>Disha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58571.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=58571</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am facing the same problem. Did you manage to solve&amp;nbsp;it ? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance .&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Debugging Infopath WebForms with Visual Studio 2008</title><link>https://www.infopathdev.com:443/forums/thread/33843.aspx</link><pubDate>Tue, 04 Nov 2008 08:52:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33843</guid><dc:creator>zartr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=33843</wfw:commentRss><description>&lt;p&gt;hello everyone,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;has anyone ever managed to do that?&lt;/p&gt;&lt;p&gt;The problem is, I have both Visual Studio 2005 and Visual Studio 2008 installed. Infopath always launches VSTA (Visual Studio 2005) for Code editing tasks. That&amp;#39;s probably why I always end up without any debugging information in my manifest.xsf (there should be some kind of reference to the .pdb file I believe). Anyway.. I can&amp;#39;t go with Visual Studio 2005 because I don&amp;#39;t have the &amp;quot;Attach to Process...&amp;quot; menu item - which is probably because I don&amp;#39;t have a proper Visual Studio installation, just the very basic one that comes with SQL Server.&lt;/p&gt;&lt;p&gt;What&amp;#39;s my best option here? Install a proper VS 2005 version? Or get completely rid of it and force infopath to use Visual Studio 2008 instead? (I&amp;#39;d prefer the later choice but I&amp;#39;m not sure if it&amp;#39;s that easy to accomplish) Any insight?&lt;/p&gt;&lt;p&gt;tia&lt;/p&gt;&lt;p&gt;edit: Out of curiosity I tried uninstalling VS 2005... and miserably failed. It&amp;#39;s not listed in the installed applications view anymore.. but that doesn&amp;#39;t Infopath stop from still opening it without the tiniest complaint :-/&lt;/p&gt;&lt;p&gt;edit 2: Creating an Infopath Form Template within Visual Studio 2008 directly doesn&amp;#39;t solve my problem either. I can attach but I never hit my breakpoints. Although this time the .xsn contains a properly formed manifest file and the .pdb file. What am I doing wrong here :? Design, Build, Publish to share, Upload to Forms Library, Activate to SiteCollection and use it.&lt;br /&gt;I attach VS to all w3wp.exe processes and the breakpoints aren&amp;#39;t filled, just outlined :-/&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>