[kicad] New to KiCAD dev, how can I check symbols in GDB, and check wxLog?

2023-03-26 Thread Y. HB (sprhawk)
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

[kicad] Re: New to KiCAD dev, how can I check symbols in GDB, and check wxLog?

2023-03-26 Thread Y. HB (sprhawk)
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=D

[kicad] Re: New to KiCAD dev, how can I check symbols in GDB, and check wxLog?

2023-03-26 Thread Y. HB
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) wrote: > > For Q2, I

Re: [kicad] Re: New to KiCAD dev, how can I check symbols in GDB, and check wxLog?

2023-03-26 Thread Seth Hillbrand
Looks like you found your answers already but just to check, did you get them both answered? Seth On Sun, Mar 26, 2023, 9:40 AM Y. HB wrote: > 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 comman

Re: [kicad] Re: New to KiCAD dev, how can I check symbols in GDB, and check wxLog?

2023-03-26 Thread Y. HB
Yes I did. Thanks I was struggling in these for days, but I found the solution in an hour after I posted questions On Mon, Mar 27, 2023 at 1:26 AM Seth Hillbrand wrote: > > Looks like you found your answers already but just to check, did you get them > both answered? > > Seth > > On Sun, Mar 26