[Lazarus] Watches - 'Repeat Count' functionality.
mailinglists at geldenhuys.co.uk
Thu Feb 19 01:20:26 CET 2015
On 2015-02-18 17:08, Martin Frb wrote:
> how is b defined?
a: array[0..999] of integer;
b: array[0..100] of string;
for i := 0 to 999 do
a[i] := i;
// writeln('a = ', a);
for i := 0 to 99 do
b[i] := 'str' + IntToStr(i);
writeln('b = ', b); // <-- Breakpoint is set here
writeln('That''s all folks!');
> IIRC (need to check) repeat count cuts off at the boundaries of an array
No, the repeat count would have been well within the bounds of the array.
> Also, if you use the "detail pane" in watches. This had a bug,
No, didn't even know there was "detail pane". :)
I was just evaluating the latest debugging features in Lazarus IDE, and
comparing GDB and fpDebug output.
I also wanted to see if Lazarus IDE had something like Haiku's Debugger
has - Array Ranges. If it didn't (Repeat Count seems close), I thought I
might take a shot at implementing it. It doesn't seem too hard to
accomplish [please correct me if I am wrong].
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
More information about the Lazarus