Обсуждение: Debug in postgresql using eclipse

Поиск
Список
Период
Сортировка

Debug in postgresql using eclipse

От
Rohit Goyal
Дата:
Hi All,

I followed http://wiki.postgresql.org/wiki/Working_with_Eclipse#Run_Configurations_in_Eclipse link to configure my eclipse for development in postgresql.

Now, I want to debug a function of btree.c file. I know how to start postgres server using eclipse. but i dont know how to debug that specific function. the function I want to debug is called whenever i create a new index.

Please guide!!

Regards,
Rohit Goyal

Re: Debug in postgresql using eclipse

От
amul sul
Дата:
Hi Rohit,

>I know how to start postgres server using eclipse
I think you started to debug the postmaster process, right?

Try to attached child process fork by this postmaster process(already attached).
follow further instruction  @
http://wiki.postgresql.org/wiki/Working_with_Eclipse#Debugging_with_child_processes

Regards,
Amul