|
Their currently exist two methods for debugging Java on the iSeries, one which is done locally on the 400, one which is done remotely from a Windows 32-bit PC: iSeries system debugger IBM DIstributed Debugger For the iSeries system debugger, if you do to http://publib.boulder.ibm.com/pubs/html/as400/v4r5/ic2924/index.htm and then expand (left-hand frame) Programming->Java->AS/400 Developer Kit for Java->Debugging, you will find information about using the system debugger to debug Java. Two methods of debugging exist: debugging a standalone Java program, and debugging Java code running in another process (such as a server). I quickly read through some of the information, and it may not be as detailed as you would like, but it should get you started. Note also that the information on debugging servlets is out of date. For the IBM Distributed Debugger, it is available with Visual Age for Java and also with the WebSphere Development Studio for iSeries (http://www-3.ibm.com/software/ad/wds400/). Don't let the WebSphere part of the name mislead you - these tools are for more than just WebSphere development. The distributed debugger is installed on your PC and provides a GUI for remotely debugging your code running on the 400. This debugger supports debugging many different languages (RPG, COBOL, C/C++, Java, etc) as does the system debugger. The distributed debugger also allows to debug a standalone Java program or Java code running in another process. The documentation that comes with the debugger includes speicfics on how to debug on the 400 (the distributed debugger allows debugging on non-iSeries platforms as well). Frances Stewart WebSphere Application Server for iSeries 400 IBM Rochester Glenn Holmer <gholmer@weycogrou To: java400-l@midrange.com p.com> cc: Sent by: Subject: Re: remote debugging java400-l-admin@mi drange.com 01/03/02 09:04 AM Please respond to java400-l Frances Stewart wrote: > These options are not currently supported on the iSeries. -Xdebug can be > passed in but has no effect I believe. -Xnoagent causes the JVM to fail as > an unsupported parameter I think. Then the preferred way to debug programs running on the iSeries is STRDBG, right? A brief description of how to use STRDBG against Java classes or a pointer to some specific information would be very helpful to those of us whose primary focus is not the AS/400. -- ____________________________________________________________ Glenn Holmer gholmer@weycogroup.com Programmer/Analyst phone: 414.908.1809 Weyco Group, Inc. fax: 414.908.1601 _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com 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 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.