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

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

[Octave-bug-tracker] [bug #30490] Error in breakpoint tree walker


From: anonymous
Subject: [Octave-bug-tracker] [bug #30490] Error in breakpoint tree walker
Date: Fri, 30 Jul 2010 14:06:17 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16

Follow-up Comment #4, bug #30490 (project octave):

I think I have a partial fix.  I added a call to tree::set_breakpoint() (i.e.
a call to the base class's virtual function to actual set the bp boolean flag
to true).  This now is "almost"working.  What I mean by "almost" is as
follows:

1) Setting a breakpoint on an if line works and shows up in calls to
dbstatus
2) Setting a breakpoint on a line inside and if..else..end block works, but
does not show up in calls to dbstatus.

And to clarify, when I say the breakpoint works, I mean that when the
function is executed the function stops on the line where the breakpoint was
set.  So for breakpoints set on a line inside an if..else..end block (and I'm
assuming the same for a while block but haven't tested it) the breakpoint is
hit when executing the function, but does not show up in the call to dbstatus.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30490>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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