Mercurial > octave
changeset 32105:edbe81ee00c5
maint: merge stable to default
author | Rik <rik@octave.org> |
---|---|
date | Sat, 03 Jun 2023 20:28:49 -0700 |
parents | 32313c5e1bfc (current diff) 73720920057e (diff) |
children | 4ae5e5b62481 |
files | libinterp/corefcn/debug.cc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/debug.cc Wed May 31 10:44:35 2023 -0700 +++ b/libinterp/corefcn/debug.cc Sat Jun 03 20:28:49 2023 -0700 @@ -236,6 +236,10 @@ std::string unconditional = ""; for (octave_idx_type i = 0; i < line.numel (); i++) { + // FIXME: This isn't very clear, but add_breakpoints_in_function + // requires this argument to be of type bp_table::bp_lines type + // which is std::set<int>. + lines.clear (); lines.insert (line(i).int_value ()); bptab.add_breakpoints_in_function (name(i).string_value (), "", lines,