26 #if defined (HAVE_CONFIG_H)
60 delete m_comment_list;
81 else if (m_expression)
90 else if (m_expression)
115 : (m_expression ? m_expression->
bp_cond () :
"0"));
123 : (m_expression ? m_expression->
line () : -1));
131 : (m_expression ? m_expression->
column () : -1));
139 else if (m_expression)
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);
301 OCTAVE_END_NAMESPACE(
octave)
Provides threadsafe access to octave.
void update_breakpoint(bool insert, const std::string &file, int line, const std::string &cond="")
octave_idx_type length() const
octave_value_list get_list()
octave_value_list get_cond_list()
bool print_result() const
tree_expression * set_print_flag(bool print)
bool is_end_of_fcn_or_script() const
bool is_end_of_file() const
void accept(tree_walker &tw)
octave_value_list list_breakpoints()
std::list< bp_type > breakpoints_and_conds()
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_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() const
void set_breakpoint(const std::string &condition)
bool is_breakpoint() const
void accept(tree_walker &tw)
bool is_end_of_fcn_or_script() const
bool is_breakpoint() const
virtual void delete_breakpoint()
const std::string bp_cond() const
bool is_active_breakpoint(tree_evaluator &tw) const
virtual int column() 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