Hi Maduranga,

    Attaching Eclipse with Tomcat in jpda can truly make debug work, but
there's a problem when watching some variables with expression.
    To be specific, set a breakpoint at "*__log.info
<http://log.info>(__msgs.msgProcessRegistered(conf.getProcessId()));" *in
BpelServerImpl.register(ProcessConf) line: 331 ,then deploy a process.
Debug tool will suspend at the breakpoint and show the value of "this" and
"arg0" in the Varibale tab.
The "arg0" should be "conf", which is the formal parameter of this method ,
but the "conf" variable cannot display at the Expressions tab after you
type it.
The all it output is "*error(s)_during_the_evaluation*".
Regards
Chris

2015-03-24 18:57 GMT+08:00 Maduranga Siriwardena <
maduranga.siriward...@gmail.com>:

> Hi Chris,
>
> If your requirement is to debug the ODE code base, the approach mentioned
> by Tammo can be used.
> Deploy the war distribution of ODE (when you build the code base, it will
> be created in ode/axis2-war/target) in tomcat and start the tomcat with
> jpda. Then you can attach it to Eclipse and use debugging.
>
> Regards
> Maduranga
>
> On Tue, Mar 24, 2015 at 2:53 PM, ggchris...@gmail.com <
> ggchris...@gmail.com>
> wrote:
>
> > Hi,
> >         Is there any way transferring the ODE source project to J2EE web
> > project ?
> >         ODE is built with buildr instead of maven since v1.3.6, and the
> > pom.xml of project is for v 1.3.5.
> >         So I wonder whether the method transferring maven project to j2ee
> > project can apply to this issue.
> >         Lessen mentioned that debugging the project with Eclipse and
> > tomcat-jpda.
> >         But project imported to Eclipse is not a web project , I don't
> > know  how to run it.
> >
> > Thanks!
> >
> >
> > Chris Wong
> > ggchris...@gmail.com
> > State Key Laboratory of Networking and Switching Technology,BUPT
> >
>
>
>
> --
> Maduranga Siriwardena
> Undergraduate
> Department of Computer Science and Engineering
> Faculty of Engineering, University of Moratuwa.
>

Reply via email to