Re: Justified moaning?, I like to think so.



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


.



Relevant Pages

  • Re: Urgent urgent help..
    ... create symbol table info has NOTHING to do with DEBUG/NDEBUG settings. ... settings and enable debug information. ... If it does not reproduce, ... Release Version" on my MVP Tips site). ...
    (microsoft.public.vc.mfc)
  • Re: 2.6.19-rc3: more DWARFs and strange messages
    ... .config, and (assuming you can reproduce the original problem) ... the raw stack dump obtained with a sufficiently high kstack= ... Short of somebody else wanting to try to debug this, ...
    (Linux-Kernel)
  • RE: Publish to External FrontPage Server
    ... meaning Auto config, use proxy I am able to connect to the remote website. ... How can I make this work without having to disable the IE settings everytime ... Publish to External FrontPage Server ...
    (microsoft.public.isa)
  • [PATCH] generic debug pagealloc (-v4)
    ... debug features can do so as well. ... pages with poison byte patterns after free_pagesand verifying the poison ... config PROVIDE_OHCI1394_DMA_INIT ... Unmap pages from the kernel linear mapping after free_pages. ...
    (Linux-Kernel)
  • Re: Breakpoint instantiation
    ... I have a platform compiled for debug build, with KITL and Kernel debugger enabled. ... With all these settings enabled, ... When you start the module the breakpoint will become a dark red dot/circle. ...
    (microsoft.public.windowsce.platbuilder)