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: Neil Konzen
Subject: [Octave-bug-tracker] [bug #46451] unable to set breakpoints within classdef classes
Date: Mon, 15 Jun 2020 23:32:45 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36

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

Just wanted to say this is quite a painful 5-year-old problem.  

The latest discussion says that it should be possible to at least use dbstop
to set a breakpoint at the start of a class method. I tried various
permutations in Octave 5.2 with no luck:

dbstop in test_class at bar -- too many function names
dbstop in test_class@bar -- unable to find function

Perhaps this feature is in a later Octave version?

For reference here's what test_class looks like:


classdef test_class
properties
foo = 123.45;
end
methods
function bar(this)
  this.foo = 9999;
end
end
end




    _______________________________________________________

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]