Mercurial > octave-nkf
diff src/debug.h @ 8123:eb2beef9a9ff
clear breakpoints is function found to be out of date
author | David Bateman <dbateman@free.fr> |
---|---|
date | Mon, 22 Sep 2008 13:11:32 -0400 |
parents | 87eda1f8faaa |
children | 73c4516fae10 |
line wrap: on
line diff
--- a/src/debug.h Mon Sep 22 13:07:19 2008 -0400 +++ b/src/debug.h Mon Sep 22 13:11:32 2008 -0400 @@ -85,10 +85,11 @@ } // Remove all the breakpoints in a specified file. - static intmap remove_all_breakpoints_in_file (const std::string& fname) + static intmap remove_all_breakpoints_in_file (const std::string& fname, + bool silent = false) { return instance_ok () - ? instance->do_remove_all_breakpoints_in_file (fname) : intmap (); + ? instance->do_remove_all_breakpoints_in_file (fname, silent) : intmap (); } // Remove all the breakpoints registered with octave. @@ -124,7 +125,8 @@ int do_remove_breakpoint (const std::string&, const intmap& lines); - intmap do_remove_all_breakpoints_in_file (const std::string& fname); + intmap do_remove_all_breakpoints_in_file (const std::string& fname, + bool silent); void do_remove_all_breakpoints (void);