<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/54449.aspx</link><pubDate>Mon, 03 May 2010 13:00:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54449</guid><dc:creator>sonisick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54449.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=54449</wfw:commentRss><description>&lt;p&gt;Hiliary,&lt;/p&gt;
&lt;p&gt;What&amp;#39;s even cooler is that if you use System.Diagnostics.Debugger.Break()&amp;nbsp; you don&amp;#39;t even have to open another Visual Studio Project&amp;nbsp; and &amp;quot;Attach to the Process&amp;quot;.&amp;nbsp; A Just in Time Debugger pops up.&amp;nbsp; The following explains that there are different API&amp;#39;s for the manual breakpoint and the System.Diagnostics.Debugger.Break()&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;a href="http://blogs.msdn.com/jmstall/archive/2006/07/03/managed-Vs-native-apis.aspx"&gt;&lt;font face="Consolas" size="3"&gt;http://blogs.msdn.com/jmstall/archive/2006/07/03/managed-Vs-native-apis.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/54417.aspx</link><pubDate>Fri, 30 Apr 2010 22:03:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54417</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54417.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=54417</wfw:commentRss><description>&lt;p&gt;Thanks so much for posting the details of what finally worked for you -- it is sure to help others!&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/54413.aspx</link><pubDate>Fri, 30 Apr 2010 20:14:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54413</guid><dc:creator>sonisick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54413.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=54413</wfw:commentRss><description>&lt;p&gt;Finally able to debug browser-enabled forms.&lt;/p&gt;
&lt;p&gt;Place a breakpoint in my code won&amp;#39;t work--I need the actual statement:&lt;/p&gt;
&lt;p&gt;System.Diagnostics.Debugger.Break()&lt;/p&gt;
&lt;p&gt;After having the Project in Debug Version and the pdb included--Attaching to the w3wp process and choosing managed code--it now works.&lt;/p&gt;
&lt;p&gt;thanks for your help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Stephan&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/53233.aspx</link><pubDate>Tue, 30 Mar 2010 14:11:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53233</guid><dc:creator>sonisick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=53233</wfw:commentRss><description>&lt;p&gt;Nahe aber keine Zigarre!!&lt;/p&gt;
&lt;p&gt;First my project is VSTA. Created from InfoPath by choosing Programming.&lt;/p&gt;
&lt;p&gt;I found out even though I had changed the configuration to Active(Debug)--the Debug File were not being produced.&lt;/p&gt;
&lt;p&gt;I got some help from a younger programmer twice as experience as me.&amp;nbsp; I&amp;#39;m not sure this is what caused my Debug Build to start working but under Build--there is an Advanced Option and on Debug Info I chose &amp;quot;full&amp;quot;.&lt;/p&gt;
&lt;p&gt;He also looked at the Configuration Manager and the project. The Active solution configuration is set for &amp;quot;Debug&amp;quot; and Active solution platform is &amp;quot;Any CPU&amp;quot;. &lt;/p&gt;
&lt;p&gt;I know I&amp;#39;m getting a pdb file. Infact, I wiped out all the release stuff.&amp;nbsp; I am sure I have a valid break point. I have debugged other wsp project.&lt;/p&gt;
&lt;p&gt;I also checked the source files for the published file being uploaded and it has a pdb with the dll.&lt;/p&gt;
&lt;p&gt;I am on a 64bit plattform. I go into Visual Studio and under tools and a attach to a process. Making sure &amp;quot;Managed Code&amp;quot; is checked. Then I try to open the form in the browser.&amp;nbsp; I have only one w3wp process showing.&amp;nbsp; The form works normally. My breakpoint was on the first statement in FormEvents_Loading:&amp;nbsp; &lt;/p&gt;
&lt;p&gt;string whichEnvironment=string.Empty;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again for your attention to detail. My German is terrible. My mother was German from arround Hanau.&lt;/p&gt;
&lt;p&gt;Please check out a blog I just started &lt;a href="http://www.infopathpainmanagement.com/"&gt;www.infopathpainmanagement.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/53208.aspx</link><pubDate>Mon, 29 Mar 2010 22:17:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53208</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=53208</wfw:commentRss><description>&lt;p&gt;Actually, the blog post itself shows a date of 2006. I think that the IP team blog has updated their theme to always show &amp;#39;2010&amp;#39; -- just a wee bit confusing given that they have published posts starting with IP 2003! I actually have tried this technique and never been successful, though -- don&amp;#39;t know if I have an issue or the post does... Probably safe to assume the problem is mine! : )&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/53207.aspx</link><pubDate>Mon, 29 Mar 2010 22:09:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53207</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=53207</wfw:commentRss><description>&lt;p&gt;OK, dann schauen wir mal nach dem Problem... :-)&lt;/p&gt;
&lt;p&gt;Well, you have to be absolutely sure, that the managed code is built (and saved) before you publish your form with the publishing wizard. If you set the breakpoint&amp;nbsp;please consider that&amp;nbsp;the red bullet point is &amp;quot;fully&amp;quot; painted&amp;nbsp;and not just a &amp;quot;ring&amp;quot;. In case that it is just a &amp;quot;ring&amp;quot; than you haven´t the same source-code in the built DLL and in the code editor window. Secondly, do you have a pdb-file in the /bin/debug directory? Have you developed your infopath form with the &amp;quot;Infopath&amp;quot;-Client or with &amp;quot;Visual Studio .Net&amp;quot; and the appropriate project template for infopath forms.&lt;/p&gt;
&lt;p&gt;By the way it is right that the instructions in the link related to Infopath 2010&amp;nbsp;--- but the way is absolut identical with Infopath 2007.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/53185.aspx</link><pubDate>Mon, 29 Mar 2010 13:32:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53185</guid><dc:creator>sonisick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=53185</wfw:commentRss><description>&lt;p&gt;Vielen Dank. I tried. I went though all the steps changing Configuration to Active Debug. Setting a BreakPoint. Uploading in Central Admin. Opening a Visual Studio Project. Attaching to a Managed Process.&lt;/p&gt;
&lt;p&gt;I set the breakpoint in FormEvent_Loading. Not Happens.&amp;nbsp; This is InfoPath 2007--I noticed the article was on InfoPath 2010.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks again,&lt;/p&gt;
&lt;p&gt;Stephan&lt;/p&gt;
&lt;p&gt;PS: I&amp;#39;m starting a blog tonight on &lt;a href="http://www.infopathpainmanagement.com/"&gt;www.infopathpainmanagement.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/53181.aspx</link><pubDate>Mon, 29 Mar 2010 11:32:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53181</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53181.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=53181</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the only way to debug business logic for browser-enabled forms deployed to InfoPath Forms Services is with &amp;quot;Microsoft Visual Studio .Net 2005/2008&amp;quot;. You can´t if you only have VSTA.&lt;/p&gt;
&lt;p&gt;If you own one of the above mentioned developer tools you can find more information here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa944831(VS.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa944831(VS.80).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/infopath/archive/2006/11/24/debugging-browser-forms.aspx"&gt;http://blogs.msdn.com/infopath/archive/2006/11/24/debugging-browser-forms.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/53178.aspx</link><pubDate>Mon, 29 Mar 2010 10:41:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53178</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=53178</wfw:commentRss><description>&lt;p&gt;i dont think there is any way, except the one you have said.&lt;/p&gt;</description></item><item><title>InfoPath 2007 -- Any way to use Visual Studio Debugger in Browser-Enabled Forms</title><link>https://www.infopathdev.com:443/forums/thread/53154.aspx</link><pubDate>Fri, 26 Mar 2010 16:43:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53154</guid><dc:creator>sonisick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=53154</wfw:commentRss><description>&lt;p&gt;I have been able to get the debugger to work in Form Preview by Choosing &amp;quot;F5-Start Debugging in VSTA Project&amp;quot;. Once I publish the form-I have no idea of how to get information besides writing debug statements to a form library I call event log.&lt;/p&gt;
&lt;p&gt;Is there anyway to debug managed code running in browser-enabled mode? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>