#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.
|
static |
Definition at line 831 of file debug.cc.
References octave::tree_evaluator::at_top_level(), octave::tree_evaluator::backtrace(), octave_map::contents(), error(), octave::interpreter::get_evaluator(), octave_value::int_value(), octave_value::is_string(), octave_value_list::length(), max(), n, name, octave_map::numel(), ovl(), print_usage(), retval, and octave_value::string_value().
Referenced by Fdbstack(), and show_octave_dbstack().
|
static |
Definition at line 577 of file debug.cc.
References octave::fcn_file_in_path(), octave::sys::ifstream(), and name.
|
static |
Definition at line 999 of file debug.cc.
References octave::tree_evaluator::dbupdown(), octave::interpreter::get_evaluator(), octave_value::is_string(), octave_value_list::length(), n, 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 1203 of file debug.cc.
References ovl(), print_usage(), octave::tree_evaluator::quiet_breakpoint_flag(), 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 307 of file debug.cc.
References octave::bp_table::dbclear_all_signals(), octave::tree_evaluator::get_bp_table(), ovl(), octave::bp_table::parse_dbfunction_params(), octave::bp_table::remove_all_breakpoints(), octave::bp_table::remove_breakpoint(), and octave::tree_evaluator::reset_debug_state().
OCTAVE_EXPORT octave_value_list Fdbcont | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 1130 of file debug.cc.
References octave::tree_evaluator::dbcont(), error(), octave::tree_evaluator::in_debug_repl(), 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 1049 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 765 of file debug.cc.
References octave::tree_evaluator::debug_user_code_line(), do_dbtype(), error(), octave_user_code::fcn_file_name(), octave_user_code::get_code_line(), octave::tree_evaluator::get_user_code(), octave_value::is_string(), max(), n, 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 1153 of file debug.cc.
References octave::tree_evaluator::dbquit(), error(), octave::tree_evaluator::in_debug_repl(), 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 993 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 382 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::tree_evaluator::get_bp_table(), octave::bp_table::get_breakpoint_list(), octave_map::isempty(), m, octave_stdout, octave_value(), ovl(), retval, octave_map::setfield(), Array< T >::size(), octave::bp_table::stop_on_err_warn_status(), and octave::help_system::which().
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 1077 of file debug.cc.
References error(), octave::tree_evaluator::in_debug_repl(), n, ovl(), print_usage(), octave::tree_evaluator::reset_debug_state(), and octave::tree_evaluator::set_dbstep_flag().
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 174 of file debug.cc.
References octave::bp_table::add_breakpoint(), octave_value::cell_value(), octave::bp_table::dbstop_process_map_args(), error(), octave::tree_evaluator::get_bp_table(), octave_map::getfield(), intmap_to_ov(), octave_value::iscell(), octave_map::isempty(), octave_value::isempty(), octave_map::isfield(), name, Array< T >::numel(), octave_value(), octave::bp_table::parse_dbfunction_params(), print_usage(), octave::tree_evaluator::reset_debug_state(), and retval.
OCTAVE_EXPORT octave_value_list Fdbtype | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 629 of file debug.cc.
References do_dbtype(), error(), octave_user_code::fcn_file_name(), octave::tree_evaluator::get_user_code(), max(), min(), octave_stdout, and ovl().
OCTAVE_EXPORT octave_value_list Fdbup | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 1034 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 567 of file debug.cc.
References octave::tree_evaluator::debug_where(), octave_stdout, and ovl().
OCTAVE_EXPORT octave_value_list Fisdebugmode | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 1186 of file debug.cc.
References octave::tree_evaluator::in_debug_repl(), ovl(), and print_usage().
Referenced by octave::octave_qscintilla::contextmenu_run().
|
static |
Definition at line 63 of file debug.cc.
References Array< T >::resize(), and retval.
Referenced by Fdbstop().
void show_octave_dbstack | ( | void | ) |
Definition at line 945 of file debug.cc.
References octave::__get_interpreter__(), and do_dbstack().