$darkmode
Elektra 0.11.0
|
Elektra can be debugged using gdb (either standalone or as part of an IDE like CLion).
To see the source files during debugging follow these steps:
cmake
: cmake -DCMAKE_BUILD_TYPE=DEBUG -DENABLE_DEBUG=on -DCMAKE_C_FLAGS=-O0 -g
LD_LIBRARY_PATH
to the path where libelektra was installed during make install
during step 1 (e.g. on Ubuntu 20.04.3 use export LD_LIBRARY_PATH=/usr/local/lib/elektra
). make install
again to apply your changes.