Re: Open unmatch source file when step into parse_analyze() in Eclipse? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Open unmatch source file when step into parse_analyze() in Eclipse?
Date
Msg-id 4D6FC153.2040800@enterprisedb.com
Whole thread Raw
In response to Open unmatch source file when step into parse_analyze() in Eclipse?  (hom <obsidianhom@gmail.com>)
Responses Re: Open unmatch source file when step into parse_analyze() in Eclipse?
List pgsql-hackers
On 03.03.2011 16:46, hom wrote:
> Hi,
>
>    I'm debug Postgresql with Eclipse under Redhat and I met a problem.
>
> when I step in then function parse_analyze(), Eclipse opened file
> src/backend/commands/analyze.c.
> But actually, function parse_analyze() should match the file
> src/backend/parser/analyze.c.
>
> So I found the execute order didn't match the source code.
>
> How can I make the Eclipse open the right file?

Hmm, seems like a bug in Eclipse debugger. I found this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=35960

In the next-to-last comment, Mikhail Khodjaiants suggests checking the 
"Search for duplicate source files" option in the launch configuration.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Quick Extensions Question
Next
From: Dimitri Fontaine
Date:
Subject: Re: Quick Extensions Question