[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65610] unable to set breakpoints within set o
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes |
Date: |
Thu, 25 Apr 2024 02:59:01 -0400 (EDT) |
Follow-up Comment #10, bug #65610 (group octave):
Thank you for the review. I'm happy I didn't misunderstand the classdef
implementation completely.
I'd need to check that again. But IIRC, a user could try to set a breakpoint
in a line without code (e.g., a line between function definitions of classdef
files). In that case, the `get_method` function is expected to return the
"closest" match. (ISTR that is the first valid one *below* the actually
selected line.)
It might be possible to interrupt that search early (without missing a
"closer" match). We could potentially also check against `beg_pos` instead of
only against `end_pos` and break when the selected line is between those.
I haven't checked whether that would need additional logic for handling
sub-functions that are defined in the body of a classdef method. (Maybe, they
aren't handled correctly right now. Haven't checked.)
But it might be better to do that in follow-up changes if you agree.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65610>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, (continued)
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Markus Mützel, 2024/04/18
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Markus Mützel, 2024/04/18
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Markus Mützel, 2024/04/18
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Markus Mützel, 2024/04/19
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Markus Mützel, 2024/04/20
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Liang Tang, 2024/04/20
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Markus Mützel, 2024/04/20
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Nicholas Jankowski, 2024/04/23
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, Markus Mützel, 2024/04/24
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes, John W. Eaton, 2024/04/24
- [Octave-bug-tracker] [bug #65610] unable to set breakpoints within set or get functions of classdef classes,
Markus Mützel <=