Re: Justified moaning?, I like to think so.
- From: "Paul Hughes" <hughes.pa@xxxxxxxxx>
- Date: Sun, 7 Oct 2007 10:42:24 +0800
Well, I might have guessed you were going to ask for the steps to reproduce
it. I don't think I can in any concrete manner simply due to the nature of
the problem.
I can point out a couple of observations first and ask you one or two
questions which may point you in the right direction.
My gut feeling is that it's affected by one or more of the following.
Having ticked the default checkbox at some point when saving a config
(probably would have been some debug settings) that are now not the same as
the defaults (by that I mean how they are following first install).
I have convinced myself, somewhere along the way, that the IDE must be
caching the settings for the current project and then either:
1. Only managing to partially load the next projects settings so that some
of the cached ones remain.
2. Erroneously combining the new config with what's cached in some way
rather than replacing it.
It is only after switching between projects that I get the errors. I can
build proj A, switch to B, builds OK, switch to proj C, perhaps build fails
so I fix config settings, C then builds OK, back to A - build fails due to
conflicting entries that (as far as I can reasonably assume) where not
earlier stored within proj A's config because last time I was there, it
built OK.
Noticed many times that the .dproj files had a lot of blank lines in there.
Q. When you tick the default checkbox, are those current settings intended
for use only on new projects?
Q. If you tick the defaults checkbox (whilst you have a project open), what
bearing does the current 'Build Configuration' have on this? i.e. would all
new projects default to either Debug or Release and are those default
settings then saved for both Debug and Release or just the one set.
Q. If you go for the Project - Default Options - Delphi for Win32 menu with
no projects currently open, there are no items in my 'Build Config' combo at
the top. So which options are going to become defaults; debug or release
ones - how is it determined? How does it relate to the choices made when you
have a project open and, therefore, have Debug or Release in the 'Build
Config' combo?
I doubt I can come up with steps to reproduce in a concrete manner because
it will depend on the current state of my various active projects and how
they last got saved. I can certainly submit as many files as needed for
examination if you like. I can also export any reg entries, etc or whatever
is required to let you know what's currently there.
I've wasted a lot of time on this which is why I reverted to a script
running DCC32. It's not ideal but it is very reliable for producing a
RELEASE build that doesn't contain debug messages, etc. It should all work
right within the IDE unless a certain sequence of actions at some point has
messed up and the IDE simply isn't coping with bad/conflicting settings
somewhere.
Regards, Paul.
"Nick Hodges (CodeGear)" <nick.hodges@xxxxxxxxxxxx> wrote in message
news:47083522@xxxxxxxxxxxxxxxxxxxxxxxxx
Paul Hughes wrote:
What would be your next suggestion in order to resolve this
particular problem.
I don't really know -- the storage of project settings is about as
fundamental a functionality as you can get. Why it wouldn't work right
is a mystery.
Do you have steps you can show to reproduce the issue?
It just seems to wacky that I find it almost hard to believe.
--
Nick Hodges
Delphi Product Manager - CodeGear
http://blogs.codegear.com/nickhodges
.
- Follow-Ups:
- Re: Justified moaning?, I like to think so.
- From: Nick Hodges (CodeGear)
- Re: Justified moaning?, I like to think so.
- References:
- Justified moaning?, I like to think so.
- From: Paul Hughes
- Re: Justified moaning?, I like to think so.
- From: Pete Fraser
- Re: Justified moaning?, I like to think so.
- From: Paul Hughes
- Re: Justified moaning?, I like to think so.
- From: Nick Hodges (CodeGear)
- Re: Justified moaning?, I like to think so.
- From: Paul Hughes
- Re: Justified moaning?, I like to think so.
- From: Rudy Velthuis [TeamB]
- Re: Justified moaning?, I like to think so.
- From: Paul Hughes
- Re: Justified moaning?, I like to think so.
- From: Nick Hodges (CodeGear)
- Re: Justified moaning?, I like to think so.
- From: Paul Hughes
- Re: Justified moaning?, I like to think so.
- From: Nick Hodges (CodeGear)
- Justified moaning?, I like to think so.
- Prev by Date: Re: Delphi 2008 (Tiburon) discussion
- Next by Date: Re: Delphi 2008 (Tiburon) discussion
- Previous by thread: Re: Justified moaning?, I like to think so.
- Next by thread: Re: Justified moaning?, I like to think so.
- Index(es):
Relevant Pages
|