Skip to content

Install debugger in container image

Andrei Muresan requested to merge build/install-debugger into develop

Context

We need to be able to debug our application when it runs inside the dev environment container.

Summary

Configured the Docker container image to install GDB during the image build process. The Makefile already compiles everything with debug info so there are no other changes necessary. You can run gdb ./bin/PulseFinding.exe in the container's command line to start the debugging session.

How was this tested?

Tested on the command line and everything worked well. @jroiseaux tried using VSCode's remote debugging feature and said it ran very slowly, but we're not sure yet if it was just because of her laptop's processing power.

Merge request reports

Loading