#include <deque>#include <fstream>#include <iomanip>#include <iostream>#include <limits>#include <set>#include <string>#include "dNDArray.h"#include "bp-table.h"#include "defun.h"#include "error.h"#include "errwarn.h"#include "file-ops.h"#include "help.h"#include "input.h"#include "interpreter-private.h"#include "interpreter.h"#include "lo-sysdep.h"#include "octave-preserve-stream-state.h"#include "ov-usr-fcn.h"#include "ov.h"#include "ovl.h"#include "pager.h"#include "parse.h"#include "pt-eval.h"#include "unwind-prot.h"#include "utils.h"#include "variables.h"
Go to the source code of this file.
Functions | |
| static OCTAVE_NAMESPACE_BEGIN octave_value | bp_lines_to_ov (const octave::bp_table::bp_lines &lines) |
| static octave_value_list | do_dbstack (octave::interpreter &interp, const octave_value_list &args, int nargout, std::ostream &os) |
| static void | do_dbtype (std::ostream &os, const std::string &name, int start, int end) |
| static void | do_dbupdown (octave::interpreter &interp, const octave_value_list &args, const std::string &who) |
| OCTAVE_EXPORT octave_value_list | F__db_next_breakpoint_quiet__ (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbclear (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbcont (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbdown (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdblist (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbquit (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbstack (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Fdbstatus (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Fdbstep (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbstop (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbtype (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbup (octave::interpreter &interp, const octave_value_list &args, int) |
| OCTAVE_EXPORT octave_value_list | Fdbwhere (octave::interpreter &interp, const octave_value_list &, int) |
| OCTAVE_EXPORT octave_value_list | Fisdebugmode (octave::interpreter &interp, const octave_value_list &args, int) |
| void | show_octave_dbstack (void) |
|
static |
Definition at line 65 of file debug.cc.
References Array< T, Alloc >::resize().
Referenced by Fdbstop().
|
static |
Definition at line 824 of file debug.cc.
References octave_map::contents(), octave_map::delete_elements(), error(), octave_value::int_value(), octave_value::is_string(), octave_value_list::length(), max(), min(), name, octave_map::numel(), ovl(), print_usage(), and octave_value::string_value().
Referenced by Fdbstack(), and show_octave_dbstack().
Definition at line 570 of file debug.cc.
References fcn_file_in_path(), octave::sys::ifstream(), and name.
|
static |
Definition at line 990 of file debug.cc.
References octave_value::is_string(), octave_value_list::length(), and octave_value::string_value().
| OCTAVE_EXPORT octave_value_list F__db_next_breakpoint_quiet__ | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 1194 of file debug.cc.
References ovl(), print_usage(), and octave::state.
Referenced by octave::main_window::debug_continue(), octave::main_window::debug_step_into(), octave::main_window::debug_step_out(), and octave::main_window::debug_step_over().
| OCTAVE_EXPORT octave_value_list Fdbclear | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 299 of file debug.cc.
References octave::bp_table::dbclear_all_signals(), ovl(), octave::bp_table::parse_dbfunction_params(), octave::bp_table::remove_all_breakpoints(), and octave::bp_table::remove_breakpoints_from_function().
| OCTAVE_EXPORT octave_value_list Fdbcont | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 1121 of file debug.cc.
References error(), ovl(), and print_usage().
Referenced by octave::main_window::debug_continue().
| OCTAVE_EXPORT octave_value_list Fdbdown | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 1040 of file debug.cc.
References do_dbupdown(), and ovl().
| OCTAVE_EXPORT octave_value_list Fdblist | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 758 of file debug.cc.
References do_dbtype(), error(), octave_user_code::fcn_file_name(), octave_user_code::get_code_line(), octave_value::is_string(), max(), name, octave_function::name(), octave_stdout, ovl(), and octave_value::string_value().
| OCTAVE_EXPORT octave_value_list Fdbquit | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 1144 of file debug.cc.
References error(), ovl(), and print_usage().
Referenced by octave::main_window::debug_quit().
| OCTAVE_EXPORT octave_value_list Fdbstack | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 984 of file debug.cc.
References do_dbstack(), and octave_stdout.
| OCTAVE_EXPORT octave_value_list Fdbstatus | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 375 of file debug.cc.
References octave_map::assign(), octave_map::begin(), octave::sys::canonicalize_file_name(), octave_map::contents(), octave_map::end(), err_wrong_type_arg(), error(), f, octave::bp_table::get_breakpoint_list(), octave_map::isempty(), octave_stdout, octave_value(), ovl(), octave_map::setfield(), and octave::bp_table::stop_on_err_warn_status().
Referenced by octave::file_editor_tab::update_breakpoints().
| OCTAVE_EXPORT octave_value_list Fdbstep | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 1068 of file debug.cc.
References error(), ovl(), and print_usage().
Referenced by octave::main_window::debug_step_into(), octave::main_window::debug_step_out(), and octave::main_window::debug_step_over().
| OCTAVE_EXPORT octave_value_list Fdbstop | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 169 of file debug.cc.
References octave::bp_table::add_breakpoints_in_function(), bp_lines_to_ov(), octave_value::cell_value(), octave::bp_table::dbstop_process_map_args(), error(), octave_map::getfield(), Cell::insert(), octave_value::iscell(), octave_map::isempty(), octave_value::isempty(), octave_map::isfield(), name, Array< T, Alloc >::numel(), octave_value(), octave::bp_table::parse_dbfunction_params(), and print_usage().
| OCTAVE_EXPORT octave_value_list Fdbtype | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 622 of file debug.cc.
References do_dbtype(), error(), octave_user_code::fcn_file_name(), max(), min(), octave_stdout, and ovl().
| OCTAVE_EXPORT octave_value_list Fdbup | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 1025 of file debug.cc.
References do_dbupdown(), and ovl().
| OCTAVE_EXPORT octave_value_list Fdbwhere | ( | octave::interpreter & | interp, |
| const octave_value_list & | , | ||
| int | |||
| ) |
Definition at line 560 of file debug.cc.
References octave_stdout, and ovl().
| OCTAVE_EXPORT octave_value_list Fisdebugmode | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 1177 of file debug.cc.
References ovl(), and print_usage().
Referenced by octave::octave_qscintilla::contextmenu_run().
| void show_octave_dbstack | ( | void | ) |
Definition at line 941 of file debug.cc.
References octave::__get_interpreter__(), and do_dbstack().