Hallo, tim hat gesagt: // tim wrote:
I have a rather large patch running an installation. There is an errormessage flooding the pd window, something in the lines of 'urn doesn't understand floats' I have quite some urn objects scattered around the patch and subpatches. I suppose I have one urn somewhere receiving a float instead of a bang. What's the best way to find the offending one ?
The best way is "Find -> last error" but it sometimes doesn't find the error. A more complicated way would be to replace [urn] with a debugging abstraction, that also prints, what's coming into its inlets. [print $0-urn] can help with finding the right urn. And if you want to get fancy you make it a graph on parent abstraction that shows the value of $0 on the parent.
You could either use an "urn.pd" and try to disable [urn] by not loading it's library and/or moving the single external file out of the way temporarily, or use a different name like "urn_debug.pd" and replace all occurences of [urn] with the new abstraction's name. I recently posted a little Perl oneliner here to rename objects in Pd patches, search the archive for "perl".
Frank Barknecht _ ______footils.org_ __goto10.org__