Skip to content

Debugging

Learn how to debug your custom widget without the need of the BeWidgets app.

TIP

If you want to run your widget straight from the BeWidgets app (not recommended when developing your widget), visit the Packaging page for more information.

Running the Debug Configuration

By running the Debug configuration the App.xaml with WidgetApplication as a parent class will simulate BeWidgets environment to enable running widgets without the need of the BeWidgets app. Using the Debug configuration you can use breakpoints, see any errors and command line output like with any other running application.

  1. Open your Custom Widget Project.
  2. In the configuration manager drop-down menu select Debug with the Unpackaged statup option.

IMPORTANT

Running the project with the Unpackaged startup option is MANDATORY, otherwise your widget could run incorrectly and you won't be able to package it!

Running the project

  1. Run the configuration.
  2. Now your Custom Widget should be running in the Debug configuration.

Custom widget running

Released under CC-BY-4.0