Re: [Gimp-developer] gimp plugin and gdb?

2004-07-23 Thread Manish Singh
On Fri, Jul 23, 2004 at 06:15:03PM +1200, Joseph Heled wrote: While starting each plugin as a separate process has it's advantages, gdb interaction is certainly not one of them. For example, right now I bring the plugin dialog up, then look up in the process list for it, and attach it to

Re: [Gimp-developer] gimp plugin and gdb?

2004-07-23 Thread Philip
Joseph Heled wrote: But the real problem is that by the time the plugin dialog is up lots of interesting stuff has already happened. So, how can I debug run() itself in a reasonable way? (I can think of several ugly hacks to make run() stop and wait until I attach to it, but I still hope there

Re: [Gimp-developer] gimp plugin and gdb?

2004-07-23 Thread Joseph Heled
Exactly what I needed! Thanks a lot. I never wondered what's in that mysterious MAIN(). Now I know at least some of the answer :) -Joseph Manish Singh wrote: Check out the developer FAQ: http://developer.gimp.org/faq.html#id2778982 So yes, you overlooked some key things. ;) -Yosh