Skip site navigation (1) Skip section navigation (2)

Re: Debugger hung on dummy function

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Debugger hung on dummy function
Date: 2009-04-06 20:21:20
Message-ID: 49DA6440.3010707@enterprisedb.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Heikki Linnakangas wrote:
> Dave Page wrote:
>> Hi Heikki
>>
>> On Fri, Apr 3, 2009 at 4:43 PM, Heikki Linnakangas
>> <heikki(dot)linnakangas(at)enterprisedb(dot)com> 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
>> replacing null; with raise notice 'foo';. I'm not inclined to spend
>> the time fixing the first case at the moment as it seems unlikely to
>> ever cause anyone problems.
> 
> It's reproducible with any other function too, by stepping to the end of 
> the function.

Correction: not with *any* other function, but with any function with no 
arguments.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

In response to

pgadmin-hackers by date

Next:From: Dave PageDate: 2009-04-06 20:35:32
Subject: Re: Debugger hung on dummy function
Previous:From: Heikki LinnakangasDate: 2009-04-06 20:20:44
Subject: Re: Debugger hung on dummy function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group