studio-web
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
Studio Web 用户指南
Last updated 2024年10月22日

Debugging web app projects

Debugging web app projects works in the same way as debugging other Studio Web projects.

To debug your web app project, expand the drop-down menu next to the testing button and select the On local machine option (to use a local robot), or the On cloud option (to use cloud robots). You can also use the Test step-by-step option to debug your project one activity at a time.
Note: Testing locally requires you to install and run UiPath® Assistant 2024.10.5 or newer.

If the app or any of its automations have errors, the test buttons will be greyed out until these errors are resolved. Apps and workflows with errors have a small red dot next to their names in the Project Explorer.

After selecting a test option, Studio Web will automatically build the app and the automation code behind it. After a short while, the app will open in a separate browser tab, and you can test its functionality.
Note: Make sure your browser's pop-up blocker is not preventing the app from opening.

While the app is running, you can switch back to the Studio Web designer. Notice that the web app project is now running in debug mode. You can now click and interact with the automations triggered by the app events and view their progress in the Output panel.



You can also set breakpoints on activities to see how automations are executed.

When a breakpoint is triggered in an automation, the app will pause execution with the message Paused in WorkflowName.xaml. You then have the option to stop or continue running the app.



Opening the Watches panel shows you the values of the variables up to the point where the execution reached the paused activity.

Select the Continue button from the top ribbon to continue running the entire workflow, or Next step to advance to the next step in your automation. Select Stop to end the debugging process and return to your web app project.

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。