Re: Debugger freeze

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Stefan Stefanov <stefanov(dot)sm(at)abv(dot)bg>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Debugger freeze
Date: 2016-02-12 13:45:13
Message-ID: CA+OCxowzU8-goSF6Nbwb9T+KQ5ir-USdr=BcNC=bc5S24fkrTw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi

On Thu, Feb 11, 2016 at 6:36 PM, Stefan Stefanov <stefanov(dot)sm(at)abv(dot)bg> wrote:

> Dear Sir or Madam,
> I am writing to report a bug in pgadmin III 1.22.0 running on Windows 7
> x64 connected to PostgreSQL 9.5.0 VC++ build 1800, 64 bit.
> To reproduce the bug create this trivial function using SQL query editor.
> The example is in "playground" schema.
>
> create function playground.dbg_test() returns void as
> $$
> declare
> i integer;
> t text;
> begin
> for i in 1 .. 100 loop
> t := 'XYZ' || to_char(i, '999');
> raise notice 'Round %', t;
> end loop;
> end;
> $$ language plpgsql;
>
> Right-click the function in Object browser then debug. Step a few times
> through the loop then take some time doing other things in pgadmin iii
> (browse data, run queries etc.) then return to the debug window and step
> again a few times. The debug window usually freezes (debug.png).
> Two locks remain (server status.png). The server may be cleared by
> cancelling the query of the global listener (pid 7748 in the example) but
> then pgadmin windows stop responding.
>
> This is preventing me from using the debugger and I need it badly.
>

I've tried to reproduce this but am unable, even letting my machine go into
powersave mode while the function is running.

Can anyone else reproduce?

Stefan, could it be that you're suffering from network disconnections?
pgAdmin 3 really doesn't like them, and unfortunately it's a hard problem
to fix given the current code structure (it's one of the things we're
fixing in pgAdmin 4 which is completely new).

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Crain, Andrew 2016-02-12 16:13:57 Re: PgAdmin III 1.22 crashes, bug riport
Previous Message Stefan Stefanov 2016-02-11 18:36:44 Debugger freeze