Debugging Postgresql 9.3 with Eclipse CDT and GDB

Поиск
Список
Период
Сортировка
От venkateshwaran S
Тема Debugging Postgresql 9.3 with Eclipse CDT and GDB
Дата
Msg-id CAK-3PothiHs+pUvaxiPgURhGm+o_7vpH271G87zJKKNky1Rd=g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Debugging Postgresql 9.3 with Eclipse CDT and GDB  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice

Hi,
I need some help with attaching debugger to postgresql .

i am from java background and have used debugger in eclipse(java).

i have installed postgresql 9.3 as stated in this link: https://wiki.postgresql.org/wiki/Working_with_Eclipse

The debugger works fine for the server(which waits and accepts incoming client connections).

1. When i connect a client with: **$ psql test** .Does the server create a new thread for the client?

2. Is it possible to attach debugger and set breakpoints in parser.c or executor.c in postgresql source files so that i can analyse how postgresql queries are executed?

I have tried attaching debugger and set breakpoints in parser.c and executed some queries in the client.But it doesnt stop at the breakpoint.

Thanks in Advance

with regards,
Venkateshwaran S

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

Предыдущее
От: Eric Raskin
Дата:
Сообщение: Re: Help with search_path setting - can't create objects
Следующее
От: Hans Ginzel
Дата:
Сообщение: postgres_fdw connection string