The debugger will not stop when the variable changes, even though it is set to do so.
We code our programs in Acubench 8.1.3 and runtime is 8.0 on a virtual machine. The program is compiled with -Ga (and I have even tried -Gd). When debugging the program, I have it set to break when the value of a variable changes, however the debugger does not stop.
From time to time, we load different sets of data onto the vm's for testing purposes, and sometimes the debugger will work correctly and stop when the variable changes value.
This leads me to believe that there is a file or something that controls whether the debugger will actually stop when the value changes. Does anyone know where to find this or how we can make sure the debugger will stop when the variable changes (when it is set to do so)?
RE: The debugger will not stop when the variable changes, even though it is set to do so.
Is the change happening in the program where you set the breakpoint? If you're referring to an external or linkage item, I don't believe the monitor "follows" in to other programs (it just breaks when control returns to the program where you set the monitor and the value is different). We also have not had any luck watching a data item with a variable subscript (eg: ITEM-A(X) ). The debugger also doesn't show you the value of a constant.