🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #612

Re: Trouble with file mod date

#612
From: Michael
Date: Thu, 11 Dec 2003 18:04
66 lines
4102 bytes
"MW Ron" <mwron@metrowerks.com> wrote in message
news:mwron-845A6C.10392311122003@enews.newsguy.com...
> In article <9wUBb.527$CO2.455@nwrdny02.gnilink.net>,
>  "Michael" <mstauff@bellatlantic.net> wrote:
>
> >Hi,
> >
> >I'm having some weird trouble with a file's modification date and the
> >debugger.
> >I recently moved some source files from a network drive to a local drive.
> >Now, one of the files (and only one as far as I can tell) is giving an
error
> >that I can't get rid of:
> >
> >"Invalid file modification date.
> >The modification date for the file "xxx" does not match its date stored
in
> >the debugging information. <snip>"
> >
> >The program is behaving strangely in the code from this source file.
> >Debugging is doing strange things, recognizing part of the source file
and
> >recognizing breakpoints in part,  but not in others. I've tried "Remove
> >object code" and "Synchronize modification dates", and "Reset Project
Entry
> >Paths" (not that I know what that does), but to no avail.
>
> Trash your sym files,  delete the source file and add it back again to
> your project.  I think that will resolve all things... but let me know
> if it doesn't there may be other things to try.
>
> >The source file in question (ie that's in the project and that comes up
in
> >the debugger) seems to be the correct one, ie in the correct location.
>
> But the sym file information is for a different file and that is why you
> are getting the error.   I've seen this before when moving files,
> (especially if the project is open)  It probably still has some cache
> set for the network drive.
>
> I'm not sure what the problem is,  ultimately it is Metrowerks problem
> to solve even if it is an OS quirk,  so please report this to
> Metrowerks.  Even if the fix is simple.  If enough people report it then
> it will be given the highest priority.

First I tired: 1a) remove source file from project 1b) "remove object code"
from project 2) close CW 3) delete the output app for the project targe in
question (ie the package that contains the sym file) 4) delete the target
settings file for the project 5) start CW 6) put source file back into
project 7) rebuild project --- same problem!

Then I tried 1) remove source file from project 2) copy the source file
contents into a new source file 3) add the new source file to the project 4)
quit CW 5) delete sym file itself from output app package 6) restart CW 7)
recompile ---- it worked!

Maybe a corruption in the source file itself? Bad bit in Finder data? In any
case, this reminded me that I've had to do the same kind of thing a few
times over the past few years, both on CW Mac and MS VC++ Windows.

I'm still getting weird behavior in the program, but now it's probably due
to my buggy code!

Thanks,
Michael
Technical Details
Message-ID: <bl2Cb.703$nb3.255@nwrdny03.gnilink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny03.gnilink.net.POSTED!d6c8bbce!not-for-mail
References: <9wUBb.527$CO2.455@nwrdny02.gnilink.net> <mwron-845A6C.10392311122003@enews.newsguy.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,c6e28a958359ac36
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,c6e28a958359ac36
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-12-11 10:04:56 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny03.gnilink.net.POSTED!d6c8bbce!not-for-mail
From: "Michael" <mstauff@bellatlantic.net>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
References: <9wUBb.527$CO2.455@nwrdny02.gnilink.net> <mwron-845A6C.10392311122003@enews.newsguy.com>
Subject: Re: Trouble with file mod date
Lines: 68
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
Message-ID: <bl2Cb.703$nb3.255@nwrdny03.gnilink.net>
Date: Thu, 11 Dec 2003 18:04:55 GMT
NNTP-Posting-Host: 151.197.16.150
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny03.gnilink.net 1071165895 151.197.16.150 (Thu, 11 Dec 2003 13:04:55 EST)
NNTP-Posting-Date: Thu, 11 Dec 2003 13:04:55 EST