<?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 in VS 2005</title><link>https://www.infopathdev.com:443/forums/thread/14826.aspx</link><pubDate>Thu, 05 Oct 2006 14:55:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14826</guid><dc:creator>LaurieAPMarsh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14826</wfw:commentRss><description>Well at least I wasn't missing something simple.  Previewing a form from Visual Studio doesn't run in debug mode.  &lt;br /&gt;&lt;br /&gt;when I publish the debug version of the form and then attach to the process within VS, the breakpoints don't work.  Is there a trick to get the breakpoints to apply to the attached process?</description></item><item><title>Re: Debugging in VS 2005</title><link>https://www.infopathdev.com:443/forums/thread/14825.aspx</link><pubDate>Wed, 04 Oct 2006 18:30:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14825</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14825</wfw:commentRss><description>Hi Laurie,&lt;br /&gt;To debug InfoPath forms, I don't use the preview much. I usually publish a debug version of the form, open it, attach to the process using VS, and set breakpoints in the code that will get executed. Good luck!</description></item><item><title>Re: Debugging in VS 2005</title><link>https://www.infopathdev.com:443/forums/thread/14824.aspx</link><pubDate>Wed, 04 Oct 2006 18:07:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14824</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14824</wfw:commentRss><description>Hey Laurie,&lt;br /&gt;&lt;br /&gt;I know of no way to enable the save and other commands from the menu buttons while previewing the form from the designer. If you need to debug these particular instructions you could use thisXDocument.UI.Alert()s with the published form to help.  Also, you can preview your form with a particular XML file by going to File -&amp;gt; Preview Form -&amp;gt; With data file.&lt;br /&gt;&lt;br /&gt;I hope this helps, sorry to disappoint you about enableing the menu commands!</description></item><item><title>Debugging in VS 2005</title><link>https://www.infopathdev.com:443/forums/thread/12957.aspx</link><pubDate>Wed, 04 Oct 2006 14:52:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12957</guid><dc:creator>LaurieAPMarsh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12957</wfw:commentRss><description>I have hit the wall hard.  How do I configure either the solution or VS so that I can debug the form and have access to the File menu commands (i.e. Save, Open, etc.)?  &lt;br /&gt;&lt;br /&gt;I am writing code in the OnLoad event handler but can't ever start the form in the mode to open an existing xml file - it always opens a new form.  &lt;br /&gt;&lt;br /&gt;I am also writing code for the saving of the form and can't get these menu command enabled when I open the form in debugging mode from within VS.  They are always disabled.</description></item></channel></rss>