Finally, for Q1, I found this old post: https://www.mail-archive.com/kicad-developers@lists.launchpad.net/msg39655.html
So I just use run command in gdb to run application, then Ctrl-C break in gdb, then I can find my symbols On Mon, Mar 27, 2023 at 12:13 AM Y. HB (sprhawk) <sprh...@gmail.com> wrote: > > For Q2, I found I didn't register my tool in pcb_edit_frame.cpp. now it is > showing logs. > > On Sunday, March 26, 2023 at 11:52:19 PM UTC+8 Y. HB wrote: >> >> Hello there. >> I'm building KiCAD 7.0.1 tag under Debian Linux using following command: >> cmake -G Ninja -DKICAD_USE_EGL=ON -DCMAKE_BUILD_TYPE=Debug ../../ >> >> running with command: >> KICAD_RUN_FROM_BUILD_DIR=1 gdb pcbnew/pcbnew >> >> Questions: >> 1. I want to break in one PCB tool, eg, length_tuner_tool, but in gdb, i >> cannot find the symbol with prefix LENGTH_TUNER_TOOL >> 2. If I want to use wxLogDebug to show logs ( or how to enable DEBUG logging >> in wx ?) >> >> Thanks for help -- You received this message because you are subscribed to the Google Groups "KiCad Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to devlist+unsubscr...@kicad.org. To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/CADBJ%3DyHD7Xg3XRrXT9ms-npvSDg50vodq0x19piwiUKeYf2sFQ%40mail.gmail.com.