octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46451] unable to set breakpoints within class


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #46451] unable to set breakpoints within classdef classes
Date: Mon, 16 Oct 2023 13:02:36 -0400 (EDT)

Follow-up Comment #53, bug #46451 (project octave):

See also the part of the patch that modifies the BIST in debug.cc:

@@ -538,13 +549,23 @@
 %!   dbstop @audioplayer/set 75;
 %!   dbstop quantile>__quantile__;
 %!   dbstop ls;
-%!   s = dbstatus;
+%!   dbstop in inputParser at addOptional
+%!   dbstop in inputParser at 285
+%!   s = dbstatus ();
 %!   dbclear all;
 %!   assert (s(1).name, "@audioplayer/set>setproperty");
 %!   assert (s(2).name, "@ftp/dir");
+%!   assert (s(2).file(end-10:end), [filesep "@ftp" filesep "dir.m"]);
 %!   assert (s(3).name, "ls");
 %!   assert (s(4).name, "quantile>__quantile__");
-%!   assert (s(2).file(end-10:end), [filesep "@ftp" filesep "dir.m"]);
+%!   ## For Matlab compatibility the following two names should be:
+%!   ## inputParser.inputParser>inputParser.addOptional
+%!   assert (s(5).name, "inputParser");
+%!   assert (s(5).line, 278);
+%!   assert (s(6).name, "inputParser");
+%!   assert (s(6).line, 285);
+%!   s = dbstatus ();
+%!   assert (isempty (s));
 %! unwind_protect_cleanup
 %!   if (isguirunning ())
 %!     __event_manager_gui_preference__ ("editor/show_dbg_file",
orig_show_dbg);




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?46451>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]