Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to setup logic example for debugging in 3.x?
How to setup logic example for debugging in 3.x? [message #157600] Wed, 10 November 2004 21:26 Go to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

I am trying to debug the loic example to see how everything is now
working but am having difficulty with eclipse finding the classes and stuff.

How do I debug this? Do I need to create a plugin project and add the
source or something? Right now I added the jars to eclipse, then I
added the jars as libraries on my project with source. But eclipse
still cant find the source and I end up having to tell eclipse where it
is inside of the debugger.


I used to debugg this in 2.1 but for some reason I think the example was
not added to eclipse but to the project only. I thought I could disable
the installed plugin through the runtine-workbench launcher settings,
but that did not seem to work.

Im moving very slowly now and would appreciate any tips or advice!


--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: How to setup logic example for debugging in 3.x? [message #157664 is a reply to message #157600] Thu, 11 November 2004 13:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

CL [dnoyeb] Gilbert wrote:
> I am trying to debug the loic example to see how everything is now
> working but am having difficulty with eclipse finding the classes and
> stuff.
>
> How do I debug this? Do I need to create a plugin project and add the
> source or something? Right now I added the jars to eclipse, then I
> added the jars as libraries on my project with source. But eclipse
> still cant find the source and I end up having to tell eclipse where it
> is inside of the debugger.
>
>
> I used to debugg this in 2.1 but for some reason I think the example was
> not added to eclipse but to the project only. I thought I could disable
> the installed plugin through the runtine-workbench launcher settings,
> but that did not seem to work.
>
> Im moving very slowly now and would appreciate any tips or advice!
>
>

I think I accomplished this by adding the logic plugin jar as required
in a test plugin projects plugin.xml file.

--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: How to setup logic example for debugging in 3.x? [message #157750 is a reply to message #157664] Thu, 11 November 2004 22:24 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
The best way is to import the logic plugin into your workspace (with the
source) and then tell the PDE to use the one in your workspace for the
target platform. This'll also allow you to change the code and play around
with the logic example.

"CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
news:cmvnuk$tjl$1@eclipse.org...
> CL [dnoyeb] Gilbert wrote:
> > I am trying to debug the loic example to see how everything is now
> > working but am having difficulty with eclipse finding the classes and
> > stuff.
> >
> > How do I debug this? Do I need to create a plugin project and add the
> > source or something? Right now I added the jars to eclipse, then I
> > added the jars as libraries on my project with source. But eclipse
> > still cant find the source and I end up having to tell eclipse where it
> > is inside of the debugger.
> >
> >
> > I used to debugg this in 2.1 but for some reason I think the example was
> > not added to eclipse but to the project only. I thought I could disable
> > the installed plugin through the runtine-workbench launcher settings,
> > but that did not seem to work.
> >
> > Im moving very slowly now and would appreciate any tips or advice!
> >
> >
>
> I think I accomplished this by adding the logic plugin jar as required
> in a test plugin projects plugin.xml file.
>
> --
> Respectfully,
>
>
> CL Gilbert
>
> "Verily, verily, I say unto you, He that entereth not by the door() into
> the sheepfold{}, but climbeth up some other *way, the same is a thief
> and a robber." John 10:1
>
> GnuPG Key Fingerprint:
> 82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
>
> For a free Java interface to Freechess.org see
> http://www.rigidsoftware.com/Chess/chess.html
Re: How to setup logic example for debugging in 3.x? [message #157790 is a reply to message #157750] Fri, 12 November 2004 13:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

How does one 'import' the logic plugin into his workspace?


Pratik Shah wrote:
> The best way is to import the logic plugin into your workspace (with the
> source) and then tell the PDE to use the one in your workspace for the
> target platform. This'll also allow you to change the code and play around
> with the logic example.
>
> "CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
> news:cmvnuk$tjl$1@eclipse.org...
>
>>CL [dnoyeb] Gilbert wrote:
>>
>>>I am trying to debug the loic example to see how everything is now
>>>working but am having difficulty with eclipse finding the classes and
>>>stuff.
>>>
>>>How do I debug this? Do I need to create a plugin project and add the
>>>source or something? Right now I added the jars to eclipse, then I
>>>added the jars as libraries on my project with source. But eclipse
>>>still cant find the source and I end up having to tell eclipse where it
>>>is inside of the debugger.
>>>
>>>
>>>I used to debugg this in 2.1 but for some reason I think the example was
>>>not added to eclipse but to the project only. I thought I could disable
>>>the installed plugin through the runtine-workbench launcher settings,
>>>but that did not seem to work.
>>>
>>>Im moving very slowly now and would appreciate any tips or advice!
>>>
>>>
>>
>>I think I accomplished this by adding the logic plugin jar as required
>>in a test plugin projects plugin.xml file.
>>
>>--
>>Respectfully,
>>
>>
>>CL Gilbert
>>
>>"Verily, verily, I say unto you, He that entereth not by the door() into
>>the sheepfold{}, but climbeth up some other *way, the same is a thief
>>and a robber." John 10:1
>>
>>GnuPG Key Fingerprint:
>>82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
>>
>>For a free Java interface to Freechess.org see
>>http://www.rigidsoftware.com/Chess/chess.html
>
>
>


--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: How to setup logic example for debugging in 3.x? [message #157798 is a reply to message #157790] Fri, 12 November 2004 14:16 Go to previous message
Eclipse UserFriend
Originally posted by: gaslade.yahoo.com

One way would be:
Download the gef examples package and unzip it into you eclipse install
directory. So the new features and plugins should have been placed into
the correct default directories of your install.
Fire up the workspace, select File-->import-->External Plug-ins and
Fragments
On the next page take all defaults and hit next
On the next page hunt through the found plugins and select the
org.eclipse.gef.examples.logic plugin and hit the "add" button
Then hit the finish button.

Using the Package Explorer in the java perspective you can look through
the classes.

To debug....
Start a debug workspace up from the workspace you have currently going (
I am assuming that you know how to do this )
Create a simple project
right mouse click on the project and select new-->examples-->logic diagram
Back in your dev workspave you can place break points where you want and
trace through code.

Guy


CL [dnoyeb] Gilbert wrote:
> How does one 'import' the logic plugin into his workspace?
>
>
> Pratik Shah wrote:
>
>> The best way is to import the logic plugin into your workspace (with the
>> source) and then tell the PDE to use the one in your workspace for the
>> target platform. This'll also allow you to change the code and play
>> around
>> with the logic example.
>>
>> "CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
>> news:cmvnuk$tjl$1@eclipse.org...
>>
>>> CL [dnoyeb] Gilbert wrote:
>>>
>>>> I am trying to debug the loic example to see how everything is now
>>>> working but am having difficulty with eclipse finding the classes and
>>>> stuff.
>>>>
>>>> How do I debug this? Do I need to create a plugin project and add the
>>>> source or something? Right now I added the jars to eclipse, then I
>>>> added the jars as libraries on my project with source. But eclipse
>>>> still cant find the source and I end up having to tell eclipse where it
>>>> is inside of the debugger.
>>>>
>>>>
>>>> I used to debugg this in 2.1 but for some reason I think the example
>>>> was
>>>> not added to eclipse but to the project only. I thought I could
>>>> disable
>>>> the installed plugin through the runtine-workbench launcher settings,
>>>> but that did not seem to work.
>>>>
>>>> Im moving very slowly now and would appreciate any tips or advice!
>>>>
>>>>
>>>
>>> I think I accomplished this by adding the logic plugin jar as required
>>> in a test plugin projects plugin.xml file.
>>>
>>> --
>>> Respectfully,
>>>
>>>
>>> CL Gilbert
>>>
>>> "Verily, verily, I say unto you, He that entereth not by the door() into
>>> the sheepfold{}, but climbeth up some other *way, the same is a thief
>>> and a robber." John 10:1
>>>
>>> GnuPG Key Fingerprint:
>>> 82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
>>>
>>> For a free Java interface to Freechess.org see
>>> http://www.rigidsoftware.com/Chess/chess.html
>>
>>
>>
>>
>
>
Previous Topic:Canvas bounds and Figure bounds
Next Topic:obscure minor bug in PaletteStack.move / PaletteCustomizer
Goto Forum:
  


Current Time: Tue Apr 23 14:34:37 GMT 2024

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

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

Back to the top