Stepping in GEF code [message #39159] |
Mon, 04 November 2002 12:19  |
Eclipse User |
|
|
|
Originally posted by: truenoto.yahoo.com
How can I step into GEF code? I try attaching souce to the GEF jar files,
but that does not work.
Thanks in advance for any suggestion.
|
|
|
|
|
|
|
Re: Stepping in GEF code [message #39925 is a reply to message #39807] |
Tue, 05 November 2002 12:07   |
Eclipse User |
|
|
|
I was wrong in my last post. The logic example has the source in the same
directory as the runtime, but the rest of GEF does not. There is a separate
plugin called org.eclipse.gef.source which contains source for GEF and Draw2d.
This plugin is included in the SDK build.
GEF should be being build with the same options as JDT, so I'm assuming you'll
be able to step through it. I will check to make sure.
Eric
"Takumi Fujiwara" <truenoto@yahoo.com> wrote in message
news:aq8nfm$1f4$1@rogue.oti.com...
> Is the new SDK build wth debug option, if not we can't step thru the GEF
> code during debugging right?
>
> "Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
> news:aq8k55$um9$1@rogue.oti.com...
> > With the new SDK builds, the source is in a zip file in the same directory
> > as the runtime jar. This should make things a lot easier.
> >
> > Eric
> >
> > "Alexandre Vermeerbergen" <ave@ds-fr.com> wrote in message
> > news:aq8jgj$ub4$1@rogue.oti.com...
> > >
> > > "Takumi Fujiwara" <truenoto@yahoo.com> wrote in message
> > > news:aq68b5$qam$1@rogue.oti.com...
> > > > How can I step into GEF code? I try attaching souce to the GEF jar
> > files,
> > > > but that does not work.
> > > >
> > > > Thanks in advance for any suggestion.
> > >
> > > I did that too, and it work with me. My configuration:
> > > - Eclipse 2.0.1 on Windows 2000 SP3
> > > - Sun JDK 1.4.1
> > >
> > > As far as I remember, GEF source code was not packaged inside a JAR or
> ZIP
> > > file, so I just zipped the GEF's src/ directory, and pointed the
> debugger
> > > (when stepping into a GEF method) to that ZIP. Same trick for draw2d.
> > >
> > > It's probably not the official way things should be done, but I did not
> > > wanted to take too much time finding out the proper way!
> > >
> > > Alex.
> > >
> > >
> > >
> >
> >
>
>
|
|
|
|
Re: Stepping in GEF code [message #40015 is a reply to message #39954] |
Tue, 05 November 2002 13:36  |
Eclipse User |
|
|
|
I just downloaded this morning's GEF SDK build from
http://download.eclipse.org/tools/gef/downloads/ and unzipped it into my
development environment. Then I imported the logic example (plus any required
plugins). The source was found and debugging worked just fine. I did find that
if you don't unzip GEF into your development environment and just import it from
another location, the source isn't found. But you can easily attach the source
from the org.eclipse.gef.source plugin.
Eric
"Takumi Fujiwara" <truenoto@yahoo.com> wrote in message
news:aq8trj$5i8$1@rogue.oti.com...
> Yes, I have trouble stepping in the souce code of GEF when I am working on
> plugins using GEF.
> I am using Eclipse build 200210310859. and the latest GEF build.
>
> "Randy Hudson" <hudsonr@us.eye-bee-em.com> wrote in message
> news:aq8rpl$45r$1@rogue.oti.com...
> > If you unzip the SDK download on top of an Eclipse installation, and use
> the
> > PDE to import external plugins, you should see the source.
> >
> > Which build are you using? Are you having trouble seeing the source, or
> > setting breakpoints, or both?
> >
> > "Takumi Fujiwara" <truenoto@yahoo.com> wrote in message
> > news:aq68b5$qam$1@rogue.oti.com...
> > > How can I step into GEF code? I try attaching souce to the GEF jar
> files,
> > > but that does not work.
> > >
> > > Thanks in advance for any suggestion.
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04268 seconds