23 #if defined (HAVE_CONFIG_H) 193 int len = bp_lst.
length ();
195 for (
int i = 0;
i < len;
i++)
224 std::list<bp_type>
retval;
228 for (
int i = 0;
i < lines.
length ();
i++)
231 conds(
i).string_value ()));
251 for (
int i = 0;
i < len;
i++)
255 if (
p !=
line.end ())
257 int lineno =
p->second;
276 for (
int i = 0;
i < bkpts.
length ();
i++)
278 int lineno =
static_cast<int> (bkpts(
i).int_value ());
virtual int line(void) const
void set_location(int l, int c)
void delete_breakpoint(void)
std::string bp_cond() const
For example cd octave end example noindent changes the current working directory to file
virtual int column(void) const
bool is_end_of_fcn_or_script(void) const
bp_table::intmap remove_all_breakpoints(const std::string &file)
bool is_end_of_file(void) const
intmap::const_iterator const_intmap_iterator
void echo_code(const std::string &prefix)
void delete_breakpoint(int line)
bool is_breakpoint(bool check_active=false) const
tree_expression * m_expression
bool is_breakpoint(bool check_valid=false) const
octave_value_list list_breakpoints(void)
static void update_breakpoint(bool insert, const std::string &file, int line, const std::string &cond="")
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
int set_breakpoint(int line, const std::string &condition)
std::list< bp_type > breakpoints_and_conds(void)
void set_breakpoint(const std::string &condition)
comment_list * m_comment_list
void accept(tree_walker &tw)
octave_value_list get_list(void)
std::map< int, int > intmap
bool is_end_of_file(void) const
void set_location(int l, int c)
const std::string bp_cond(void) const
bp_table::intmap add_breakpoint(const std::string &file, const bp_table::intmap &line, const std::string &condition)
octave_idx_type length(void) const
octave_value_list get_cond_list(void)
void set_print_flag(bool print_flag)
virtual void delete_breakpoint(void)
void accept(tree_walker &tw)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
bool is_end_of_fcn_or_script(void) const
virtual void set_breakpoint(const std::string &condition)
bool print_result(void) const
tree_expression * set_print_flag(bool print)