Debugging new component in eclipse

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

Debugging new component in eclipse

Rizwan Sharif
Hi,
I am able to debug the ofbiz + components that comes with it but unable to
debug the component that I have added. When I call one of the services in
new component it runs successfully but does not break into the debugger. Is
there something I forgot to configure?

Rizwan
Reply | Threaded
Open this post in threaded view
|

Re: Debugging new component in eclipse

Jacques Le Roux
Administrator
Check, the file .classpath

Jacques

De : "Rizwan Sharif" <[hidden email]>
> Hi,
> I am able to debug the ofbiz + components that comes with it but unable to
> debug the component that I have added. When I call one of the services in
> new component it runs successfully but does not break into the debugger. Is
> there something I forgot to configure?
>
> Rizwan
>
Reply | Threaded
Open this post in threaded view
|

Re: Debugging new component in eclipse

Brett
In reply to this post by Rizwan Sharif
Rizwan,

You need to make sure your remote connection is setup in the same
eclipse project as the component you are debugging or it can miss it.
If you set it up this way you can also debug the default ofbiz code as
well because your project likely depends on it.

This problem occurs if you have multiple projects in eclipse using ofbiz.


Brett

On 8/6/07, Rizwan Sharif <[hidden email]> wrote:
> Hi,
> I am able to debug the ofbiz + components that comes with it but unable to
> debug the component that I have added. When I call one of the services in
> new component it runs successfully but does not break into the debugger. Is
> there something I forgot to configure?
>
> Rizwan
>
Reply | Threaded
Open this post in threaded view
|

Re: Debugging new component in eclipse

Rizwan Sharif
I am debugging ofbiz from within eclipse and I also added .classpath entry
related to components source but now I am getting error that javac is
missing just for my component, rest of the ofbiz is compiling without any
issue.

On 8/7/07, Brett Palmer <[hidden email]> wrote:

>
> Rizwan,
>
> You need to make sure your remote connection is setup in the same
> eclipse project as the component you are debugging or it can miss it.
> If you set it up this way you can also debug the default ofbiz code as
> well because your project likely depends on it.
>
> This problem occurs if you have multiple projects in eclipse using ofbiz.
>
>
> Brett
>
> On 8/6/07, Rizwan Sharif <[hidden email]> wrote:
> > Hi,
> > I am able to debug the ofbiz + components that comes with it but unable
> to
> > debug the component that I have added. When I call one of the services
> in
> > new component it runs successfully but does not break into the debugger.
> Is
> > there something I forgot to configure?
> >
> > Rizwan
> >
>