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



for debugging purposes, you could use the conditioning indicators on every
C-Spec...

For example, put N69 in front of every c-spec, then run to the line you want
to start skipping and turn on 69...  Then run to the line you want to start
executing again and turn off 69...

Not pretty, but it would give you the opportunity to write a cool macro to
edit every line of your source (to add the N69), and it would be a great
conversation piece when someone comes behind you to edit your code :)

Of course, if you are going to edit the code, you could just throw in a big
IF around the questionable code...but that would not be as much fun...




-----Original Message-----
From: rob@dekko.com [mailto:rob@dekko.com]
Sent: Tuesday, November 20, 2001 2:13 PM
To: code400-l@midrange.com
Subject: Re: Skip in Debug



Yes, but I was hoping to, not just break, but to not even execute certain
lines of code.

Rob Berendt

==================
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin



                    berestet@ca.ibm.co
                    m                        To:     code400-l@midrange.com
                    Sent by:                 cc:
                    code400-l-admin@mi       Fax to:
                    drange.com               Subject:     Re: Skip in Debug


                    11/20/2001 11:20
                    AM
                    Please respond to
                    code400-l






'Run To Location' feature could be used to step through multiple lines
of code without breaking at each one.

Regards,
Vadim Berestetsky
Internet:  berestet@ca.ibm.com


rob@dekko.com@midrange.com on 11/20/2001 09:38:17 AM

Please respond to code400-l@midrange.com

Sent by:  code400-l-admin@midrange.com


To:   rpg400-l@midrange.com, code400-l@midrange.com
cc:
Subject:  Re: Skip in Debug



So, how does one do this in Code?

Rob Berendt

==================
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin



                    Troy.C.Dills@blum
                    .com                    To:     rpg400-l@midrange.com
                    Sent by:                cc:
                    rpg400-l-admin@mi       Fax to:
                    drange.com              Subject:     Skip in Debug


                    11/20/2001 07:09
                    AM
                    Please respond to
                    rpg400-l






Hi everyone

I just wanted to let you all know I found the answer to
my question about skipping lines of code in debug mode.
While you are in debug mode (STRDBG) and you don't want
to execute a line of code, you can go to the prompt and
type    Step X Over  X equals the number of lines you
want to skip.  Just thought some people might like to
know, if you use debug a lot like me (grin).
Thanks for your replies

Troy




Easiest way I've found, while debugging go down to
the line you want to continue at, hit F6 to set a
breakpoint, then hit F12.  All code will not be
traced be skipped until it hits your breakpoint.

Jim

-----Original Message-----
From: Troy.C.Dills@blum.com [mailto:Troy.C.Dills@blum.com]
Sent: Monday, November 19, 2001 9:10 AM
To: rpg400-l@midrange.com
Subject: Skip in Debug Mode


Hello Group

I'm using the STRDBG debug mode and was wondering if there is an
option to skip a line of code, via function key or what ever.  All
responses
will be greatly appreciated!

Thanks
Troy Dills
Julius Blum Inc.


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.




_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.





_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.