Home » Eclipse Projects » Eclipse Platform » ant task debug
| | | | | |
Re: ant task debug [message #268259 is a reply to message #268218] |
Mon, 23 August 2004 13:14   |
Eclipse User |
|
|
|
Not necessarily.
With your Ant buildfile selection, right click > Run>Ant Build...
Go to the JRE tab and set the JRE you wish to use. The build must occur in
the separate VM for this way of debugging to work.
Specify the JRE you wish to use.
(specify these CORRECT VM args there as well..sorry about that)
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=
y,suspend=y,address=8000
HTH
Darins
"Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote in
message news:cgcut9$eva$1@eclipse.org...
> YES, it is....
> (Java 1.4.2_03)
>
> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> news:cgclpe$r67$1@eclipse.org...
> > What is JRE for ant build ? Is it global JRE in windows - preferences -
> java
> >
> > regards
> > Wolfgang Haug wrote:
> >
> > > I tried this, but if I want to start the Ant build I receive the
> message:
> > > "Could not create the Java virtual machine."
> > > What's wrong ?
> > > If I start without the vm parameter the build is running.
> > >
> > > Wolfgang
> > >
> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
> > > news:cg5d6i$qu0$1@eclipse.org...
> > >> If you mean step through the Java code that is behind the Ant task:
> > >>
> > >> On the JRE tab for your Ant build add the following VM args
> > >>
> > >>
> > >>
> > >>
> > >>
> > > "-Xdebug
> > > -Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
> > >> nd=y"
> > >> Start the Ant build. It will wait for a debug connection.
> > >> Start a Remote Java Application launch configuration using the port
> > >> specified about (8000 in this case)
> > >> Debug as normal (breakpoints, etc)
> > >>
> > >> HTH
> > >> Darins
> > >>
> > >> "snpe" <snpe@snpe.co.yu> wrote in message
> > >> news:cg5bi1$ono$1@eclipse.org...
> > >> > Is it possible in eclipse and how ?
> > >> >
> > >> > thanks
> > >>
> > >>
> >
>
>
|
|
|
Re: ant task debug [message #268293 is a reply to message #268259] |
Mon, 23 August 2004 17:32   |
Eclipse User |
|
|
|
when I do run -> ant build I get build direct , no dialog window
What is problem ?
regards
Darin Swanson wrote:
> Not necessarily.
> With your Ant buildfile selection, right click > Run>Ant Build...
> Go to the JRE tab and set the JRE you wish to use. The build must occur in
> the separate VM for this way of debugging to work.
> Specify the JRE you wish to use.
> (specify these CORRECT VM args there as well..sorry about that)
> -Xdebug -Xnoagent -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,server= y,suspend=y,address=8000
>
> HTH
> Darins
>
> "Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote in
> message news:cgcut9$eva$1@eclipse.org...
>> YES, it is....
>> (Java 1.4.2_03)
>>
>> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
>> news:cgclpe$r67$1@eclipse.org...
>> > What is JRE for ant build ? Is it global JRE in windows - preferences -
>> java
>> >
>> > regards
>> > Wolfgang Haug wrote:
>> >
>> > > I tried this, but if I want to start the Ant build I receive the
>> message:
>> > > "Could not create the Java virtual machine."
>> > > What's wrong ?
>> > > If I start without the vm parameter the build is running.
>> > >
>> > > Wolfgang
>> > >
>> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
>> > > news:cg5d6i$qu0$1@eclipse.org...
>> > >> If you mean step through the Java code that is behind the Ant task:
>> > >>
>> > >> On the JRE tab for your Ant build add the following VM args
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > > "-Xdebug
>> > > -Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
>> > >> nd=y"
>> > >> Start the Ant build. It will wait for a debug connection.
>> > >> Start a Remote Java Application launch configuration using the port
>> > >> specified about (8000 in this case)
>> > >> Debug as normal (breakpoints, etc)
>> > >>
>> > >> HTH
>> > >> Darins
>> > >>
>> > >> "snpe" <snpe@snpe.co.yu> wrote in message
>> > >> news:cg5bi1$ono$1@eclipse.org...
>> > >> > Is it possible in eclipse and how ?
>> > >> >
>> > >> > thanks
>> > >>
>> > >>
>> >
>>
>>
|
|
|
Re: ant task debug [message #268301 is a reply to message #268293] |
Mon, 23 August 2004 16:06   |
Eclipse User |
|
|
|
That would be because I said to use "Run>Ant Build..."
:-)
Darins
"snpe" <snpe@snpe.co.yu> wrote in message news:cgdfan$b87$1@eclipse.org...
> when I do run -> ant build I get build direct , no dialog window
> What is problem ?
>
> regards
> Darin Swanson wrote:
>
> > Not necessarily.
> > With your Ant buildfile selection, right click > Run>Ant Build...
> > Go to the JRE tab and set the JRE you wish to use. The build must occur
in
> > the separate VM for this way of debugging to work.
> > Specify the JRE you wish to use.
> > (specify these CORRECT VM args there as well..sorry about that)
> > -Xdebug -Xnoagent -Djava.compiler=NONE
> > -Xrunjdwp:transport=dt_socket,server= y,suspend=y,address=8000
> >
> > HTH
> > Darins
> >
> > "Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote in
> > message news:cgcut9$eva$1@eclipse.org...
> >> YES, it is....
> >> (Java 1.4.2_03)
> >>
> >> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> >> news:cgclpe$r67$1@eclipse.org...
> >> > What is JRE for ant build ? Is it global JRE in windows -
preferences -
> >> java
> >> >
> >> > regards
> >> > Wolfgang Haug wrote:
> >> >
> >> > > I tried this, but if I want to start the Ant build I receive the
> >> message:
> >> > > "Could not create the Java virtual machine."
> >> > > What's wrong ?
> >> > > If I start without the vm parameter the build is running.
> >> > >
> >> > > Wolfgang
> >> > >
> >> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
> >> > > news:cg5d6i$qu0$1@eclipse.org...
> >> > >> If you mean step through the Java code that is behind the Ant
task:
> >> > >>
> >> > >> On the JRE tab for your Ant build add the following VM args
> >> > >>
> >> > >>
> >> > >>
> >> > >>
> >> > >>
> >> > > "-Xdebug
> >> > > -Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
> >> > >> nd=y"
> >> > >> Start the Ant build. It will wait for a debug connection.
> >> > >> Start a Remote Java Application launch configuration using the
port
> >> > >> specified about (8000 in this case)
> >> > >> Debug as normal (breakpoints, etc)
> >> > >>
> >> > >> HTH
> >> > >> Darins
> >> > >>
> >> > >> "snpe" <snpe@snpe.co.yu> wrote in message
> >> > >> news:cg5bi1$ono$1@eclipse.org...
> >> > >> > Is it possible in eclipse and how ?
> >> > >> >
> >> > >> > thanks
> >> > >>
> >> > >>
> >> >
> >>
> >>
>
|
|
|
Re: ant task debug [message #268305 is a reply to message #268301] |
Mon, 23 August 2004 18:57   |
Eclipse User |
|
|
|
Darins,
I do run - > Ant Build and I don't get dialog with JRE tab
-ant current task execute direct
How I can dialog with tabs (JRE and other) with Run->Ant Build
regards
Darin Swanson wrote:
> That would be because I said to use "Run>Ant Build..."
> :-)
>
> Darins
>
> "snpe" <snpe@snpe.co.yu> wrote in message news:cgdfan$b87$1@eclipse.org...
>> when I do run -> ant build I get build direct , no dialog window
>> What is problem ?
>>
>> regards
>> Darin Swanson wrote:
>>
>> > Not necessarily.
>> > With your Ant buildfile selection, right click > Run>Ant Build...
>> > Go to the JRE tab and set the JRE you wish to use. The build must occur
> in
>> > the separate VM for this way of debugging to work.
>> > Specify the JRE you wish to use.
>> > (specify these CORRECT VM args there as well..sorry about that)
>> > -Xdebug -Xnoagent -Djava.compiler=NONE
>> > -Xrunjdwp:transport=dt_socket,server= y,suspend=y,address=8000
>> >
>> > HTH
>> > Darins
>> >
>> > "Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote in
>> > message news:cgcut9$eva$1@eclipse.org...
>> >> YES, it is....
>> >> (Java 1.4.2_03)
>> >>
>> >> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
>> >> news:cgclpe$r67$1@eclipse.org...
>> >> > What is JRE for ant build ? Is it global JRE in windows -
> preferences -
>> >> java
>> >> >
>> >> > regards
>> >> > Wolfgang Haug wrote:
>> >> >
>> >> > > I tried this, but if I want to start the Ant build I receive the
>> >> message:
>> >> > > "Could not create the Java virtual machine."
>> >> > > What's wrong ?
>> >> > > If I start without the vm parameter the build is running.
>> >> > >
>> >> > > Wolfgang
>> >> > >
>> >> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
>> >> > > news:cg5d6i$qu0$1@eclipse.org...
>> >> > >> If you mean step through the Java code that is behind the Ant
> task:
>> >> > >>
>> >> > >> On the JRE tab for your Ant build add the following VM args
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > > "-Xdebug
>> >> > >
-Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
>> >> > >> nd=y"
>> >> > >> Start the Ant build. It will wait for a debug connection.
>> >> > >> Start a Remote Java Application launch configuration using the
> port
>> >> > >> specified about (8000 in this case)
>> >> > >> Debug as normal (breakpoints, etc)
>> >> > >>
>> >> > >> HTH
>> >> > >> Darins
>> >> > >>
>> >> > >> "snpe" <snpe@snpe.co.yu> wrote in message
>> >> > >> news:cg5bi1$ono$1@eclipse.org...
>> >> > >> > Is it possible in eclipse and how ?
>> >> > >> >
>> >> > >> > thanks
>> >> > >>
>> >> > >>
>> >> >
>> >>
>> >>
>>
|
|
|
Re: ant task debug [message #268307 is a reply to message #268305] |
Mon, 23 August 2004 16:43   |
Eclipse User |
|
|
|
You must select "Ant Build..." (notice the three ellipsis after Ant Build).
This realizes the external tools lauch configuration dialog on that
configuration.
"Ant Build" runs the build with no configuration
HTH
Darins
"snpe" <snpe@snpe.co.yu> wrote in message news:cgdk9p$ie1$1@eclipse.org...
> Darins,
> I do run - > Ant Build and I don't get dialog with JRE tab
> -ant current task execute direct
>
> How I can dialog with tabs (JRE and other) with Run->Ant Build
>
> regards
> Darin Swanson wrote:
>
> > That would be because I said to use "Run>Ant Build..."
> > :-)
> >
> > Darins
> >
> > "snpe" <snpe@snpe.co.yu> wrote in message
news:cgdfan$b87$1@eclipse.org...
> >> when I do run -> ant build I get build direct , no dialog window
> >> What is problem ?
> >>
> >> regards
> >> Darin Swanson wrote:
> >>
> >> > Not necessarily.
> >> > With your Ant buildfile selection, right click > Run>Ant Build...
> >> > Go to the JRE tab and set the JRE you wish to use. The build must
occur
> > in
> >> > the separate VM for this way of debugging to work.
> >> > Specify the JRE you wish to use.
> >> > (specify these CORRECT VM args there as well..sorry about that)
> >> > -Xdebug -Xnoagent -Djava.compiler=NONE
> >> > -Xrunjdwp:transport=dt_socket,server= y,suspend=y,address=8000
> >> >
> >> > HTH
> >> > Darins
> >> >
> >> > "Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote
in
> >> > message news:cgcut9$eva$1@eclipse.org...
> >> >> YES, it is....
> >> >> (Java 1.4.2_03)
> >> >>
> >> >> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> >> >> news:cgclpe$r67$1@eclipse.org...
> >> >> > What is JRE for ant build ? Is it global JRE in windows -
> > preferences -
> >> >> java
> >> >> >
> >> >> > regards
> >> >> > Wolfgang Haug wrote:
> >> >> >
> >> >> > > I tried this, but if I want to start the Ant build I receive the
> >> >> message:
> >> >> > > "Could not create the Java virtual machine."
> >> >> > > What's wrong ?
> >> >> > > If I start without the vm parameter the build is running.
> >> >> > >
> >> >> > > Wolfgang
> >> >> > >
> >> >> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im
Newsbeitrag
> >> >> > > news:cg5d6i$qu0$1@eclipse.org...
> >> >> > >> If you mean step through the Java code that is behind the Ant
> > task:
> >> >> > >>
> >> >> > >> On the JRE tab for your Ant build add the following VM args
> >> >> > >>
> >> >> > >>
> >> >> > >>
> >> >> > >>
> >> >> > >>
> >> >> > > "-Xdebug
> >> >> > >
> -Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
> >> >> > >> nd=y"
> >> >> > >> Start the Ant build. It will wait for a debug connection.
> >> >> > >> Start a Remote Java Application launch configuration using the
> > port
> >> >> > >> specified about (8000 in this case)
> >> >> > >> Debug as normal (breakpoints, etc)
> >> >> > >>
> >> >> > >> HTH
> >> >> > >> Darins
> >> >> > >>
> >> >> > >> "snpe" <snpe@snpe.co.yu> wrote in message
> >> >> > >> news:cg5bi1$ono$1@eclipse.org...
> >> >> > >> > Is it possible in eclipse and how ?
> >> >> > >> >
> >> >> > >> > thanks
> >> >> > >>
> >> >> > >>
> >> >> >
> >> >>
> >> >>
> >>
>
|
|
|
Re: ant task debug [message #268318 is a reply to message #268259] |
Mon, 23 August 2004 17:34   |
Eclipse User |
|
|
|
Originally posted by: mark.melvin.dspfactory.com
This is definitely the tip of the day for me! I was wondering how in
the world I was going to debug my buildfiles and I stumbled across this
thread, and voila! It worked, and helped me solve a nasty bug. Is this
magical string of vmargs in the help somewhere? There is no wa I would
have ever figured this out...but I can be pretty thick at times...
Mark.
Darin Swanson wrote:
> Not necessarily.
> With your Ant buildfile selection, right click > Run>Ant Build...
> Go to the JRE tab and set the JRE you wish to use. The build must occur in
> the separate VM for this way of debugging to work.
> Specify the JRE you wish to use.
> (specify these CORRECT VM args there as well..sorry about that)
> -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=
> y,suspend=y,address=8000
>
> HTH
> Darins
>
> "Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote in
> message news:cgcut9$eva$1@eclipse.org...
>
>>YES, it is....
>>(Java 1.4.2_03)
>>
>>"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
>>news:cgclpe$r67$1@eclipse.org...
>>
>>>What is JRE for ant build ? Is it global JRE in windows - preferences -
>>
>>java
>>
>>>regards
>>>Wolfgang Haug wrote:
>>>
>>>
>>>>I tried this, but if I want to start the Ant build I receive the
>>
>>message:
>>
>>>>"Could not create the Java virtual machine."
>>>>What's wrong ?
>>>>If I start without the vm parameter the build is running.
>>>>
>>>>Wolfgang
>>>>
>>>>"Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
>>>>news:cg5d6i$qu0$1@eclipse.org...
>>>>
>>>>>If you mean step through the Java code that is behind the Ant task:
>>>>>
>>>>>On the JRE tab for your Ant build add the following VM args
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>"-Xdebug
>>>> -Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
>>>>
>>>>>nd=y"
>>>>>Start the Ant build. It will wait for a debug connection.
>>>>>Start a Remote Java Application launch configuration using the port
>>>>>specified about (8000 in this case)
>>>>>Debug as normal (breakpoints, etc)
>>>>>
>>>>>HTH
>>>>>Darins
>>>>>
>>>>>"snpe" <snpe@snpe.co.yu> wrote in message
>>>>>news:cg5bi1$ono$1@eclipse.org...
>>>>>
>>>>>>Is it possible in eclipse and how ?
>>>>>>
>>>>>>thanks
>>>>>
>>>>>
>>
>
>
|
|
|
Re: ant task debug [message #268321 is a reply to message #268318] |
Mon, 23 August 2004 18:19   |
Eclipse User |
|
|
|
Not in the help...we ran out of time for beefing up the Ant doc for 3.0.
But it is not special to Ant...these VM args are valid to remote debug any
VM session.
We have a deferred Ant enhancement to essentially set up a launch
configuration that would take care of these pesky details for you.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=24130
Darins
"Mark Melvin" <mark.melvin@dspfactory.com> wrote in message
news:cgdnnu$nd5$1@eclipse.org...
> This is definitely the tip of the day for me! I was wondering how in
> the world I was going to debug my buildfiles and I stumbled across this
> thread, and voila! It worked, and helped me solve a nasty bug. Is this
> magical string of vmargs in the help somewhere? There is no wa I would
> have ever figured this out...but I can be pretty thick at times...
>
> Mark.
>
> Darin Swanson wrote:
>
> > Not necessarily.
> > With your Ant buildfile selection, right click > Run>Ant Build...
> > Go to the JRE tab and set the JRE you wish to use. The build must occur
in
> > the separate VM for this way of debugging to work.
> > Specify the JRE you wish to use.
> > (specify these CORRECT VM args there as well..sorry about that)
>
> -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,serve
r=
> > y,suspend=y,address=8000
> >
> > HTH
> > Darins
> >
> > "Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote in
> > message news:cgcut9$eva$1@eclipse.org...
> >
> >>YES, it is....
> >>(Java 1.4.2_03)
> >>
> >>"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> >>news:cgclpe$r67$1@eclipse.org...
> >>
> >>>What is JRE for ant build ? Is it global JRE in windows - preferences -
> >>
> >>java
> >>
> >>>regards
> >>>Wolfgang Haug wrote:
> >>>
> >>>
> >>>>I tried this, but if I want to start the Ant build I receive the
> >>
> >>message:
> >>
> >>>>"Could not create the Java virtual machine."
> >>>>What's wrong ?
> >>>>If I start without the vm parameter the build is running.
> >>>>
> >>>>Wolfgang
> >>>>
> >>>>"Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
> >>>>news:cg5d6i$qu0$1@eclipse.org...
> >>>>
> >>>>>If you mean step through the Java code that is behind the Ant task:
> >>>>>
> >>>>>On the JRE tab for your Ant build add the following VM args
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>"-Xdebug
> >>>> -Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
> >>>>
> >>>>>nd=y"
> >>>>>Start the Ant build. It will wait for a debug connection.
> >>>>>Start a Remote Java Application launch configuration using the port
> >>>>>specified about (8000 in this case)
> >>>>>Debug as normal (breakpoints, etc)
> >>>>>
> >>>>>HTH
> >>>>>Darins
> >>>>>
> >>>>>"snpe" <snpe@snpe.co.yu> wrote in message
> >>>>>news:cg5bi1$ono$1@eclipse.org...
> >>>>>
> >>>>>>Is it possible in eclipse and how ?
> >>>>>>
> >>>>>>thanks
> >>>>>
> >>>>>
> >>
> >
> >
|
|
|
Re: ant task debug [message #268331 is a reply to message #268307] |
Mon, 23 August 2004 21:31  |
Eclipse User |
|
|
|
Thanks a lot, Darin
best regards
Darin Swanson wrote:
> You must select "Ant Build..." (notice the three ellipsis after Ant
> Build). This realizes the external tools lauch configuration dialog on
> that configuration.
> "Ant Build" runs the build with no configuration
>
> HTH
> Darins
>
> "snpe" <snpe@snpe.co.yu> wrote in message news:cgdk9p$ie1$1@eclipse.org...
>> Darins,
>> I do run - > Ant Build and I don't get dialog with JRE tab
>> -ant current task execute direct
>>
>> How I can dialog with tabs (JRE and other) with Run->Ant Build
>>
>> regards
>> Darin Swanson wrote:
>>
>> > That would be because I said to use "Run>Ant Build..."
>> > :-)
>> >
>> > Darins
>> >
>> > "snpe" <snpe@snpe.co.yu> wrote in message
> news:cgdfan$b87$1@eclipse.org...
>> >> when I do run -> ant build I get build direct , no dialog window
>> >> What is problem ?
>> >>
>> >> regards
>> >> Darin Swanson wrote:
>> >>
>> >> > Not necessarily.
>> >> > With your Ant buildfile selection, right click > Run>Ant Build...
>> >> > Go to the JRE tab and set the JRE you wish to use. The build must
> occur
>> > in
>> >> > the separate VM for this way of debugging to work.
>> >> > Specify the JRE you wish to use.
>> >> > (specify these CORRECT VM args there as well..sorry about that)
>> >> > -Xdebug -Xnoagent -Djava.compiler=NONE
>> >> > -Xrunjdwp:transport=dt_socket,server= y,suspend=y,address=8000
>> >> >
>> >> > HTH
>> >> > Darins
>> >> >
>> >> > "Wolfgang Haug" <Wolfgang.Haug[NO_SPAM]@vector-consulting.de> wrote
> in
>> >> > message news:cgcut9$eva$1@eclipse.org...
>> >> >> YES, it is....
>> >> >> (Java 1.4.2_03)
>> >> >>
>> >> >> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
>> >> >> news:cgclpe$r67$1@eclipse.org...
>> >> >> > What is JRE for ant build ? Is it global JRE in windows -
>> > preferences -
>> >> >> java
>> >> >> >
>> >> >> > regards
>> >> >> > Wolfgang Haug wrote:
>> >> >> >
>> >> >> > > I tried this, but if I want to start the Ant build I receive
>> >> >> > > the
>> >> >> message:
>> >> >> > > "Could not create the Java virtual machine."
>> >> >> > > What's wrong ?
>> >> >> > > If I start without the vm parameter the build is running.
>> >> >> > >
>> >> >> > > Wolfgang
>> >> >> > >
>> >> >> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im
> Newsbeitrag
>> >> >> > > news:cg5d6i$qu0$1@eclipse.org...
>> >> >> > >> If you mean step through the Java code that is behind the Ant
>> > task:
>> >> >> > >>
>> >> >> > >> On the JRE tab for your Ant build add the following VM args
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > > "-Xdebug
>> >> >> > >
>> -Xrundjwp:transport=dt_socket,address=locathost:8000,server= y,suspe
>> >> >> > >> nd=y"
>> >> >> > >> Start the Ant build. It will wait for a debug connection.
>> >> >> > >> Start a Remote Java Application launch configuration using the
>> > port
>> >> >> > >> specified about (8000 in this case)
>> >> >> > >> Debug as normal (breakpoints, etc)
>> >> >> > >>
>> >> >> > >> HTH
>> >> >> > >> Darins
>> >> >> > >>
>> >> >> > >> "snpe" <snpe@snpe.co.yu> wrote in message
>> >> >> > >> news:cg5bi1$ono$1@eclipse.org...
>> >> >> > >> > Is it possible in eclipse and how ?
>> >> >> > >> >
>> >> >> > >> > thanks
>> >> >> > >>
>> >> >> > >>
>> >> >> >
>> >> >>
>> >> >>
>> >>
>>
|
|
|
Goto Forum:
Current Time: Fri May 09 05:31:54 EDT 2025
Powered by FUDForum. Page generated in 0.31478 seconds
|