Martin wrote:
On 09/08/2012 15:01, Mark Morgan Lloyd wrote:
Martin wrote:
If you mean raw memory

depends on cpu. Intel with esp, add a watch, set to memory dump:
  ^Byte($esp)[-20]

starts 20 bytes before esp

Thanks, I think that'll do. I'm trying to sort out a shared library call- the interface to the library is working properly but I suspect a higher-level shim is confusing a pointer and a value somewhere.


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.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to