I always use the. DSPLY instruction inside of the RPG, something like:
'FIELD X:'. DSPLY. FIELDX. WW
Where WW is a dummy field of 1 character
In this the program will break, does not matter if is Interact or batch ir the subsystem that is runnig
----- Original Message -----
From: "John Furniss" [JFurniss@xxxxxxxxxxxxxxxxx]
Sent: 03/23/2009 12:05 PM AST
To: "MAPICS ERP System Discussion" <mapics-l@xxxxxxxxxxxx>
Subject: [MAPICS-L] Debug problems
Everyone,
I'm needing to get debug to work in both a Mapics User Exit
and simply a program that runs just a little 'behind the scenes'. By
using STRSRVJOB and STRDBG I am able to get a program to stop at my
breakpoints IF I am trying to stop a program that is getting called
directly from the browser, such as clicking on a radio button to run a
job. But, when I try to stop a program that is called from an Integrator
subscription or a user exit, it will not stop at my breakpoints.
In the archives, I found where someone suggested using
DSPMODSRC to set breakpoints but that doesn't work either. I'm getting
seriously frustrated with this. Can anyone tell me how to get my
debugger to stop when using a subscription and/or user exit.
Any help is much appreciated (as always)
John Furniss
Applications Programmer
Allied Machine & Engineering, Corp
Phone: 330-343-4283, ext. 8371
email: jfurniss@xxxxxxxxxxxxxxxxx
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.