Re: [PD] debugging complex extern

2018-04-12 Thread Dan Wilcox
your path. > On Apr 12, 2018, at 12:00 PM, pd-list-requ...@lists.iem.at wrote: > > Date: Thu, 12 Apr 2018 11:18:22 +0200 > From: David Medine <dmed...@ucsd.edu <mailto:dmed...@ucsd.edu>> > To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at> > Subject: Re: [PD] debuggi

Re: [PD] debugging complex extern

2018-04-12 Thread IOhannes m zmölnig
On 04/12/2018 01:11 PM, David Medine wrote: > After starting gdb --args etc. as in your example, and after calling run > I get this: > > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > Detaching after fork from child process 3889. >

Re: [PD] debugging complex extern

2018-04-12 Thread David Medine
After starting gdb --args etc. as in your example, and after calling run I get this: [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Detaching after fork from child process 3889. [New Thread 0x761ff700 (LWP 3891)] (Pd is on PID 3888

Re: [PD] debugging complex extern

2018-04-12 Thread IOhannes m zmölnig
On 04/12/2018 11:18 AM, David Medine wrote: > @Miller, no I hadn't. Thanks! I knew there was something like that I had > neglected. Now I am able to debug with gdb. > > @iohannes, I am still having trouble with this technique. If I run Pd > from the gdb prompt (with -nrt and -stderr) and a break

Re: [PD] debugging complex extern

2018-04-12 Thread David Medine
@Miller, no I hadn't. Thanks! I knew there was something like that I had neglected. Now I am able to debug with gdb. @iohannes, I am still having trouble with this technique. If I run Pd from the gdb prompt (with -nrt and -stderr) and a break point within the extern (meaning object not

Re: [PD] debugging complex extern

2018-04-11 Thread IOhannes m zmölnig
On 04/11/2018 07:03 PM, David Medine wrote: > I am trying to debug an extern on linux using gdb and this tutorial > (for MacOS > and some years old) does not work on my machine. In fact, I've tried > this a few times in the past with

Re: [PD] debugging complex extern

2018-04-11 Thread Miller Puckette
Did you add the two lines to m_conf.c ? cheers Miller On Wed, Apr 11, 2018 at 07:03:20PM +0200, David Medine wrote: > I am trying to debug an extern on linux using gdb and this tutorial > (for MacOS and > some years old) does not work

[PD] debugging complex extern

2018-04-11 Thread David Medine
I am trying to debug an extern on linux using gdb and this tutorial (for MacOS and some years old) does not work on my machine. In fact, I've tried this a few times in the past with little success. The watchdog just hangs when I break