Mercurial > octave
diff etc/NEWS.10.md @ 33571:742d8fc77688
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 | 62fca924fe85 |
children | b2af12232f75 |
line wrap: on
line diff
--- a/etc/NEWS.10.md Sat May 11 14:59:27 2024 +0200 +++ b/etc/NEWS.10.md Sat Apr 20 13:13:50 2024 +0200 @@ -31,6 +31,9 @@ - The third output for `unique` is now correct when `stable` sort option is used. +- Support setting breakpoints in `set` or `get` methods of `classdef` + properties (bug #65610). + ### Graphical User Interface ### Graphics backend