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



Dan,
        Here is the actual scenario.


This is a MAPICS User Exit program that is used to call other programs. Now
All the Mapics stuff is interactive until you press the execute button and
it goes out and does it's stuff then call the user exit. At that point I
call a small program called DBGWAIT which pauses the user exit so that I can
get into it and start debugging. It is still under control of the active
session. I don't know any other way to get the user exit to go into debug
without the pause.

        These are all rpg400 programs so I can't use WDSC.  


Bob 

-----Original Message-----
From: rpg400-l-bounces+banderson=kentwatersports.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+banderson=kentwatersports.com@xxxxxxxxxxxx] On
Behalf Of Dan
Sent: Wednesday, December 21, 2005 2:41 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Dumb debug question of the week.

On 12/21/05, Bob Anderson <banderson@xxxxxxxxxxxxxxxxxxx> wrote:
>
> I have an interactive session going that I want to debug. The job has 
> a call to a program called DBGwait which puts it into a wait state. 
> When I start My iSeries Distributed Debugger it just keeps sitting 
> there when I give it the job name of my interactive session.
>
>         The program has been compiled with *SRCDBG
>
> Anybody have a clue what I am doing wrong


Not sure, since I've never used iSeries Distributed Debugger, but since I
don't see any response to your post, I'll just ask some basic questions.

Why are you doing a "wait state"?  Can't you start the debugger for the
interactive job first before running the program you're trying to debug?
That's how the green-screen debugger works anyway.

A simple google turned up
http://www.itjungle.com/mpo/mpo073103-story02.html.  I didn't bother to read
it, but it looked like it might have the kind of information you're looking
for.

- Dan
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-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.