error order when debug postgresql step by step?
HI,
I tried to debug PostgreSQL under Redhat with Eclipse.
I follew the guide ' Working with Eclipse ', and build the DB successfully.
http://wiki.postgresql.org/wiki/Working_with_Eclipse
However, when I debug the souce code step by step, I found it run in
the wrong order.
I think the cause maybe the share library and the source code do not match.
I have add MY_PG_INS_DIR/lib to LD_LIBRARY_PATH, but it does't work at all.
How can I do to make sure the right excute order when I debug step by step ?
Thank you for answering.
--
Best Wishes!
hom
hom <obsidianhom@gmail.com> wrote:
How can I do to make sure the right excute order when I debug step
by step ?
You may need to reduce the optimization level of your compile.
-Kevin
- export CFLAGS='-O0' may work for you.
On Tue, Mar 1, 2011 at 8:21 PM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
hom <obsidianhom@gmail.com> wrote:
How can I do to make sure the right excute order when I debug step
by step ?You may need to reduce the optimization level of your compile.
-Kevin
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
--
Ibrar Ahmed
It works!
Thanks Kevin and Lbrar!
:)
2011/3/1 Ibrar Ahmed <ibrar.ahmad@gmail.com>:
- export CFLAGS='-O0' may work for you.
On Tue, Mar 1, 2011 at 8:21 PM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:hom <obsidianhom@gmail.com> wrote:
How can I do to make sure the right excute order when I debug step
by step ?You may need to reduce the optimization level of your compile.
-Kevin
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers--
Ibrar Ahmed
--
Best Wishes!
hom