I'm working on a large software project which makes use of the 'with' command and I am having difficulty with debugging.
Take the following code as an example:
with record do
begin
record_property = 'some value';
end;
If I am debugging this code and I want to see the value of record_property I have to add a watch on record.record_property, even if I am paused within the 'with' block. Is there a setting or add-on for Delphi 7 which allows the scope created by a 'with' block to carry over into the watch window?
This would make my life a lot easier as there are many cases of nested 'with' blocks which make it difficult to figure out how to add watches.