debugging Groovy files in Eclipse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

debugging Groovy files in Eclipse

Mike Voytovich-2
Hi,

I'm trying to step through some OFBiz Groovy source files, and I'm unable to set breakpoints.  When I right click in the gutter, "(Groovy) Toggle Breakpoint" is an option, but it can never actually set a breakpoint.

I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus, version 2.0.0.

I'm building from the command-line, and can connect to the OFBiz remote VM and step through Java source just fine.

Does anyone know of any tricks required to get Groovy debugging working with OFBiz?

Thanks in advance,
-mike

Reply | Threaded
Open this post in threaded view
|

Re: debugging Groovy files in Eclipse

kgambrah
Hello Mike,
I am running Eclipse 3.5.1 with Groovy plugin version 1.5.6 without any
problem. It is important to also make sure that you are running Eclispe
in debugging mode. Are you able to set breakpoints in Java source files?

Regards,
Kojo Gambrah

Mike Voytovich wrote:

> Hi,
>
> I'm trying to step through some OFBiz Groovy source files, and I'm unable to set breakpoints.  When I right click in the gutter, "(Groovy) Toggle Breakpoint" is an option, but it can never actually set a breakpoint.
>
> I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus, version 2.0.0.
>
> I'm building from the command-line, and can connect to the OFBiz remote VM and step through Java source just fine.
>
> Does anyone know of any tricks required to get Groovy debugging working with OFBiz?
>
> Thanks in advance,
> -mike
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: debugging Groovy files in Eclipse

Brett
Kojo,

Does the Groovy plugin slowdown your eclipse environment?  I tried it a
while ago but it was continually rebuilding the projects and making eclipse
run slowly.  I finally had to uninstall the plugin.  Have the improved the
plugin with these newer releases?


Brett

On Wed, Feb 10, 2010 at 6:00 AM, <[hidden email]> wrote:

> Hello Mike,
> I am running Eclipse 3.5.1 with Groovy plugin version 1.5.6 without any
> problem. It is important to also make sure that you are running Eclispe in
> debugging mode. Are you able to set breakpoints in Java source files?
>
> Regards,
> Kojo Gambrah
>
>
> Mike Voytovich wrote:
>
>> Hi,
>>
>> I'm trying to step through some OFBiz Groovy source files, and I'm unable
>> to set breakpoints.  When I right click in the gutter, "(Groovy) Toggle
>> Breakpoint" is an option, but it can never actually set a breakpoint.
>>
>> I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus,
>> version 2.0.0.
>>
>> I'm building from the command-line, and can connect to the OFBiz remote VM
>> and step through Java source just fine.
>>
>> Does anyone know of any tricks required to get Groovy debugging working
>> with OFBiz?
>>
>> Thanks in advance,
>> -mike
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: debugging Groovy files in Eclipse

Jacques Le Roux
Administrator
Hi Brett,

I had the same problem for some times. This weekend I have upgraded to Eclipse 3.5  (from 3.4.2) and Groovy plugin 2.0 (from 1.7),
it seems to have disappeared

HTH

Jacques

From: "Brett Palmer" <[hidden email]>

> Kojo,
>
> Does the Groovy plugin slowdown your eclipse environment?  I tried it a
> while ago but it was continually rebuilding the projects and making eclipse
> run slowly.  I finally had to uninstall the plugin.  Have the improved the
> plugin with these newer releases?
>
>
> Brett
>
> On Wed, Feb 10, 2010 at 6:00 AM, <[hidden email]> wrote:
>
>> Hello Mike,
>> I am running Eclipse 3.5.1 with Groovy plugin version 1.5.6 without any
>> problem. It is important to also make sure that you are running Eclispe in
>> debugging mode. Are you able to set breakpoints in Java source files?
>>
>> Regards,
>> Kojo Gambrah
>>
>>
>> Mike Voytovich wrote:
>>
>>> Hi,
>>>
>>> I'm trying to step through some OFBiz Groovy source files, and I'm unable
>>> to set breakpoints.  When I right click in the gutter, "(Groovy) Toggle
>>> Breakpoint" is an option, but it can never actually set a breakpoint.
>>>
>>> I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus,
>>> version 2.0.0.
>>>
>>> I'm building from the command-line, and can connect to the OFBiz remote VM
>>> and step through Java source just fine.
>>>
>>> Does anyone know of any tricks required to get Groovy debugging working
>>> with OFBiz?
>>>
>>> Thanks in advance,
>>> -mike
>>>
>>>
>>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: debugging Groovy files in Eclipse

Abdullah Shaikh
In reply to this post by Brett
Brett, There is an option in Groovy preferences to disable groovy compiler,
I guess its related to groovy rebuilding projects because I have enabled
that option and groovy isn't rebuilding projects since then.

- Abdullah

On Wed, Feb 10, 2010 at 9:37 PM, Brett Palmer <[hidden email]>wrote:

> Kojo,
>
> Does the Groovy plugin slowdown your eclipse environment?  I tried it a
> while ago but it was continually rebuilding the projects and making eclipse
> run slowly.  I finally had to uninstall the plugin.  Have the improved the
> plugin with these newer releases?
>
>
> Brett
>
> On Wed, Feb 10, 2010 at 6:00 AM, <[hidden email]> wrote:
>
> > Hello Mike,
> > I am running Eclipse 3.5.1 with Groovy plugin version 1.5.6 without any
> > problem. It is important to also make sure that you are running Eclispe
> in
> > debugging mode. Are you able to set breakpoints in Java source files?
> >
> > Regards,
> > Kojo Gambrah
> >
> >
> > Mike Voytovich wrote:
> >
> >> Hi,
> >>
> >> I'm trying to step through some OFBiz Groovy source files, and I'm
> unable
> >> to set breakpoints.  When I right click in the gutter, "(Groovy) Toggle
> >> Breakpoint" is an option, but it can never actually set a breakpoint.
> >>
> >> I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus,
> >> version 2.0.0.
> >>
> >> I'm building from the command-line, and can connect to the OFBiz remote
> VM
> >> and step through Java source just fine.
> >>
> >> Does anyone know of any tricks required to get Groovy debugging working
> >> with OFBiz?
> >>
> >> Thanks in advance,
> >> -mike
> >>
> >>
> >>
> >
> >
>