> I'm using CW 9.1 on a G4 2*1Gz on a project with more than 300 files
> and it takes FIFTY seconds to cache the directories of the whole
> project as shown by the message at the bottom of the project window.
> this is done each time I begin a debug or run session, and each time I
> terminate it, and is partially done at a lot of other moments (like
> destroying a breakpoint). That behaviour was on CW9.0 already.
I know of no cure other than to learn to hit command-period whenever CW IDE goes
catatonic.
meeroh

Signature
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
> I'm using CW 9.1 on a G4 2*1Gz on a project with more than 300 files
> and it takes FIFTY seconds to cache the directories of the whole
[quoted text clipped - 19 lines]
> Any suggestions ? I suppose I've got some configuration problem...
> Hello, configuration gods, I need you ! Thanks.
I've seen this before myself. One way to get around this is to turn off
Break On C++ Exception. I think that the debugger tries to search for
some source file that's hidden with the runtime sources. If you want to
keep Break On C++ Exception turned on, then you might want to try adding
an access path that points into the shielded runtime folder. I have not
tried this myself, but I suspect it will stop all that caching.

Signature
Isaac Wankerl
Metrowerks
Mac Software Developer
Robert Smith - 26 Nov 2003 13:39 GMT
> > I'm using CW 9.1 on a G4 2*1Gz on a project with more than 300 files
> > and it takes FIFTY seconds to cache the directories of the whole
[quoted text clipped - 12 lines]
> an access path that points into the shielded runtime folder. I have not
> tried this myself, but I suspect it will stop all that caching.
I have frequently and intermittently seen this as well, at the same
places, starting/stopping debugging and clearing (not setting) a
breakpoint. The status line at the bottom of the project windows
flashes a bunch of 'Caching directory' messages. In between which are
some 'Searching' messages, usually you can't read this (they go by too
fast) but when it stops it is usually on one of those messages and it
is always for the same two files: ExceptionPPC.cp and NewMore.cp.
This happens with all the projects as their symbols are loaded. It is
especially noticable for me since I am linking my app with a large
dynamic library and loading a plugin. The messages on the plugin's
project window flash when the app loads it, not when debugging starts.
I am linking against the BSD libraries using
MSL_C++_BSD_C_Mach-O_D.lib and BSD_Runtime_Mach-O_D.lib. If I switch
to the non-debug versions of these libraries the problem goes away.
And like you said if I turn off Break On C++ Exception it goes away
(didn't know about that before, thank!). I have tried rebulding those
system libraries but it didn't help. OS 10.2.8, CW 9.0.
This is highly annoying and can add 2-3 minutes to every debugging
cycle. Hope someone can track this down!
Robert
Maurice Elallouf - 26 Nov 2003 14:41 GMT
> > I'm using CW 9.1 on a G4 2*1Gz on a project with more than 300 files
> > and it takes FIFTY seconds to cache the directories of the whole
[quoted text clipped - 9 lines]
> an access path that points into the shielded runtime folder. I have not
> tried this myself, but I suspect it will stop all that caching.
The trick works, thanks, However, I've set a recursive system access
path to "{Compiler}Mac OS X Support/Libraries/Runtime" but this does not
help.
James Stein - 10 Dec 2003 23:14 GMT
> I've seen this before myself. One way to get around this is to turn off
> Break On C++ Exception.
Great! This has been a big nuisance to me also.
But please, where can the "Break On C++ Exception" preference be found?
MW Ron - 11 Dec 2003 02:18 GMT
>> I've seen this before myself. One way to get around this is to turn off
>> Break On C++ Exception.
>
>Great! This has been a big nuisance to me also.
>But please, where can the "Break On C++ Exception" preference be found?
It is in the Debug menu when you are debugging.
Ron

Signature
New from Metrowerks
The CodeWarrior Wireless Development Kit for Symbian OS, SEMC P900 Edition
Easy-to-use, integrated tools and hardware for SEMC P900 Development
http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
> Any suggestions ? I suppose I've got some configuration problem...
Only for mach-o, right? I noticed this right after I added a mach-o target
in addition to the PEF targets I'd been working on for months.
MW Ron - 08 Dec 2003 14:58 GMT
>> Any suggestions ? I suppose I've got some configuration problem...
>
>Only for mach-o, right? I noticed this right after I added a mach-o target
>in addition to the PEF targets I'd been working on for months.
This should only happen on the intiali launch but I've seen it happen by
just changing some headers. Mach-O and searching the system and all the
separate includes takes some time. We are working on improving this.
Ron

Signature
New from Metrowerks
The CodeWarrior Wireless Development Kit for Symbian OS, SEMC P900 Edition
Easy-to-use, integrated tools and hardware for SEMC P900 Development
http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Scott Ribe - 08 Dec 2003 20:17 GMT
> This should only happen on the intiali launch but I've seen it happen by
> just changing some headers. Mach-O and searching the system and all the
> separate includes takes some time. We are working on improving this.
And you may already have, somewhat. Since upgrading to 9.1 I notice
performance that I would characterize as quite sluggish, 10-15 seconds of
directory scanning, whereas with 9.0 it was literally making me crazy. Under
9.0 it started out slow, but seemed to gradually get slower with subsequent
launches, until it would take well over a minute--almost as if it were
scanning the same directories multiple times.