Hmmm....I actually never use gdb too much becuase I'm too lazy to learn
:) (one of these days)...but I generally put in a lot of fprintf(stderr,
...)'s :)

On Thu, 30 Nov 2000, David Neary wrote:

> 
> Thanks Maneesh,
> 
> Now I really feel like an idiot - that worked a treat :)
> 
> As a matter of interest, what kind of techniques have people built up
> for debugging plug-ins? 
> 
> Cheers,
> Dave.
> 
> Maneesh Yadav wrote:
> > 
> > I think you need to allocate the return vals (the pointeryou get from the
> > args is to let you tell the caller where the return vals are...like this:
> > 
> > static GimpParam values[1];
> > 
> > *nreturn_vals = 0;
> >  *return_vals = values;
> >  values[0].type = GIMP_PDB_STATUS;
> >  values[0].data.d_status = GIMP_PDB_SUCCESS;
> > 
> 
> -- 
>               Dave Neary,
>       Software engineer, Informix Dublin.
>               Ireland.
>       Phone: +353-1-409-1357
> 

Reply via email to