Robert Haas <robertmh...@gmail.com> writes: > On Fri, May 13, 2011 at 12:12 PM, Nick Raj <nickrajj...@gmail.com> wrote: >> Can you throw some light on how to debug contrib/cube code?
> On my system, if I configure --enable-debug, the contrib modules are > compiled with debug support as well. Depending on what platform you're using, it may be hard to get breakpoints in dynamically loaded modules to work. On many platforms it helps to make sure that the module is loaded before you attach to the backend process with gdb. To do that, you can either call one of its functions, or just do a manual LOAD command. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers