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

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

[Octave-bug-tracker] [bug #56018] "dbclear all" does not fully remove br


From: Rik
Subject: [Octave-bug-tracker] [bug #56018] "dbclear all" does not fully remove breakpoints in subfunctions
Date: Thu, 28 Mar 2019 11:14:38 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #56018 (project octave):

              Item Group:                    None => Incorrect Result       
                  Status:                    None => Confirmed              
                 Summary: dbclear not working as expected => "dbclear all"
does not fully remove breakpoints in subfunctions

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  In fact, I checked backwards through version 4.2.1 and this
behavior has always been the same.

I changed the summary to be more specific about the issue involved.  I've also
attached the file goo.m that is used for testing.

Here is a test session which demonsrates the problem


octave:2> dbstop goo 2
ans =  2
octave:3> dbstop goo 6
ans =  6
octave:4> dbstatus
breakpoint in goo at line 2 
breakpoint in goo>hoo at line 6 
octave:5> dbclear all
octave:6> dbstatus
octave:7> dbstop goo 2
ans =  2
octave:8> dbstatus
breakpoint in goo at line 2 
breakpoint in goo>hoo at line 6 


If the breakpoint in the subfunction is explicitly cleared then there is no
issue.  See the slightly different sequence below.


octave:2> dbstop goo 2
ans =  2
octave:3> dbstop goo 6
ans =  6
octave:4> dbstatus
breakpoint in goo at line 2 
breakpoint in goo>hoo at line 6 
octave:5> dbclear goo>hoo
octave:6> dbstatus
breakpoint in goo at line 2 
octave:7> dbclear all
octave:8> dbstatus
octave:9> dbstop goo 2
ans =  2
octave:10> dbstatus
breakpoint in goo at line 2 


This is likely to be related to how breakpoints are organized which is under
the name of the main function.  


(file #46655)
    _______________________________________________________

Additional Item Attachment:

File name: goo.m                          Size:0 KB
    <https://savannah.gnu.org/file/goo.m?file_id=46655>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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