Mercurial > octave
view scripts/startup/version-rcfile @ 33571:742d8fc77688 default tip @
Support setting breakpoints in get and set methods of classdef properties (bug #65610).
* cdef-class.cc (cdef_class::cdef_class_rep::get_method): Also check for any
`get` or `set` methods of `classdef` properties.
* bp-table.cc (user_code_provider::operator ()): Support getting (closest) user
code to `get` or `set` methods of `classdef` classes.
(user_code_provider::populate_function_cache): Add `get` and `set` methods to
function cache for `classdef` classes.
* pt-eval.cc (tree_evaluator::get_user_code): Support getting user code for
`get` or `set` methods of `classdef` properties.
* test/classdef-debug/classdef_breakpoints2.m: Add handle class with get and
set methods for new self tests.
* test/classdef-debug/test-classdef-breakpoints.tst: Add new tests for adding
and clearing breakpoints in `set` and `get` methods of `classdef` properties by
line number or function name. Make sure breakpoints are deleted in existing
tests also on test failures. Fix syntax error in 69eb4c27d8c8.
* test/classdef-debug/module.mk: Add new file to build system.
* etc/NEWS.10.md: Add note about new feature.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 20 Apr 2024 13:13:50 +0200 |
parents | f51e8a7c33f4 |
children |
line wrap: on
line source
## System-wide startup file for Octave. ## ## If the environment variable OCTAVE_VERSION_INITFILE is set when Octave ## starts, then that file is executed instead of this file. ## ## This file contains commands that should be executed each time Octave starts ## for every user at this site. ## Configure readline using the file inputrc in the Octave startup directory. readline_read_init_file (sprintf ("%s%s%s", __octave_config_info__ ("startupfiledir"), filesep, "inputrc")); ## Re-read user's personal inputrc to give precedence over Octave's default. inputrc = getenv ("INPUTRC"); if (isempty (inputrc) && exist ("~/.inputrc", "file")) inputrc = "~/.inputrc"; endif if (! isempty (inputrc)) readline_read_init_file (inputrc); endif clear ("inputrc"); ## Configure LESS pager if present if (strcmp (PAGER (), "less") && isempty (getenv ("LESS"))) PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$"'); endif