Re: Debug contrib/cube code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Debug contrib/cube code
Дата
Msg-id 937.1305306803@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Debug contrib/cube code  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, May 13, 2011 at 12:12 PM, Nick Raj <nickrajjain@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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Debug contrib/cube code
Следующее
От: Merlin Moncure
Дата:
Сообщение: hint bit cache v6