Recent

Author Topic: Inline Evaluation Plugin  (Read 7802 times)

AlbertHosteen

  • Newbie
  • Posts: 1
Inline Evaluation Plugin
« on: November 23, 2017, 12:34:17 pm »
Hello,
Im dont understand much much the "wheels and levers" within the Lazarus project, but could it be possible to create plugin for an inline evaluation directly in the editor?
As in this project for Delphi: https://github.com/lynatan/DLight

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Inline Evaluation Plugin
« Reply #1 on: November 23, 2017, 02:16:28 pm »
Wow, looks cool!
It should be possible already now although not trivial.
IMO the new FP debugger should be finished and used in the IDE first before such evaluation plugins. It will make things faster and more robust.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Inline Evaluation Plugin
« Reply #2 on: November 23, 2017, 08:23:29 pm »
Possible? It is open source, so yes.

Priority at present: Sadly not. That is there are too many other things that need to be done first.

--------------------
That said: Have you looked at the debug history? It is not as comfortable as, but it also lets you see past values of variables. (Only if they are in the watch, or locals window)

So if you stepped to a certain line, and find some value is wrong, then you can select previous lines (if you used "step") and see what the value was.

http://wiki.lazarus.freepascal.org/IDE_Window:_Debug_History

 

TinyPortal © 2005-2018