Lazarus

Miscellaneous => Suggestions => IDE/CodeTools => Topic started by: AlbertHosteen on November 23, 2017, 12:34:17 pm

Title: Inline Evaluation Plugin
Post by: AlbertHosteen 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 (https://github.com/lynatan/DLight)
Title: Re: Inline Evaluation Plugin
Post by: JuhaManninen 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.
Title: Re: Inline Evaluation Plugin
Post by: Martin_fr 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