octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #42883] Various issues relating to the lack of


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #42883] Various issues relating to the lack of re-compilation of .m files changed during script execution
Date: Thu, 31 Jul 2014 23:02:01 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 Iceweasel/30.0

Follow-up Comment #4, bug #42883 (project octave):

I don't think run and source have to behave identically.  If the filename
given to run has a directory component, it calls cd.  I think that should
cause the load path to be reexamined, so could affect timestamp checking. 
Source doesn't perform the cd, so it wouldn't affect the load path.

The timestamps should be checked at each prompt.  I think that's why you see
the difference in behavior with a script that is running normally vs. in debug
mode, because in debug mode, you are prompted at each breakpoint or while
stepping through a function.  Perhaps the easiest thing to do would be to not
update the value of Vlast_prompt_time when displaying the debug prompt.

I wonder whether the "less than 1 second ago" behavior is some arbitrary limit
on the frequency of time stamp checking in Matlab, or if it is a limitation of
the resolution of the file time stamps (or the way that Matlab is checking
them)?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42883>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]