Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2017-01

Dynamic arrays in LLDB

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ingemar Ragnemalm

I am trying to debug an FPC program that uses dynamic arrays. (Don't them all?) It seems to me as if LLDB can not handle them. I get this error:

A1 is a dynamic array of Integers (SmallInt).

(lldb) p A1
(ARR1) $7 = 0x000b5048
(lldb) p *A1
error: incomplete type 'SMALLINT []' where a complete type is required error: 1 errors parsing expression
(lldb)

Compiled with FPC 3.0, OSX 10.9, lldb-320.4.160.

The same problem happens with other dynamic arrays. Is there some way to get around this?

/Ingemar

Reply by email