Forum > Debugger
Any equivalents to a couple of Delphi debugger options
(1/1)
MartynA:
Hi,
As a long-time Delphu user, I've been trying out Lazarus recently and am finding that I prefer it in a number of respects. However, there are a couple of Delphi debugger options I really miss and haven't yet managed to find the Lazarus equivalents for. These are:
1. Hide Designers on Run.
2. The one which makes the editor window(s) read-only while the debugger is running.
Are there Lazarus equivalents to these, and where are they?
Thanks, Martyn
ASerge:
--- Quote from: MartynA on December 09, 2017, 03:01:21 pm ---1. Hide Designers on Run.
--- End quote ---
Tools/Options/Window/Hide IDE windows on run
Graeme:
--- Quote from: MartynA on December 09, 2017, 03:01:21 pm ---2. The one which makes the editor window(s) read-only while the debugger is running.
--- End quote ---
As a Delphi and FPC/Lazarus developer myself. I believe the above was introduced in Delphi because Delphi can't do code navigation (eg: Ctrl+Click) while debugging. I believe marking the editors read-only was a band-aid which (might) have resolved their code navigation issue.
Lazarus had no such problems. Saying that, if Lazarus IDE doesn't already have such a "read-only editors" option, it should be a 5 minute job to add. It already has a manual option 'right-click editor -> File Settings -> Read Only" checkbox. So the solution will be to simply loop through the editors and automatically set that option - and the reverse when the debugger ends.
Thaddy:
--- Quote from: Graeme on December 10, 2017, 10:58:24 am ---As a Delphi and FPC/Lazarus developer myself. I believe the above was introduced in Delphi because Delphi can't do code navigation (eg: Ctrl+Click) while debugging.
--- End quote ---
I thought the same.
balazsszekely:
@Graeme
--- Quote ---If Lazarus IDE doesn't already have such a "read-only editors" option, it should be a 5 minute job to add. It already has a manual option 'right-click editor -> File Settings -> Read Only" checkbox. So the solution will be to simply loop through the editors and automatically set that option - and the reverse when the debugger ends.
--- End quote ---
And the place where to put the editor disabling/enabling code is in the image.
PS: You should also hook the create/destroy editor window functions.
Navigation
[0] Message Index