Re: plpgsql debugger (pldbg) absent from 8.4? - Mailing list pgsql-hackers

From Dave Page
Subject Re: plpgsql debugger (pldbg) absent from 8.4?
Date
Msg-id 937d27e10903130630t7f250a72k156f0ffef32942@mail.gmail.com
Whole thread Raw
In response to plpgsql debugger (pldbg) absent from 8.4?  (Kev <kevinjamesfield@gmail.com>)
List pgsql-hackers
On Fri, Mar 13, 2009 at 1:19 PM, Kev <kevinjamesfield@gmail.com> wrote:
> On the 2009-01-01 win32 release, I noticed I could no longer debug,
> like when I'd set a breakpoint I'd immediately get the error message:
>
> syntax error at or near ","
> LINE 1: SELECT * FROM pldbg_set_global_breakpoint(, 55208, NULL,
> NUL...
>
> ...and the output pane of the debugger would show:
>
> row number 0 is out of range 0..-1
>
> Now, I noticed that pldbg.sql was not actually included (even though
> lib/pldbgapi.dll and lib/plugins/plugin_debugger.dll are), and I had
> been using the one from 8.3 to set it up.  I also noticed that for the
> function from the error message it just calls a C function, so I seem
> to have no way of working around it with just the .SQL file.
>
> Does anybody have this working on their system?  I hope in the final
> 8.4 at least that this feature is included again, because I find it
> extremely handy.

Temporary bug that's since been resolved. Sorry 'bout that.

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Kev
Date:
Subject: plpgsql debugger (pldbg) absent from 8.4?
Next
From: Kev
Date:
Subject: Re: plpgsql debugger (pldbg) absent from 8.4?