• Subject: Re: STRDBG Question
  • From: Paul Jackson <paulgjackson@xxxxxxxxx>
  • Date: Wed, 14 Jul 1999 10:49:43 -0700 (PDT)

You could try compiling the CL program with
OPTION(*SRCDBG) and then use that pgm on the STRDBG
(with OPMSRC(*YES)).  When you get to the line where
the RPG calls are, try doing the "Step into" command
key.

I haven't tried this so I can't guarantee that it'll
work.  If not you may have to make the CL a CLLE
instead.

HTH

--- Brian Stapleton <brianstapleton@yahoo.com> wrote:
> Greetings All;
> 
> I have a CL program that calls 2 RPGLE programs and
> I would like to debug
> BOTH RPGLE programs in the same session.  
> 
> Is there a way to do this?
> 
> I am currently specifying both programs on the
> STRDBG command, and when
> the CL calls the first RPGLE program, I can debug
> just fine.  But when the
> RPGLE program ends and returns control to the CL
> program, and the CL
> program calls the second RPGLE program, the debugger
> does not catch the
> second program.
> 
> Any ideas?
>  
> (I am using the Step function, and we are on V4R2)
> 
> 
> ===
> Brian Stapleton
> BrianStapleton@yahoo.com
> 
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * *
> * * * * * * * * * * *
> * This is the RPG/400 Discussion Mailing List!  To
> submit a new         *
> * message, send your mail to
> "RPG400-L@midrange.com".  To unsubscribe   *
> * from this list send email to
> MAJORDOMO@midrange.com and specify       *
> * 'unsubscribe RPG400-L' in the body of your
> message.  Questions should *
> * be directed to the list owner / operator:
> david@midrange.com          *
> * * * * * * * * * * * * * * * * * * * * * * * * * *
> * * * * * * * * * * *
> 

===
Paul G.Jackson
IBM Certified Specialist - AS/400 RPG Programmer
Home: (425) 401-0224   paulgjackson@yahoo.com 
Work: (425) 313-8594   pjackson@costco.com    

Boycott Proctor & Gamble products-see http://www.pginfo.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...


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

This mailing list archive is Copyright 1997-2019 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].