Recent

Author Topic: Is it possible to execute a property or function in a debug window?  (Read 2331 times)

markus_ja

  • New Member
  • *
  • Posts: 43
Hello,

in contrast to delphi lazarus cannot show the result of a property or function in the watch window. Is it somehow possible to execute it, e.g. in a debug window, to execute such a property or function, like in other IDEs? I type something in, and it will be executed?

Or is there any other way to see such value, expecially propertys, during debugging?
I don't want to write some output commands into the source code just for debugging.

Lazarus looks pretty cool with the new docking style. The only drawback, switching from delphi to lazarus is the debug experience.

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Is it possible to execute a property or function in a debug window?
« Reply #1 on: June 24, 2016, 12:29:59 pm »
Is it somehow possible to execute it, e.g. in a debug window
No, GDB lacks the Object Pascal support for that.  Debugging is a major downside of FPC/Lazarus over Delphi.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

 

TinyPortal © 2005-2018