Skip to main content
Version: ACAP version 4

Debugging

When developing ACAP applications it is possible to debug them while they run on the device. In the ACAP Native SDK examples there is an example called remote debug example demonstrating how to do this by using GNU Debugger (GDB) and Visual Studio Code. The example lists the prerequisites and walks you through how to build and start the dev container and upload the GDB server to the device. This allows you to remotely debug the application through Visual Studio Code's user interface, where you can set breakpoints, inspect variables during runtime, and more.