× 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.


  • Subject: Re: internactive source debugger, rggle
  • From: Richard Hartmann <rgh@xxxxxxxxxx>
  • Date: Thu, 30 Apr 1998 09:37:49 -0400

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 thread ...


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.