[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41338] dbstatus() doesn't return all breakpoi
From: |
Markus Appel |
Subject: |
[Octave-bug-tracker] [bug #41338] dbstatus() doesn't return all breakpoints when called in a function |
Date: |
Fri, 24 Jan 2014 18:03:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
URL:
<http://savannah.gnu.org/bugs/?41338>
Summary: dbstatus() doesn't return all breakpoints when
called in a function
Project: GNU Octave
Submitted by: mappel
Submitted on: Fri 24 Jan 2014 06:03:32 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.0
Operating System: GNU/Linux
_______________________________________________________
Details:
dbstatus() called within a function to retrieve the list of all active
breakpoints doesn't show all of them. Only when specifically asked,
dbstatus("func") returns the breakpoints in func.
Code example:
dbclear magic
allbreaks = dbstatus()
magicbreaks = dbstatus("magic")
% both above return empty struct
dbstop magic
allbreaks = dbstatus()
magicbreaks = dbstatus("magic")
% both above show breakpoint in magic
function lookforbreaks ()
allbreaks = dbstatus()
magicbreaks = dbstatus("magic")
endfunction
lookforbreaks()
% only dbstatus("magic") sees breakpoint in magic
When an additional breakpoint is set in the function lookforbreaks(),
dbstatus() within the function sees only that one.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41338>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41338] dbstatus() doesn't return all breakpoints when called in a function,
Markus Appel <=