I am trying to make changes to Darktable (fix an open issue), but I don’t have a lot if experience with C as a language. I cloned the github repository (on Linux) and now my process is this:
Add some printfs to the code, so I see what is going on,
run ./build.sh,
run ./build/bin/darktable,
click around and see the output of my printfs.
Since the code I work on (masking) is pretty complicated, I am getting to the limits of this workflow, especially since I need to inspect more complex data structures.
Are there any developers here, who can give a short explanation on how to debug Darktable with VS Code, so I have breakpoints etc. available?