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



Even with a fresh start, it happened again.  I checked the field just before the MOVEL and it was blank, I added a breakpoint a couple of lines later, and I hit F12.  It hit the breakpoint and not the watchpoint, and but the value was changed  to '1'.

Even stranger, I move the field to a screen field, display it with EXFMT, and then move it back.  Even if I don't change the field on the screen, I still trigger the watchpoint.  So it's as if the debugger is holding a cached value of CSSHAL and the MOVE into the data structure field is not updating that cached value.

It's really quite odd.  If I get time I'll trim it down to the bare essentials and see if it continues.


On 10/22/2019 9:24 PM, Joe Pluta wrote:
I got sidetracked while I was testing this, Booth, so I'm going to look at it again with a clear head in the morning.  It's certainly possible that this is user error and the field is not actually getting changed, so I'm going to be very careful about the testing.

On 10/22/2019 2:01 PM, Booth Martin wrote:
Would it make a difference if the value in position 1 is changed to the same value (a to a, z to z, 3 to 3), so there is no apparent change?

On 10/22/2019 1:32 PM, Joe Pluta wrote:
I have a program with a data structure:

     D                 DS
     D  XXPAR1                 1    200
     D  CSSPIC                 1      1
     D  CSIN52                 2      2
     D  CSIN53                 3      3

I have a watch on CSSPIC.  I MOVEL a value into XXPAR1 that has a value in position 1, but I don't trigger my watch point.

Is this a known behavior?




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.