|
On Tuesday, April 28, 1998 11:03 PM, boothm@ibm.net [SMTP:boothm@ibm.net] wrote: > I am embarrassed to ask but..... hey, I don't know how to do this: > > How do I run the interactive debugger to debug an rpgle program? I get a > message saying it is an invalid type. > > I read the debug section in the rpgle manuals and it may have been > accurate but it wasn't helpful for me. > > thanx > Booth, The STRDBG command turns your debug mode for a program on for the AS/400 session. Set the breakpoints with F6 in your source. If there are other modules or programs that you need to set breakpoints, use F14 and then use option 1 to add the program/module to the list. Then use option 5 to display it. Set the breakpoints. If your program, updates database files, you will need to turn on the Update production files on the STRDBG command panel. Call the program the way you normally would. If you set the breakpoints right, you will stop at the breakpoints. To turn debug mode off in the AS/400 session, you need to run ENDDBG. Richard G. Hartmann AS/400 TCP/IP & Server Development Location: IBM Endicott Dept GZPA Location 257-3 M013 Phone: 607-752-6731 Tie-line: 852-6731 e-mail: Richard Hartmann/Endicott/IBM@IBMUS Internet: rgh@us.ibm.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.