It is currently Sat Jan 23, 2021 8:55 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Monitoring file changes is not reliable!
PostPosted: Wed Feb 04, 2015 10:46 am 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 06, 2005 2:35 pm
Posts: 1259
Location: germany
Hello,

we lost several hours of developing time in the last months because of problems with the PureBasic IDE monitoring feature. This is really annoying. We just again lost 4 hours (3 hours searching the error and 1 hour to redo the changes by manually searching GIT-History for done and undone changes).

Normally, after pulling source code changes by using GIT, the PB IDE should show us that the file has changed and ask us for a reload, right? It does, but sadly it is not reliable! :x

I don't know if it is because it is not recognized or if the IDE does not really do the reload (like reported here: viewtopic.php?f=18&t=60399). Anyway, it is a huge problem!

Does it also work reliable if the file that has changed from the outside is also having unsaved changes in the IDE? I don't know.

It also seem to be the only editor that works. JaPBe seems to be no longer available and maintained by Gnozal...

Any other suggestions for a PB editor with debugger?

Kukulkan


Top
 Profile  
Reply with quote  
 Post subject: Re: Monitoring file changes is not reliable!
PostPosted: Wed Feb 04, 2015 1:06 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 901
Location: Cuernavaca, Mexico
As a lone wolf, I've used a file comparison tool from prestoSoft...
http://www.prestosoft.com/edp_examdiff.asp

(Note: While I haven't done this... ExamDiff can be used from the command line)

But if I was working with a team, I'd be tempted to try the Pro version:
http://www.prestosoft.com/edp_examdiffpro.asp?flm=1

and perhaps:

http://www.prestosoft.com/fvc_ftpvc.asp?flm=1

(FtpVC (FTP Version Control) is a serverless version control system for Windows, which allows joint software development using Internet FTP connections.)

_________________
- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram


Top
 Profile  
Reply with quote  
 Post subject: Re: Monitoring file changes is not reliable!
PostPosted: Wed Feb 04, 2015 1:57 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 06, 2005 2:35 pm
Posts: 1259
Location: germany
Hi blueb,

thank you for your reply, but how should this help me? We can use GIT to restore all changes but this does not help us to get the PB IDE more reliable. If someone is saving a file from the IDE after it was updated using a pull in GIT, he is overwriting the last changes that have been pulled by GIT. Thus, the IDE has to detect if one of the current files has changed.

By the way, I personally like to use BeyondCompare since years. Nice tool, too.

Kukulkan


Top
 Profile  
Reply with quote  
 Post subject: Re: Monitoring file changes is not reliable!
PostPosted: Wed Feb 04, 2015 2:42 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 6281
Location: Wales, UK
I have experienced this issue myself, but concluded that it was my mistake. What is a problem for me is latency - a small change is not immediately picked-up by PB and so you can start a debug run and then after the app is running PB asks if the code should be updated. That is a fault in itself - if your answer is yes, the PB file is marked un-saved but the file of course is not re-loaded - when you finish the debug you might inadvertently save and boom, your edits are lost.

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: Monitoring file changes is not reliable!
PostPosted: Tue Mar 10, 2015 1:13 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat May 17, 2003 11:31 am
Posts: 6074
I can confirm there is *some* sort of bug with reload detection. I use CodeCaddy to reformat my code (I prefer my own formatting over the IDE's). For this I execute an external program and tell the IDE to reload the code.

Most of the time it does work, but sometimes it detects a code change before completing the 'programmed' reload. Must be a timing issue somewhere, but I'm not sure it's related to the problem you've seen.

_________________
( PB5.xx Win10 x64 Asrock AB350 Pro4 Ryzen 1600X 32GB RAM Evo 840 GTX1060 )
( The path to enlightenment and the PureBasic Survival Guide right here... )


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye