[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53288] clear all clears breakpoints
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #53288] clear all clears breakpoints |
Date: |
Mon, 5 Mar 2018 04:16:29 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #1, bug #53288 (project octave):
For code, use verbatim-markup avoid interpretation as rich text:
https://savannah.gnu.org/cookbook/?func=detailitem&item_id=125
Confirmed here. A simpler example is
octave:14> dbstatus
octave:15> dbstop print
ans = 316
octave:16> dbstatus
breakpoint in print at line 316
octave:17> clear all
octave:18> dbstatus
octave:19>
I suspect it has something to do with the function clearing as described in
the doc:
The following options are available in both long and short form
'-all, -a'
Clear all local and global user-defined variables and all
functions from the symbol table.
Whatever it means for functions to be cleared from the symbol table might also
be clearing breakpoints associated with those functions. To illustrate, make
the "clear" more specific:
octave:19> dbstatus
octave:20> dbstop print
ans = 316
octave:21> dbstop plot
ans = 211
octave:22> dbstatus
breakpoint in plot at line 211
breakpoint in print at line 316
octave:23> clear print
octave:24> dbstatus
breakpoint in plot at line 211
octave:25>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53288>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/