× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, that did it.

I would bet my life I tried that last night, I must have been messing
with one of the other parms at the same time.

Thanks


On Fri, 2004-06-11 at 09:14, Gary L Peskin wrote:
> Try the same command line except specify suspend=y.  This will stop
> SomeClass from running until the debugger is hooked in.  With suspend=n, you
> should still be able to connect while SomeClass is running but if it is a
> short-running class, it will be finished before you can get the Eclipse
> debugger set up.
> 
> Gary
> 
> > -----Original Message-----
> > From: java400-l-bounces@xxxxxxxxxxxx 
> > [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Upshall
> > Sent: Thursday, June 10, 2004 9:27 PM
> > To: Java Programming on and around the iSeries / AS400
> > Subject: Re: debug java program on AS400
> > 
> > 
> > Can anybody offer some detailed steps?
> > 
> > I have been following the examples but I cannot get the 
> > debugger to connect.
> > 
> > I am using Eclipse 3 debugger and running my class on iSeries v5R2M0.
> > 
> > When I try and start the debugger on the Eclipse side I get 
> > an error "Unable to connect to JVM".
> > 
> > I run the java class with:
> > 
> >       java -interpret -Xrunjdwp:transport=dt_socket,
> >      address=8000,server=y,suspend=n SomeClass
> > 
> > But the class run to completion, how do I get it to halt and/or break 
> > on the sqh side so the Eclipse debugger can hook into it?
> > 
> > 
> > Robert
> > 
> > 
> > 
> > On Thu, 2004-06-10 at 19:19, David Gibbs wrote:
> > > Ashish Kulkarni wrote:
> > > > I am running this process on V5R2, i tried to use WDSc
> > > > but still could not debug the java process submited in batch and 
> > > > running in subsytem> Do i have to compile this java program on 
> > > > AS400, because i have compiled this java program on Windows
> > > > and created jar file and copied it to IFS system of
> > > > AS400..
> > > 
> > > No ... just invoke the java class with the appropriate parameters.
> > > 
> > > Check out http://java.sun.com/products/jpda/index.jsp for 
> > information 
> > > on
> > > how to use JPDA.
> > > 
> > > Obviously you'll need a Java debugger ... but WDSC provides that.
> > > 
> > > david
> > > 
> > > --
> > > All paid jobs absorb and degrade the mind.
> > > -Aristotle
> > > --
> > > This is the Java Programming on and around the iSeries / AS400 
> > > (JAVA400-L) mailing list To post a message email: 
> > > JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list 
> > > options,
> > > visit: http://lists.midrange.com/mailman/listinfo/java400-l
> > > or email: JAVA400-L-request@xxxxxxxxxxxx
> > > Before posting, please take a moment to review the archives
> > > at http://archive.midrange.com/java400-l.
> > > 
> > 
> > --
> > This is the Java Programming on and around the iSeries / 
> > AS400 (JAVA400-L) mailing list To post a message email: 
> > JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change 
> > list options,
> > visit: http://lists.midrange.com/mailman/listinfo/java400-l
> > or email: JAVA400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/java400-l.
> > 
> 
> 
> --
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
> mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.