Recent

Author Topic: dynamic arrays preview  (Read 5426 times)

sirkris

  • Newbie
  • Posts: 1
dynamic arrays preview
« on: October 11, 2009, 11:56:52 am »
I am making programs where I am using a lot of dynamically created arrays.
In past I was using delphi and there was possible to check values of such variables in watches window.
In Lazarus I cannot see proper values of such variables. Is sth wrong with my Lazarus configuration? Can sb advise how can I check dynamic variables? (I am using Lazarus for Ubuntu 9.04)
Regards
kris

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12302
  • Debugger - SynEdit - and more
    • wiki
Re: dynamic arrays preview
« Reply #1 on: October 11, 2009, 12:13:33 pm »
It is a known limitation. There is not yet a native pascal debugger, and gdb only supports a certain amount of pascal. Also the encoding of the debug info may not be correct depending on the version of fpc you use.

There are however ways to archive what you need. See the faq at http://wiki.lazarus.freepascal.org/Lazarus_Faq#Debugger
 or see here http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips

 

TinyPortal © 2005-2018