Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2001-12

Hints and Lazarus hang on startup - compiler problem?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Shane Miller

Interesting. I have been trying to create the same thing and capture exactly what was causing it but I have had some time doing that.

The plan for now is to have Main.pp enable all hints after it's done loading. Then I was going to tackle the prob when I had more time.

I'll have to take a look at what you found.

Thanks for the help!
Shane

>> 12/13/01 09:57AM >>>

I've been able to reproduce systematically a problem that's related to the HintTimer in uniteditor.pp. Apparently Shane has also tried to hunt this down?

The problem appears when I move the mouse over the sourcenotebook while Lazarus starts. The mousemoves fire events at TSourceNotebook.EditorMouseMove where FHintTimer is disabled and enabled again to reset the delay before showing a hint.

Here's where it gets interesting. Just add a "var a: Integer;" and nothing else to TSourceNotebook.EditorMouseMove and it doesn't crash any more. This is with fpc-1.0.5-laz.20010815

I then added a global integer and increased it after every FHintTimer:=false in EditorMouseMove. It runs 3-7 times before it hanging. The timer itself doesn't hang though. Just the notebook form.

/jarto

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email