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




Karleen has the best option, IMO, because the additional *SrcStmt is very useful for working out which source line a runtime error appears on. You can specify the *nodebugio and *srcstmt in the default compiler options as well.

But to add a little to everyone else's answers, the "indeterminate" in this statement: "need to hit f6 an indeterminable number of times" is easily explained by the number of fields on the file in the F-spec - the debugger stops for every single field read from the file. Don't ask me why, but it was always true until I started preventing debugIO as well.


-Paul


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of KBushard@xxxxxxxxxxxxxxxx
Sent: 07 June 2012 19:06
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] Fw: Debugging - stopping at F-Spec

Put this in your RPG program:

Hoption(*nodebugio : *srcstmt)


Karleen Bushard || IBM i Software Devloper || HOM Furniture, Inc ||
763.767.3777 || VM1777 || kbushard@xxxxxxxxxxxxxxxx
----- Forwarded by Karleen Bushard/HOM on 06/07/2012 01:03 PM -----

From: Jim Buck <jbuck1@xxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxx,
Date: 06/07/2012 01:01 PM
Subject: Re: [WDSCI-L] Debugging - stopping at F-Spec
Sent by: wdsci-l-bounces@xxxxxxxxxxxx



I'm running the debugger and whenever a file is used (Chain, Read, etc) the debugger goes to the f-spec of the file and I need to hit f6 an indeterminable number of times until the debugger goes back to next line of code. I seem to remember someone telling me that there is way to keep this from happening.. Any help would be appreciated.
Thanks,
Jim


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.