|
Yuck, but Thank You!! -----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta Sent: Monday, December 18, 2006 2:31 PM To: 'Websphere Development Studio Client for iSeries' Subject: Re: [WDSCI-L] Debug - Step Over...
From: Turnidge, Dave It was my understanding that "Step Over" in debug would SKIP the line you were on; in other words, NOT go down into an EXSR, but continue debugging with the next line AFTER the EXSR.
No, step over steps over calls to procedures and other programs.
When I "Step Over", it actually steps INTO, and I process the subroutine...
Subroutine are not seen as procedures, but simply as gotos. A step over a GOTO will take you to the corresponding TAG statement.
Have I got something set wrong, or is this a bug that needs fixing?
Neither. It's just the way it works. I often wish that subroutines were handled the same way as procedures, but they aren't. My guess is that they compile down to a GOTO and the debugger can't tell the difference. But in any case, the only way to not execute the lines of a subroutine is to actually set a breakpoint on the line after the EXSR and do a Resume. Joe -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
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.