26 #if defined (HAVE_CONFIG_H)
60 delete m_comment_list;
207 for (
int i = 0; i <
len; i++)
236 std::list<bp_type> retval;
240 for (
int i = 0; i < lines.
length (); i++)
242 retval.push_back (
bp_type (lines(i).double_value (),
243 conds(i).string_value ()));
256 const std::string& file,
258 const std::string& condition)
262 for (
const auto& lineno : lines)
271 retval.insert (line);
280 const std::string& file)
286 for (
int i = 0; i < bkpts.
length (); i++)
288 int lineno = bkpts(i).int_value ();
292 retval.insert (lineno);
Provides threadsafe access to octave.
void update_breakpoint(bool insert, const std::string &file, int line, const std::string &cond="")
octave_idx_type length(void) const
octave_value_list get_list(void)
octave_value_list get_cond_list(void)
tree_expression * set_print_flag(bool print)
bool print_result(void) const
bool is_end_of_file(void) const
bool is_end_of_fcn_or_script(void) const
void accept(tree_walker &tw)
octave_value_list list_breakpoints(void)
std::list< bp_type > breakpoints_and_conds(void)
int set_breakpoint(int line, const std::string &condition)
void delete_breakpoint(int line)
bp_table::bp_lines remove_all_breakpoints(event_manager &evmgr, const std::string &file)
bp_table::bp_lines add_breakpoint(event_manager &evmgr, const std::string &file, const bp_table::bp_lines &lines, const std::string &condition)
std::string bp_cond() const
bool is_breakpoint(void) const
bool is_active_breakpoint(tree_evaluator &tw) const
void echo_code(const std::string &prefix)
void set_print_flag(bool print_flag)
void set_location(int l, int c)
bool is_end_of_file(void) const
bool is_end_of_fcn_or_script(void) const
void set_breakpoint(const std::string &condition)
void delete_breakpoint(void)
tree_expression * m_expression
void accept(tree_walker &tw)
virtual int column(void) const
const std::string bp_cond(void) const
virtual void delete_breakpoint(void)
bool is_active_breakpoint(tree_evaluator &tw) const
virtual int line(void) const
bool is_breakpoint(void) const
void set_location(int l, int c)
virtual void set_breakpoint(const std::string &condition)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn