[PD] How -d <n> command line option work

Antoine Villeret antoine.villeret at gmail.com
Fri Oct 10 21:29:53 CEST 2014


Thanks IOhannes for your reply

I would like to add a reference to it in puredata.info's command line
option page (which I guess already exist)
But puredata.info seems to be down again...

+
a
--
do it yourself
http://antoine.villeret.free.fr


2014-10-10 9:14 GMT+02:00 IOhannes m zmölnig <zmoelnig at iem.at>:
> On 10/09/2014 06:03 PM, Antoine Villeret wrote:
>> Hello,
>>
>> I'm wondering what the command line option '-d <n>' does.
>> I can see some print in terminal when running pd with '-d 1' or '-d 3' but
>> why '-d 2' doesn't do anything.
>> What's the number really means ?
>
> the "-d" is really there to debug the pd<->gui communication, as it
> allows you to monitor the messages sent from one process to the other.
>
> the actual number is an ORed accumulation of (two) flags that specify
> which direction you want to get printed to stderr:
>
> PD2GUI=0x01 // 1
> GUI2PD=0x10 // 2
>
> so
> $ pd -d 3
> indicates that you want see PD2GUI|GUI2PD communication (that is: see
> all communication that is going on between the two processes)
>
> with either 2 or 3 you should get *lots* of printout if you open a patch
> and move the mouse over it.
>
> gfrds
> IOhannes
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>



More information about the Pd-list mailing list