I will add a new section "Debugging and Developing" to the wiki. And
fortunately, I have permission to edit the wiki (Thanks Orhan). When I have
the section created with content, I'll let the dev team know.

Regards,
-=e

On Mon, Aug 7, 2017 at 4:39 PM, Roman Shaposhnik <ro...@shaposhnik.org>
wrote:

> On Mon, Aug 7, 2017 at 2:46 PM, Ed Espino <esp...@apache.org> wrote:
> > While I was trying to track down the cause of MADLIB-1068, I managed to
> put
> > Postgres/MADlib under the debugger (gdb) and thought the configuration
> > would be of some help to someone. Essentially, I built postgres with the
> > following configure options:
> >
> > configure --enable-cassert --enable-debug --with-python
> >
> > I then was able to start a psql session and attach to the running session
> > with gdb. This allows one to set breakpoints, review variable values and
> > all the other cool gdb debugging techniques. There is a reasonable amount
> > of information one can find on using gdb and on the web. It was much
> easier
> > than I originally envisioned. If anyone needs assistance with the setup,
> > please don't hesitate to ping me.
>
> This is a pretty awesome tidbit! Any chance you can contribute it to the
> wiki?
>    https://cwiki.apache.org/confluence/display/MADLIB/
>
> Perhaps even a brand new section on Debugging and Developing?
>
> Thanks,
> Roman.
>



-- 
*Ed Espino*

Reply via email to