Am 08.11.2006 um 12:51 schrieb Terry Ford:
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.
[...]
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.
Doing a backup every time I add a new control would mean a hundred
backups a day. I'm backing up frequently, but not _that_ often. But
with an incremental backup, this means the version I have backed up
tonight is most probably corrupted already. (Although I'll check if
Retrospect maybe lets me access intermediate versions.)
The fact that you are crashing every ten minutes doesn't sound very
good either. Which version of 2006 are you using?
I'm using r4, and have heard reports from others that it is crashing
all the time, too. As long as I remember to save the project every
couple of actions, it doesn't cause that much harm.
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.
Saving it as XML works, but when I open that version, it still
crashes when I do anything with that window, so the problem must be
in the XML file too.
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.
Well, it's most probably the project file. I was able to export the
window meanwhile, and dragging it into a new project works fine. But
that also means if I continue, I'm working on a damaged project, and
that's a disaster waiting to happen. Not a very good outlook.
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.
That would be true if I did it that way. :) I'm doing it twice a day.
But the problem is that I don't know when the bug sneaked into my
project. One thing I know for sure: I can't use the latest backup, as
the problem was definitely there when I finished yesterday evening.
I'm currently restoring from yesterday noon, but I don't know if that
one is buggy already, and even if not, it'll be a royal PITA to find
out what I have changed in the meanwhile.
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.
Compared with r1 or r2, sure, r4 is much more stable. But overall I'm
not satisfied with its stability. And if it is true that I have to
take the danger of corrupted projects into the equation, I have to
rethink my whole backup strategy. I won't start a (another)
discussion about critical bugs in RB2006 here, but it would be a pity.
For now, I'll have to check what my last backup shows, and maybe
attach the XML project to a bug report. But with an abundance of
external items and some plugins too, I doubt that it is of much use.
Cheers,
Frank+++
--
Günter Schmidt & Co. oHG
Frank Bitterlich eMail: [EMAIL PROTECTED]
Ben-Gurion-Ring 21 WWW: http://www.gsco.de/
D-60437 Frankfurt Tel.: 069 / 156809-29
GERMANY Fax: 069 / 156809-28
_______________________________________________
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>