26 #if ! defined (octave_bp_table_h)
27 #define octave_bp_table_h 1
29 #include "octave-config.h"
58 : m_evaluator (tw), m_bp_set (), m_errors_that_stop (),
59 m_caught_that_stop (), m_warnings_that_stop ()
80 intmap add_breakpoint (
const std::string& fname =
"",
81 const std::string& class_name =
"",
83 const std::string& condition =
"");
86 int remove_breakpoint (
const std::string& fname =
"",
90 intmap remove_all_breakpoints_in_file (
const std::string& fname,
94 void remove_all_breakpoints (
void);
105 return (m_errors_that_stop.empty () || m_errors_that_stop.count (
id));
111 return (m_caught_that_stop.empty () || m_caught_that_stop.count (
id));
117 return (m_warnings_that_stop.empty () || m_warnings_that_stop.count (
id));
120 octave_map stop_on_err_warn_status (
bool to_screen);
122 void dbstop_process_map_args (
const octave_map& mv);
124 void dbclear_all_signals (
void);
126 bool condition_valid (
const std::string& cond);
129 std::string& func_name, std::string& class_name,
149 void set_stop_flag (
const char *who,
const std::string& condition,
152 void process_id_list (
const char *who,
const std::string& condition,
154 int nargin,
int& pos,
bool on_off,
155 std::set<std::string>& id_list);
158 const intmap&
line,
const std::string& condition,
165 const std::string& fname);
168 OCTAVE_DEPRECATED (5,
"use 'octave::get_user_code' instead")
bool have_breakpoints(void)
std::map< std::string, intmap > fname_line_map
fname_line_map::const_iterator const_fname_line_map_iterator
fname_bp_map::const_iterator const_fname_bp_map_iterator
fname_bp_map::iterator fname_bp_map_iterator
intmap::iterator intmap_iterator
std::map< std::string, std::list< bp_type > > fname_bp_map
std::set< std::string > m_warnings_that_stop
bp_table(tree_evaluator &tw)
std::set< std::string > m_errors_that_stop
std::set< std::string >::iterator bp_set_iterator
bool debug_on_err(const std::string &id)
bool debug_on_warn(const std::string &id)
intmap remove_all_breakpoints_in_file_1(octave_user_code *fcn, const std::string &fname)
intmap::const_iterator const_intmap_iterator
fname_line_map::iterator fname_line_map_iterator
std::set< std::string > m_caught_that_stop
std::set< std::string > m_bp_set
bool debug_on_caught(const std::string &id)
std::set< std::string >::const_iterator const_bp_set_iterator
std::map< int, int > intmap
tree_evaluator & m_evaluator
octave_user_code * get_user_code(const std::string &fname)
octave_value::octave_value(const Array< char > &chm, char type) return retval
bp_type(int l, const std::string &c)