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.

Happy MADilb Debugging,
-=e

-- 
*Ed Espino*

Reply via email to