[fpc-pascal] Dynamic arrays in LLDB
ingemar at ragnemalm.se
Wed Jan 11 10:47:29 CET 2017
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
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?
More information about the fpc-pascal