Re: How to do the modular test

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: How to do the modular test
Дата
Msg-id 3ADA7A1B.951DD261@alumni.caltech.edu
обсуждение исходный текст
Ответ на How to do the modular test  (Werachart Jantarataeme <wjt@ziif.com>)
Список pgsql-hackers
>    What I would like to know is, if I have changed some ot the modules,
> how can I use GNU gdb to debug the modified codes?

You can run the backend directly from gdb:
$ gdb postgres(set breakpoint)> b <routine_to_breakpoint>(tell gdb to begin)> run -D <path_to_database>(enter query at
prompt)> select xyz from abc...(will run until it hits the breakpoint(s))
 
                  - Thomas


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [PATCHES] Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)