Re: [pgadmin-hackers] Debugger hung on dummy function

2009-04-07 Thread Heikki Linnakangas
Dave Page wrote: On Tue, Apr 7, 2009 at 8:45 AM, Heikki Linnakangas wrote: When I choose "Debug" from the popup menu on the tree, on a functioon with no args but with real content that the debugger can stop on, the function execution is started and the debugger stops on the first line, as it sh

Re: [pgadmin-hackers] Debugger hung on dummy function

2009-04-07 Thread Dave Page
On Tue, Apr 7, 2009 at 8:45 AM, Heikki Linnakangas wrote: > When I choose "Debug" from the popup menu on the tree, on a functioon with > no args but with real content that the debugger can stop on, the function > execution is started and the debugger stops on the first line, as it should. > When I

Re: [pgadmin-hackers] Debugger hung on dummy function

2009-04-07 Thread Heikki Linnakangas
Dave Page wrote: On Mon, Apr 6, 2009 at 9:20 PM, Heikki Linnakangas wrote: It's reproducible with any other function too, by stepping to the end of the function. Which suggests that the problem occurs when the dialog is displayed for the 2nd time. What, the infinite loop happens the second t

Re: [pgadmin-hackers] Debugger hung on dummy function

2009-04-06 Thread Dave Page
On Mon, Apr 6, 2009 at 9:20 PM, Heikki Linnakangas wrote: > It's reproducible with any other function too, by stepping to the end of the > function. Which suggests that the problem occurs when the dialog is > displayed for the 2nd time. What, the infinite loop happens the second time, or it igno

Re: [pgadmin-hackers] Debugger hung on dummy function

2009-04-06 Thread Heikki Linnakangas
Heikki Linnakangas wrote: Dave Page wrote: Hi Heikki On Fri, Apr 3, 2009 at 4:43 PM, Heikki Linnakangas wrote: CREATE FUNCTION onelinefunc() RETURNS void AS $$ begin null; end; $$ LANGUAGE plpgsql; Debugging that won't work terribly well anyway, as the plugin will just skip the entire funct

Re: [pgadmin-hackers] Debugger hung on dummy function

2009-04-06 Thread Heikki Linnakangas
Dave Page wrote: Hi Heikki On Fri, Apr 3, 2009 at 4:43 PM, Heikki Linnakangas wrote: CREATE FUNCTION onelinefunc() RETURNS void AS $$ begin null; end; $$ LANGUAGE plpgsql; Debugging that won't work terribly well anyway, as the plugin will just skip the entire function iirc. For slightly sane

Re: [pgadmin-hackers] Debugger hung on dummy function

2009-04-06 Thread Dave Page
Hi Heikki On Fri, Apr 3, 2009 at 4:43 PM, Heikki Linnakangas wrote: > CREATE FUNCTION onelinefunc() RETURNS void AS $$ begin null; end; $$ > LANGUAGE plpgsql; Debugging that won't work terribly well anyway, as the plugin will just skip the entire function iirc. For slightly saner testing, try re