All debug options are available when device is connected.
To debug the program on the device, click the Start Debugging button on the toolbar (menu item Debug – Start Debugging).
![]() |
Start Debugging button on the toolbar |
After that editor performs the following actions:
Builds the project.
If there are error messages during project building, debugging will be interrupted.
If there are error messages about incorrect device configuration during project building, you will be prompted to interrupt debugging (unless the message is disabled in the settings).
Proposes to upload the configuration to the device (if other is not selected in the settigns)*.
If accepted, configuration will be uploaded, after that device will be rebooted.
Uploads the program to the device.
Enters debug mode, stopping at the first executable function.
To debug the already working device, click the Connect to the Running Device button on the toolbar (Debug – Connect to the Running Device menu item).
![]() |
Connect to the Running Device button on the toolbar |
After that editor performs the following actions:
Proposes to download the configuration from the device (if other is not selected in the settigns)*.
Downloads the program from the device and opens in in the editor.
Starts program building, if there are error messages,connection will be interrupted.
Enters debug mode, while program will continue to be executed.