On Fri, Jan 24 2020, Bishop, John E via Dwarf-Discuss wrote: > With split lifetimes, the debugger can ask the user which of the > lifetimes the user wants to set. > > debugger-prompt> set A = 3 > Variable 'A' has more than one location. Choose which to set: > 1. The location used in lines 112 and 120 > 2. The location used in line 111 > 3. All locations > 4. None (no change) > debugger-sub-menu-prompt>
Can you clarify: (1) What if the user chose the first of these options and the program changed the variable multiple times between lines 112 and 120? Should the debugger suppress the program's changes to ensure that the variable stays at the given value until line 120? (2) Why does the user need to choose a location at all, instead of just using the location that matches the current PC? -- Andreas _______________________________________________ Dwarf-Discuss mailing list Dwarf-Discuss@lists.dwarfstd.org http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org