<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>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/</div>

<div> </div>

<div>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.</div>

<div>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.</div>

<div> </div>

<div>Christof</div>

<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Montag, 07. Oktober 2019 um 17:14 Uhr<br/>
<b>Von:</b> "Henri Augusto Bisognini" <msndohenri@hotmail.com><br/>
<b>An:</b> "Christof Ressi" <christof.ressi@gmx.at><br/>
<b>Betreff:</b> RE: [PD-dev] How to use a debugger with PD on Windows</div>

<div name="quoted-content"><!--P {
        margin-top: 0;
        margin-bottom: 0;
}
-->
<div>
<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);">Thanks, Christof!</div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);"> </div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);">I'm so used to IDEs I've totally missed it.</div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);"> </div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);">Henri</div>

<div>
<div id="appendonsend"> </div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);"> </div>

<hr style="display: inline-block;width: 98.0%;"/>
<div id="divRplyFwdMsg"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11.0pt;"><b>De:</b> Christof Ressi <christof.ressi@gmx.at><br/>
<b>Enviado:</b> segunda-feira, 7 de outubro de 2019 11:43<br/>
<b>Para:</b> Henri Augusto Bisognini <msndohenri@hotmail.com>; pd-dev <pd-dev@lists.iem.at><br/>
<b>Assunto:</b> Aw: [PD-dev] How to use a debugger with PD on Windows</font>

<div> </div>
</div>

<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>With MSys2 you already have GDB installed. Just do:</div>

<div> </div>

<div>> gdb --args pd [flags]</div>

<div>> run</div>

<div> </div>

<div>when you get a segfault, type "bt" to get a backtrace :-). If you want to use breakpoints and stuff, just read the GDB manual.</div>

<div> </div>

<div>Christof</div>

<div> 
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Montag, 07. Oktober 2019 um 15:45 Uhr<br/>
<b>Von:</b> "Henri Augusto Bisognini" <msndohenri@hotmail.com><br/>
<b>An:</b> "pd-dev@lists.iem.at" <pd-dev@lists.iem.at><br/>
<b>Betreff:</b> [PD-dev] How to use a debugger with PD on Windows</div>

<div>
<div>
<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);">Hi list!</div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);"> </div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);">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 <a href="https://github.com/pure-data/pure-data/blob/master/INSTALL.txt" target="_blank" title="https://github.com/pure-data/pure-data/blob/master/INSTALL.txt"> INSTALL.TXT</a>.</div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);"> </div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);">Cheers,</div>

<div style="font-family: Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);">Henri.</div>
_______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at <a href="https://lists.puredata.info/listinfo/pd-dev" target="_blank">https://lists.puredata.info/listinfo/pd-dev</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>