Jump to content

Recommended Posts

I have news regarding to IDE hang. I took the time (lot) to attach the frozen IDE to a debugger and find followings:

 

there is a infinite message loop, affected are

tlbEntityInsight

NameBtn

some child controls of NameBtn without any component name nor text

TypeNameBtn

some child controls of TypeNameBtn without any component name nor text

 

the infinite message loop is a variation of these messages:

 

1328 TCM_ADJUSTRECT
46     WM_WINDOWPOSCHANGING
7c     WM_STYLECHANGING
7d     WM_STYLECHANGED
 

1328 will be triggered from:

function TCustomTabControl.GetDisplayRect: TRect;

 

Looks like this whole entity thingy is on: TAppBuilder->TEditorDockPanel->TEditWindow->TPanel

 

Also, I have this EntityInsight turned off in the configuration. Actually I'm only using the open unit function from MMX.

It happens rarely, especially on fast finger actions like formatting, saving quickly, and meanwhile the mouse is over an entity in the editor and tries to evaluate it.

But then the IDE won't recover from this message loop.

 

For the record, there is always a chance that other things are also playing a role,  especially when we are debugging windows messages, so take this info

as an observation, maybe it helps finding something.

 

 

 

 

Edited by Attila Kovacs
  • Like 1

Share this post


Link to post

 

Quote

meanwhile the mouse is over an entity in the editor

https://stackoverflow.com/questions/6255248/controlclick-on-function-is-not-working-in-delphi-xe    

 

Just hovering over a unpathed unit in an uses clause can cause a quick ending.  Issue with browsing path?

 

The form screen position button in Design just happens to be in Bermuda triangle hot zone lower right hand code scrollbar edge.  

 

 

formpositioner.png

Edited by Pat Foley
added Picture

Share this post


Link to post
Posted (edited)

Well, after more than a week without MMX (removed) I can say that not just there is no more IDE Hang's but the IDE become faster.

I suspect, that even after turning off the entityinsight, it sets itself to invisible but still working in the background for some reason.

On the other hand I'm missing some functions very badly.

Edited by Attila Kovacs
  • Like 1

Share this post


Link to post

TAppBuilder
...
WindowsForms10.Window.8.app.0.1629f15_r56_ad1 

 

This form found in search menu item Find Class shows whatever namespace is scoped in the editor.

Once a "class" or whatever is in the namespace is selected it moves to it in the edit window. The find

references can then be clicked.  These "gems" would be nice if they didn't hang the program.     

Share this post


Link to post
4 hours ago, Attila Kovacs said:

IDE become faster

Installing MMX15 slowed down everything, had to manually change prior Delphi versions back to 14.. plus those new images aren't my taste to be polite 🙂

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×