"Not Responding" when I leave PureBasic?

Post bugs related to the IDE here
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

Re: "Not Responding" when I leave PureBasic?

Post by HanPBF »

Just an idea...
I had annoying IDE crashes and even a not-starting-IDE when the PC has an admin and a user account.

Some IDEs like Delphi, VB6 are only fully running in admin mode.
freak
PureBasic Team
PureBasic Team
Posts: 5946
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: "Not Responding" when I leave PureBasic?

Post by freak »

The delay is probably caused by the session history feature. It needs to write events to the database for the files you have open when you close the IDE. Unfortunately, the events have to be processed in order, so it cannot be parallelized. Although I do not understand exactly why it takes so long for some people. Here it works quite well even with larger files.

I have added a small window to indicate that the saving is in progress, so there shouldn't be a "not responding" any more.
quidquid Latine dictum sit altum videtur
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: "Not Responding" when I leave PureBasic?

Post by collectordave »

just noticed this

After running a few example progs and some of my own trials not all closed correctly and left a process running in task manager. Which i had to kill manually. Do not know the extent of this or even if it is a problem as using VB sometimes has the same effect.

I have had no issue with PB taking a long time to close as i only work on one or two files at a time and regularly close the ones i do not need.
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: "Not Responding" when I leave PureBasic?

Post by IdeasVacuum »

The solution is as Danilo described, close and then just wait a few seconds.

I think it is very likely that Windows Defender or other AV is checking the database activity, which would certainly slow it down. I am using AVG at the moment and it kicks-in roughly once per hour and locks-up the PC for around 2 seconds if any 'heavy' process is running, including but not only PB.

The "Not Responding" message is just lazy coding by Microsoft, they are using that message in an inappropriate way - you can see via Task Manager that the "Not Responding" application is processing - I think they should at least start with a "Busy" message, and also stop changing the cursor graphic too - that just alarms the inexperienced/casual PC User.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply