[Lazarus] Viewing stack content
Martin
lazarus at mfriebe.de
Thu Aug 9 21:43:41 CEST 2012
On 09/08/2012 16:14, Mark Morgan Lloyd wrote:
> Martin wrote:
>> If you wont words, and use laz trunk, instead of memory-dump, you can
>> set the watches "repeat count" to see multiple indexed elements,
>> following the given one.
>>
>> Then you can typecast ^word. The index is not in bytes, but whatever
>> the size of the specified type
>
> Thanks, I'll try that later. I noticed the checkbox on the non-trunk
> version on this machine, but it doesn't yet have any effect.
>
Checkbox? You mean edit?
http://wiki.lazarus.freepascal.org/IDE_Window:_Watch_list#Watch_Properties
> "Repeat Count"
>
> is implemented in Lazarus 1.1 (SVN, trunk). It can be used to get
> array slices. The watch specifies the first element of the array
> "A[7]" (must have an index). With a "Repeat count" of 20, this
> shows A[7] to A[26].
> It can also be used with a dynamic array (no index given). Then it
> specifies haw many elements to show, beginning with DynA[0]
>
A pointer, acts like an array, because it can be dereferenced using an index
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120809/31a24026/attachment-0003.html>
More information about the Lazarus
mailing list