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

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

[Octave-bug-tracker] [bug #39329] dbstatus won't show breakpoints in sub


From: Rik
Subject: [Octave-bug-tracker] [bug #39329] dbstatus won't show breakpoints in subfunctions entered by line number
Date: Mon, 24 Jun 2013 02:50:35 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

URL:
  <http://savannah.gnu.org/bugs/?39329>

                 Summary: dbstatus won't show breakpoints in subfunctions
entered by line number
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Sun 23 Jun 2013 07:50:34 PM PDT
                Category: Interpreter
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

See the attached m-file which is called func1.m and contains the first
function func1 and a second subfunction func2.


function y = func1 (x)
y = func2 (x);
endfunction
function y = func2 (x)
y = x + 1;
endfunction


It is possible to set a breakpoint in the subfunction by using a line number. 
This function is not visible with dbstatus, but is a valid breakpoint.


dbstop ("func1", 5)
ans = 5 
dbstatus  # shows nothing
func1 (1)
stopped in /home/rik/downloads/func1.m at line 5
5: y = x + 1;







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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