[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1164
  • Last Modified:

Delphi 7 IDE freezes up from time to time

Hi, I wonder if anyone else has experienced this. I could be in the middle of programming and about every 5 or 10 minutes, the cursor changes to an hourglass and the whole IDE is unresponsive for about 20 seconds... it's pretty annoying. Do I have some "environment" setting on that shouldn't be on?

Thanks
   Shawn
0
shawn857
Asked:
shawn857
  • 6
  • 4
  • 3
1 Solution
 
Marco GasiFreelancerCommented:
What is your SO?
0
 
Marco GasiFreelancerCommented:
Anyway you can try the following:

1.) As a first guess, I would turn off Delphi Direct. Do you have a permanent Internet connection? Maybe something is configured wrong and Delphi tries repeatedly to connect to the web. You can turn off Delphi Direct in Tools | Environment Options

2.) The freeze may occur because you have a bad directory in your (library) search path. Check all directories in your paths and make sure that all drives are actually mapped. The freeze sounds like Windows tries to open a network connection. It could also be that a directory/ drive name points to a CD-ROM now and there is no CD in it or it contains a different CD than expected. Trim your paths to what is needed.

3.) Finally, if suggesitons above fail, you may want to find out what is installed in your IDE that makes it searches your path periodically. I recommend de-activating as many packages as you can.
0
 
Geert GruwezOracle dbaCommented:
Check menu Options, Editor, Code insight
First: What is your tooltip insight slider at ?

Second: where do you save your app, on a remote wan location ?
when delphi wants to give you tooltip insight it will compile the project in the background (freezing the ide) and after that produces the help window

i've set mine to OFF
then it didn't freeze anymore.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Geert GruwezOracle dbaCommented:
one other way to freeze the ide:
create a IDE add-in which accesses slow resources from the main thread of the add-in.
the main thread of the add-in is run by the main thread of the delphi ide and this waits for the add-in main thread to finish it's work.
> always use asynchronous data/resource lookups in ide add-ins
0
 
shawn857Author Commented:
Thanks guys.

Marqus: (1) I turned Delphi Direct off a couple weeks ago, but it made no difference. (2) All paths were good in my Library. (3) I don't have many extra packages installed - looks like a lot of default Borland ones. "Indy" is installed which I never use, maybe I can uninstall that.
My OS is Windows XP Pro Service Pack 3.

Geert: (1) I've attached a screenshot showing my "Code Insight" settings (I didn't touch anything yet) (2) I just save my app to a folder on my local C drive - nothing fancy. (3) i don't use any IDE add-ins - don't even know what they are!

Thanks!
   Shawn
D7-options.JPG
0
 
Marco GasiFreelancerCommented:
I fear you have to reinstall Delphi from scrartch: I used Delphi7 in Windows XP for years and I never exepriment that issue...
0
 
Geert GruwezOracle dbaCommented:
did you try switching off tooltip symbol insight ?

did you get a home drive on some shared server in your company recently ?
  >> where the folder my documents, my desktop etc is stored
  >> usually H: drive
  when you create a new project in delphi, save and check the directory it starts ...
  is it in your local drive or a remote location: \\... or on mapped drive like H:
or upgrade to a newer OS ?
or get a newer virus scanner ?

delphi will generally have problems with any of above for fast compilations
> during compilation the ide freezes
0
 
shawn857Author Commented:
Geert: Just turn off "tooltip symbol insight" only? What about the others - "Code Completion", "Code Parameters", and "Tooltip Expression Evaluation" ?

No shared servers or anything fancy like that. Just my stand-alone computer ... no networks or mapped drives or anything.

I don't have any virus scanner running Geert... just COMODO firewall running in the background.

Thanks!
   Shawn
0
 
Geert GruwezOracle dbaCommented:
you could switch all those settings off
they only aid in coding

i leave only code completion active for Ctrl-Shift C
and use google "delphi ..." for any references ... it's lots faster than using the delphi help

the options only give you insight into parameter/procedures code which could be possible while you type

after a few years of coding you know what the code's got to be, so it only slows you down
0
 
shawn857Author Commented:
Geert - I will switch all those settings off and try it for a while and let you know how it behaves. Thank you.

Shawn
0
 
shawn857Author Commented:
Geert - now that I've switched all those things off, it doesn't show anymore the variable values when i'm stepping through my code in debug. How can I turn just this feature back on?

Thanks
   Shawn
0
 
shawn857Author Commented:
"Tooltip Expression Evaluation" - found it. OK never mind!

Shawn
0
 
shawn857Author Commented:
Geert - I think that did the trick, there's been no more problems since then!

Thanks!!
   Shawn
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now