When you are finished debugging, close the preview window or on the Debug menu, click Stop Debugging. On the Debug menu, click Continue or press F5. Interact with the form until a line of code containing a breakpoint is encountered. The project will be compiled and the form is displayed in the preview window. On the Debug menu, click Start Debugging or press F5. Set one or more breakpoints in your form code in the code editor by clicking the grey bar to the left of the line of code where you want to insert a breakpoint.Ī red circle is displayed and the line of code is highlighted to indicate that the runtime will pause at this breakpoint in your form code. Debugging in Preview Mode To debug an InfoPath project in Preview ModeĬreate or open an InfoPath managed code form template in Visual Studio 2012. For information about how to do that, see Log Values to a Field for Debugging. However, it is possible to log values to a field from code at run time to help with debugging a form template's business logic. This includes form templates that are compatible only with InfoPath, as well as those that are compatible with InfoPath and the Web browser using InfoPath Forms Services. It is not possible to debug form templates after they are deployed at run time from Visual Studio 2012.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |