[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ajdt-dev] Remote debugging a Java app with load time weaving
|
Hi Andrew,
Good point. Sorry my mistake, I mixed the types. It is actually binary weaving with maven using Annotation syntax of AspectJ.
The woven jar will not have direct code in it, it will woven with maven\aspectj, created from an unwoven jar & an aspect jar.
Failure to break into files or even setting breakpoints, etc is bound to happen if using regular "Remote Java Application".
Regards
Amit
-----Original Message-----
From: ajdt-dev-bounces@xxxxxxxxxxx [mailto:ajdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Eisenberg
Sent: Wednesday, December 08, 2010 4:48 PM
To: ajdt-dev@xxxxxxxxxxx
Subject: Re: [ajdt-dev] Remote debugging a Java app with load time weaving
Since running an aspectj application is just like running a java
application, except with the addition of the aspectj agent, it should
be possible to start your application on the remote server as normal
with the proper vm args to enable remote debugging. Then in Eclipse,
you should be able to connect to the app using the standard java
remote debugging launch application.
I haven't tried this out, but I think it would work. Let me know your
experience.
On Wed, Dec 8, 2010 at 3:27 PM, Amit Chaudhary <amitch@xxxxxxxxxx> wrote:
> Hi,
>
> I found the help for debugging a local Java app with load time weaving,
> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.ajdt.doc.user/questions/usingajdt/debugging.htm
>
>
> But could not find any information on Remote debugging a Java app with load time weaving. It is a jar file used by a war file
with
> tomcat as the container.
>
> I tried web search, also exploring debug configurations, did not see anything similar to "Remote Java Application"
> Version, Eclipse Helios Release, AJDT Version: 2.1.0.e36x-release-20100630-1500, AspectJ version: 1.6.9.20100629172100
>
> Any pointers, feedback?
>
> Thanks
> Amit
>
>
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>
_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ajdt-dev