eclipse-gdb

Started by Ravi Kiranalmost 12 years ago2 messagesgeneral
Jump to latest
#1Ravi Kiran
ravi.kolanpaka@gmail.com

hi,

How do we debug specific functions in gdb of eclipse.
Whenever I give break points in nodenestloop.c, it goes to main.c and
finally the process ends there, The control never comes back to
nodenestloop, how can we the proces constrained only to nodenestloop.

Thank you

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Ravi Kiran (#1)
Re: eclipse-gdb

Ravi Kiran <ravi.kolanpaka@gmail.com> writes:

Whenever I give break points in nodenestloop.c, it goes to main.c and
finally the process ends there, The control never comes back to
nodenestloop, how can we the proces constrained only to nodenestloop.

If gdb sort-of-works but seems to get confused about specific breakpoint
locations, try recompiling the program at optimization level -O0.

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general