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 ?
thanks
Antoine
-- do it yourself http://antoine.villeret.free.fr
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
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...
do it yourself http://antoine.villeret.free.fr
2014-10-10 9:14 GMT+02:00 IOhannes m zmölnig zmoelnig@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list