Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how to pull in GEF source for debugging?
how to pull in GEF source for debugging? [message #227974] Wed, 13 December 2006 16:16 Go to next message
Steinar Bang is currently offline Steinar BangFriend
Messages: 108
Registered: July 2009
Senior Member
Platform: Intel Pentium M, Ubuntu Dapper
eclipse 3.2.0,
GEF 3.2.1v20060921

Is there a way to pull in source bundles for GEF in such a way that
eclipse understands that it can use it to step into GEF objects and
methods during debugging?

If there was an option during initial GEF install, I missed it. And I
can't find any such option when I try to upgrade it.

I've googled a bit but haven't found anything. But then, what makes
eclipse find the source of eg. SDK classes during debugging, is
something of a mystery to me.

Thanx!


- Steinar
Re: how to pull in GEF source for debugging? [message #227984 is a reply to message #227974] Wed, 13 December 2006 19:06 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Steinar,

Best way is to download the GEF-SDK download zip. It includes the source and
will be automatically integrated into the Eclipse IDE.

Cheers...
Anthony

"Steinar Bang" <sb@dod.no> wrote in message
news:87ejr3vki7.fsf@bang.priv.no...
> Platform: Intel Pentium M, Ubuntu Dapper
> eclipse 3.2.0,
> GEF 3.2.1v20060921
>
> Is there a way to pull in source bundles for GEF in such a way that
> eclipse understands that it can use it to step into GEF objects and
> methods during debugging?
>
> If there was an option during initial GEF install, I missed it. And I
> can't find any such option when I try to upgrade it.
>
> I've googled a bit but haven't found anything. But then, what makes
> eclipse find the source of eg. SDK classes during debugging, is
> something of a mystery to me.
>
> Thanx!
>
>
> - Steinar
Re: how to pull in GEF source for debugging? [message #228036 is a reply to message #227984] Thu, 14 December 2006 07:39 Go to previous messageGo to next message
Steinar Bang is currently offline Steinar BangFriend
Messages: 108
Registered: July 2009
Senior Member
>>>>> "Anthony Hunter" <anthonyh@ca.ibm.com>:

> Best way is to download the GEF-SDK download zip. It includes the
> source and will be automatically integrated into the Eclipse IDE.

Thanx! I downloaded the GEF-SDK 3.2.1 zip, I unpacked it into the
eclipse directory, over the existing GEF jars, that were pulled in by
the eclipse software updates mechanism.

I'm still not able to step into the GEF code, though. I get "source
not found" errors and the .class file names displayed in the editor
tabs.

I've restarted eclipse after copying in the GEF SDK, and I've rebuilt
the project.

I've JADclipse installed to give me "source" for Java code I have to
source for. Could it be interfering here?
Re: how to pull in GEF source for debugging? [message #228044 is a reply to message #228036] Thu, 14 December 2006 08:04 Go to previous message
Steinar Bang is currently offline Steinar BangFriend
Messages: 108
Registered: July 2009
Senior Member
>>>>> Steinar Bang <sb@dod.no>:

> I've JADclipse installed to give me "source" for Java code I have to
> source for. Could it be interfering here?

Nope. All removing JADclipse did was remove the flakiness around
opening .class files. Now I consistently get "Class File Editor"
editors with "Source not found". But there's a tip there:

The JAR of this classfile belongs to the container 'Plug-in Dependencies'
To configure the source attachment, go directly to the corresponding
configuration page (fore example for for JREs go to 'installed JREs'
page in preferences).

Ah... I figured it out: since I need to use some other OSGi bundles I
was running with PDE target platform set to a directory containing the
eclipse runtime rsync'd in, as well as my extra bundles.

So I needed to do a new rsync of the eclipse runtime (including GEF),
and _then_ I had debugging.

Thanx, Anthony! :-)



- Steinar
Previous Topic:the problem of ZoomIn or ZoomOut button display in coolbar when open a editor.
Next Topic:Tools as Actions?
Goto Forum:
  


Current Time: Fri Apr 26 15:39:03 GMT 2024

Powered by FUDForum. Page generated in 0.03044 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top