[bug #68396] dbstop and dbstatus do not yet work with private functions
Andy Potvin <[email protected]> Mon, 25 May 2026 09:57:56 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
URL:
<https://savannah.gnu.org/bugs/?68396>
Summary: dbstop and dbstatus do not yet work with private
functions
Group: GNU Octave
Submitter: afpotvin
Submitted: Mon 25 May 2026 01:57:50 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Andy Potvin
Originator Email:
Open/Closed: Open
Discussion Lock: Unlocked
Release: 10.3.0
Operating System: Any
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 25 May 2026 01:57:50 PM UTC By: Andy Potvin <afpotvin>
If the requested functionality/fix was added 11.1.0, please ignore; I don't
have that yet (waiting for next release).
Anyway, the subject line says it all. I have a directory (sudoku) on my path;
I have a function p_72_FN_Dual in the private directory of the sudoku
directory. I am in my matlab directory at the time I issue the following
commands at Octave; sudoku is a subdirectory.
>> dbstop in p_72_FN_Dual
error: add_breakpoints_in_function: unable to find function 'p_72_FN_Dual'
>> dbstop in c:\matlab\sudoku\private\p_72_FN_Dual
error: add_breakpoints_in_function: unable to find function
'c:\matlab\sudoku\private\p_72_FN_Dual'
>> dbstop in sudoku\private\p_72_FN_Dual
error: add_breakpoints_in_function: unable to find function
'sudoku\private\p_72_FN_Dual'
>> dbstop in sudoku/private/p_72_FN_Dual
error: add_breakpoints_in_function: unable to find function
'sudoku/private/p_72_FN_Dual'
OK... fine. I can (somewhat inconveniently) work around this. I can set a
breakpoint in the function that calls p_72_FN_Dual and - once I hit that
breakpoint - I can set a breakpoint for p_72_FN_Dual.
Now once I'm done my debugging and I'm back at a normal prompt, I want to
clear the breakpoint, but:
>> dbclear all
error: remove_all_breakpoints_from_function: unable to find function
'p_72_FN_Dual'
>>
Thank you for your attention to this matter,
Regards,
Andy
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68396>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCahRVZAAKCRCqLAuaBUf3 TropAP9PAQcVqCFbCcEVz0sNob3/4Qq3O9dcTnfZ4JcqQd+tjAEA+YRNbuFGvImR obzp0i0v79ooLthmyN23zdgq02IUFA0= =i7gg -----END PGP SIGNATURE-----