Examples_wxWidgets icon indicating copy to clipboard operation
Examples_wxWidgets copied to clipboard

Fix for Linux's version of StackTrace

Open Linar46 opened this issue 3 months ago • 2 comments

building source code wxWidgets mkdir buildgtk && cd buildgtk ../configure --with-gtk=3 --disable-shared --enable-debug --disable-optimise --enable-debug_gdb --enable-backtrace --enable-debugreport --without-subdirs make -j12 (number may be diff on your system check nproc)

cd ~ (home dir) echo "set debuginfod enabled on" > .gdbinit

...

CHECK MY REPO FOR FULL GUIDE. https://github.com/Linar46/StackTrace

Linar46 avatar Oct 10 '25 18:10 Linar46

I think you need to add this code to all CMAKE files by default:

set(CMAKE_BUILD_TYPE Debug)
add_compile_options(-g -O0 -rdynamic -no-pie -fno-omit-frame-pointer)
add_compile_definitions(wxDEBUG_LEVEL=2)

AND FOR LINUX MAKES THIS CODE: https://github.com/Linar46/StackTrace/blob/main/CMakeLists.txt

Linar46 avatar Oct 10 '25 18:10 Linar46

check prev commits, last updates(commits) not suited for real world debugging(too slow).

Linar46 avatar Oct 11 '25 08:10 Linar46