bugGNU Octave - Bugs: bug #39329, dbstatus won't show breakpoints in...

 
 

bug #39329: dbstatus won't show breakpoints in subfunctions entered by line number

Submitter:  Rik <rik5>
Submitted:  Mon 24 Jun 2013 02:50:34 AM UTC
   
 
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  lachlan
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 12 Feb 2016 06:25:21 AM UTC, comment #2: 

Indeed, this has all been fixed up.  Thanks for the massive patch on breakpoints.  Closing report.

Rik <rik5>
Group administrator
Mon 08 Feb 2016 05:58:10 AM UTC, comment #1: 
Lachlan Andrew <lachlan>
Mon 24 Jun 2013 02:50:34 AM UTC, original submission:  

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;



Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-12 rik5 Open/ClosedOpen Closed
    2016-02-08 lachlan StatusNone Fixed
        Assigned toNone lachlan

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code