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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to