On Nov 8, 2006, at 2:52 AM, Frank Bitterlich wrote:
Hi,
while still doing the majority of my work in RB5.5, I'm working on
my first large project that I started entirely in RB2006; that is,
I _was_ until yesterday. Today the project file is damaged; there
is one window that crashes RB whenever I do something with it. Add
a control - crash. Delete a control - crash. Try to export the
window - crash. Try to delete it - crash.
I'm pretty used to the IDE crashing every 10 minutes, but now I
have a damaged project, and I can't easily afford going back to the
last backup and lose everything I have done in the last two days.
Is there a "standard" trick to recover from this situation, to fix
the project file? I would be willing to sacrifice the window in
question, although an hour or two of work went into that as well.
But losing the whole project would be a disaster for me.
All tips welcome!
Since you are asking for tips, the first one would be to backup as
frequently as possible. The cost of Hard Drive memory is quite cheap
compared with the value of your time spent developing. I always
backup when adding new controls, windows or classes.
The fact that you are crashing every ten minutes doesn't sound very
good either. Which version of 2006 are you using? I have found r3
fairly stable although not quite as bombproof as 5.5. I don't use r4
as it leaks memory like a sieve. The last crashes I can remember were
using 2006 r1 or r2.
You could try saving the project as XML to see if that helps although
I can't remember what that actually used to fix.
I would go the new window route if it only takes a few hours of re-
work. If you can't delete the window without crashing I would begin
to suspect that Rb itself might be corrupted or the problem is not
only related to that particular window.
In any case, a backup that is only done every two days worth of
development time means that you are willing to sacrifice any later work.
Using 5.5 tended to spoil people with its stability but still had its
darker moments. Since I started using 2005, with the new IDE changes,
I have found that corruption was much more likely than in 5.5 and
stepped up my backing up routine. With each release, Rb gets more
stable in many areas but new features have sometimes added new problems.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>