#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_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 821 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(), n, octave_map::numel(), ovl(), print_usage(), and octave_value::string_value().
Referenced by Fdbstack(), and show_octave_dbstack().
|
static |
Definition at line 567 of file debug.cc.
References fcn_file_in_path(), and ifstream().
|
static |
Definition at line 987 of file debug.cc.
References 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 1191 of file debug.cc.
References ovl(), print_usage(), and state.
Referenced by main_window::debug_continue(), main_window::debug_step_into(), main_window::debug_step_out(), and main_window::debug_step_over().
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 | |||
) |
Definition at line 1118 of file debug.cc.
References error(), ovl(), and print_usage().
Referenced by main_window::debug_continue().
OCTAVE_EXPORT octave_value_list Fdbdown | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 1037 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 755 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(), n, 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 1141 of file debug.cc.
References error(), ovl(), and print_usage().
Referenced by main_window::debug_quit().
OCTAVE_EXPORT octave_value_list Fdbstack | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 981 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 372 of file debug.cc.
References octave_map::assign(), octave_map::begin(), canonicalize_file_name(), octave_map::contents(), octave_map::end(), err_wrong_type_arg(), error(), f, octave_map::isempty(), m, octave_stdout, octave_value(), ovl(), octave_map::setfield(), and octave_value::size().
Referenced by file_editor_tab::update_breakpoints().
OCTAVE_EXPORT octave_value_list Fdbstep | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 1065 of file debug.cc.
References error(), n, ovl(), and print_usage().
Referenced by main_window::debug_step_into(), main_window::debug_step_out(), and main_window::debug_step_over().
OCTAVE_EXPORT octave_value_list Fdbstop | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 168 of file debug.cc.
References bp_lines_to_ov(), octave_value::cell_value(), error(), octave_map::getfield(), Cell::insert(), octave_value::iscell(), octave_map::isempty(), octave_value::isempty(), octave_map::isfield(), Array< T, Alloc >::numel(), octave_value(), and print_usage().
OCTAVE_EXPORT octave_value_list Fdbtype | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 619 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 1022 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 557 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 1174 of file debug.cc.
References ovl(), and print_usage().
Referenced by octave_qscintilla::contextmenu_run().
void show_octave_dbstack | ( | void | ) |
Definition at line 938 of file debug.cc.
References __get_interpreter__(), and do_dbstack().