comparison src/variables.cc @ 11855:eff8ac793dbf release-3-0-x

clear breakpoints is function found to be out of date
author David Bateman <dbateman@free.fr>
date Wed, 24 Sep 2008 14:08:58 +0200
parents 72830070a17b
children 3342d1a7c4c9
comparison
equal deleted inserted replaced
11854:24d26caa095b 11855:eff8ac793dbf
56 #include "symtab.h" 56 #include "symtab.h"
57 #include "toplev.h" 57 #include "toplev.h"
58 #include "unwind-prot.h" 58 #include "unwind-prot.h"
59 #include "utils.h" 59 #include "utils.h"
60 #include "variables.h" 60 #include "variables.h"
61 #include "debug.h"
61 62
62 // Should Octave always check to see if function files have changed 63 // Should Octave always check to see if function files have changed
63 // since they were last compiled? 64 // since they were last compiled?
64 static int Vignore_function_time_stamp = 1; 65 static int Vignore_function_time_stamp = 1;
65 66
1089 retval = true; 1090 retval = true;
1090 } 1091 }
1091 else 1092 else
1092 retval = true; 1093 retval = true;
1093 } 1094 }
1095
1096 // If the function has been replaced then clear any
1097 // breakpoints associated with it
1098 if (retval)
1099 bp_table::remove_all_breakpoints_in_file (nm, true);
1094 } 1100 }
1095 } 1101 }
1096 } 1102 }
1097 } 1103 }
1098 1104