GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
debug.cc File Reference
#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"
Include dependency graph for debug.cc:

Go to the source code of this file.

Functions

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)
 
static octave_value intmap_to_ov (const octave::bp_table::intmap &line)
 
void show_octave_dbstack (void)
 

Function Documentation

◆ do_dbstack()

◆ do_dbtype()

static void do_dbtype ( std::ostream &  os,
const std::string &  name,
int  start,
int  end 
)
static

Definition at line 577 of file debug.cc.

References octave::fcn_file_in_path(), octave::sys::ifstream(), and name.

Referenced by Fdblist(), and Fdbtype().

◆ do_dbupdown()

static void do_dbupdown ( octave::interpreter interp,
const octave_value_list args,
const std::string &  who 
)
static

◆ F__db_next_breakpoint_quiet__()

◆ Fdbclear()

◆ Fdbcont()

OCTAVE_EXPORT octave_value_list Fdbcont ( octave::interpreter interp,
const octave_value_list args,
int   
)

◆ Fdbdown()

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().

◆ Fdblist()

◆ Fdbquit()

OCTAVE_EXPORT octave_value_list Fdbquit ( octave::interpreter interp,
const octave_value_list args,
int   
)

◆ Fdbstack()

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.

◆ Fdbstatus()

◆ Fdbstep()

◆ Fdbstop()

◆ Fdbtype()

OCTAVE_EXPORT octave_value_list Fdbtype ( octave::interpreter interp,
const octave_value_list args,
int   
)

◆ Fdbup()

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().

◆ Fdbwhere()

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().

◆ Fisdebugmode()

OCTAVE_EXPORT octave_value_list Fisdebugmode ( octave::interpreter interp,
const octave_value_list args,
int   
)

◆ intmap_to_ov()

static octave_value intmap_to_ov ( const octave::bp_table::intmap line)
static

Definition at line 63 of file debug.cc.

References Array< T >::resize(), and retval.

Referenced by Fdbstop().

◆ show_octave_dbstack()

void show_octave_dbstack ( void  )

Definition at line 945 of file debug.cc.

References octave::__get_interpreter__(), and do_dbstack().