If you don't like to work entirely in the command line, there are several GUI frontends for GDB. This should one should work on Windows: https://www.gdbgui.com/ There is also a GDB frontend for VisualStudio: http://wingdb.com/
Also, it's possible to configure your IDE to run Pd in the debugger. E.g. in QtCreator I just had to add a custom executable to the "Run" step which points to the installed pd.exe/pd.dll.
If you want to debug Pd itself, then the Pd binaries must not have been stripped! Personally, I create the Pd package *once* with "make app" and then add a deploy step which simply copies the unstripped pd.dll into the /bin folder.
Christof
Gesendet: Montag, 07. Oktober 2019 um 17:14 Uhr
Von: "Henri Augusto Bisognini" <msndohenri@hotmail.com>
An: "Christof Ressi" <christof.ressi@gmx.at>
Betreff: RE: [PD-dev] How to use a debugger with PD on Windows
Thanks, Christof!
I'm so used to IDEs I've totally missed it.
Henri
De: Christof Ressi <christof.ressi@gmx.at>
Enviado: segunda-feira, 7 de outubro de 2019 11:43
Para: Henri Augusto Bisognini <msndohenri@hotmail.com>; pd-dev <pd-dev@lists.iem.at>
Assunto: Aw: [PD-dev] How to use a debugger with PD on Windows
With MSys2 you already have GDB installed. Just do:
> gdb --args pd [flags]
> run
when you get a segfault, type "bt" to get a backtrace :-). If you want to use breakpoints and stuff, just read the GDB manual.
Christof
Gesendet: Montag, 07. Oktober 2019 um 15:45 Uhr
Von: "Henri Augusto Bisognini" <msndohenri@hotmail.com>
An: "pd-dev@lists.iem.at" <pd-dev@lists.iem.at>
Betreff: [PD-dev] How to use a debugger with PD on Windows
Hi list!
I'm looking for some direction on how to set a debugger with Pure Data. I'm on windows using MinGW (MSys2) as described in
INSTALL.TXT.
Cheers,
Henri.
_______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev