Setup debug in docker container [message #1822054] |
Wed, 26 February 2020 06:30 |
Eclipse User |
|
|
|
I have to debug a program which segfaults only under CentOS 7, and it would be handy for me to do it using the CentOS docker image of our CI where the segfault actually happens. In this image there is a custom CMake version installed in a non-system path so I'd need to source an environment setting file before the compilation starts, otherwise sh can't find the cmake executable:
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /home/mori/software/devel/EventAnalysis-forDocker
[Running in image <ea-centos7-debug-ready:latest>]
sh: cmake: command not found
cmake --build . -- -v
[Running in image <ea-centos7-debug-ready:latest>]
sh: cmake: command not found
I can't find any settings for this in my Eclipse version (Eclipse 2019-12 with CDT 9.10.0), am I missing something or maybe there's not support for this ATM?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.05935 seconds