Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Setup debug in docker container
Setup debug in docker container [message #1822054] Wed, 26 February 2020 06:30
Eclipse UserFriend
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.
Previous Topic:Espressif IDF plugin problem
Next Topic:How to make a cloned c++/pydev editor tab appear right after the current tab
Goto Forum:
  


Current Time: Mon Jun 16 09:50:32 EDT 2025

Powered by FUDForum. Page generated in 0.05935 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top