23 #if !defined (octave_debug_h)
24 #define octave_debug_h 1
58 static bool instance_ok (
void);
61 static intmap add_breakpoint (
const std::string& fname =
"",
62 const intmap& lines = intmap ())
65 ? instance->do_add_breakpoint (fname, lines) : intmap ();
69 static int remove_breakpoint (
const std::string& fname =
"",
70 const intmap& lines = intmap ())
73 ? instance->do_remove_breakpoint (fname, lines) : 0;
77 static intmap remove_all_breakpoints_in_file (
const std::string& fname,
81 ? instance->do_remove_all_breakpoints_in_file (fname, silent) : intmap ();
85 static void remove_all_breakpoints (
void)
88 instance->do_remove_all_breakpoints ();
97 ? instance->do_get_breakpoint_list (fname_list) : fname_line_map ();
101 have_breakpoints (
void)
103 return instance_ok () ? instance->do_have_breakpoints () : 0;
119 const intmap&
line, intmap& retval);
121 intmap do_add_breakpoint (
const std::string& fname,
const intmap& lines);
124 const intmap& lines);
126 int do_remove_breakpoint (
const std::string&,
const intmap& lines);
129 const std::string& fname);
131 intmap do_remove_all_breakpoints_in_file (
const std::string& fname,
134 void do_remove_all_breakpoints (
void);