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

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

[Octave-bug-tracker] [bug #56219] debugger frame initializes too low whe


From: Rik
Subject: [Octave-bug-tracker] [bug #56219] debugger frame initializes too low when using 'dbstop if error'
Date: Fri, 26 Apr 2019 14:21:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #56219 (project octave):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 
                 Release:                   5.1.0 => dev                    
        Operating System:                  Mac OS => Any                    

    _______________________________________________________

Follow-up Comment #1:

For reference, here is a test case which is attached as tst_debug_frame.m


function tst_debug_frame ()
  subfunction1 ();
  x = 1;
endfunction

function subfunction1 ()
  subfunction2 ();
  y = 2;
endfunction

function subfunction2 ()
  error ("Stop, and enter debugger");
  z = 3;
endfunction


Steps to Reproduce


debug_on_error (1)
tst_debug_frame
dbup


This bug is apparently of long standing as versions 5.1, 4.4, and 4.2 all have
the same problem.  Happily, this has already been fixed on the development
branch which will become 6.1.


(file #46834)
    _______________________________________________________

Additional Item Attachment:

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



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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