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



Thanks for the tip, but that won't get me control over the program and
allow me to step through it like debug will, right?

John Furniss
Applications Programmer
Allied Machine & Engineering, Corp
Phone: 330-343-4283, ext. 8371
email: jfurniss@xxxxxxxxxxxxxxxxx
-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of ARojas@xxxxxxxxxxx
Sent: Monday, March 23, 2009 12:19 PM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Debug problems

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.

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

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.