Dear Jan,
Am 01.05.21 um 12:13 schrieb Solarer:
I read the section on developing on the website and have 2 questions:
1) Do you prefer patches or pull requests?
I think, creating a pull request on GitHub is the preferred way.
2) Can somebody tell me (or at least point me to a good source) how I
can compile and run the code in an IDE, preferebly Codeblocks? So far I
edited the code in my IDE but for building I ran the build script
manually. My problem is that this does not allow me to set break points
and I really need those.
I can not say much specifically regarding Codeblocks. When I need to
debug dt, my workflow is the following:
* Build and install dt as described in
https://github.com/darktable-org/darktable#compile (Usually a release
build, sometimes a release build with debug information, rarely a debug
build. Debug builds are terribly slow, release builds more difficult to
debug due to missing debug information.)
* Start dt.
* Open dt sources into the ide (CLion in my case).
* Attach debugger to the running dt process.
Attaching a debugger to a running process may require to tweak some
kernel parameters depending on the Linux version, see
https://stackoverflow.com/questions/61388840/why-wont-codeblocks-attach-to-a-process
https://www.jetbrains.com/help/clion/attaching-to-local-process.html
Regards,
Heiko
--
-- Number Crunch Blog @ https://www.numbercrunch.de
-- Cluster Computing @ https://www.clustercomputing.de
-- Social Networking @ https://www.researchgate.net/profile/Heiko_Bauke
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org