On Wed, 8 Mar 2006, Rich E wrote:
Does anyone know how to use ddd/gdb for debugging pd externals?I found a site that explained how to debug child processes that are used with fork(), but I don't know if this is the case at hand. If there is an easier way to debug externals, I'm willing to try it...but right now I'm using a million posts, which is getting annoying.
Externals are usually loaded inside of the same process, using dlopen() (which is implemented using mmap() on Linux). Some externals use fork() (either by themselves or through <pthread.h> functions) but most don't.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada