bugGNU Octave - Bugs: bug #51389, Impossible to set breakpoints on...

 
 

bug #51389: Impossible to set breakpoints on lines with only "end" keyword

Submitted by:  None
Submitted on:  Wed 05 Jul 2017 11:46:37 AM UTC  
 
Category: Octave FunctionSeverity: 1 - Wish
Priority: 3 - LowItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: KidronOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 05 Jul 2017 01:49:39 PM UTC, comment #2:

At the moment, you cannot put a breakpoint in a line that only contains an "end" keyword. It looks like you can in Matlab. I changed the title accordingly.

Since there is an easy workaround (set the breakpoint in the last possible line before the "end" keyword), I lowered the severity and priority and changed to "feature request".
The behavior is still the same in dev and present on any operating system.

Markus Mützel <mmuetzel>
Project Member
Wed 05 Jul 2017 12:41:02 PM UTC, comment #1:

when line number was changed 4 --> 3,
dbstop in "zerocross" at 3 if k*(k-1)<0
it did stop.
I counted lines including the Function line
------------------------------------
stopped in C:\Users\Naftali\Desktop\zerocross.m at line 3
3: k * (k - 1)
ans = 30
ans = 19.110
ans = 10.640
ans = 4.5900
ans = 0.96000
debug>

Anonymous
Wed 05 Jul 2017 11:46:37 AM UTC, original submission:

command:
dbstop in "zerocross" at 3 if k*(k-1) < 0
function:
function zerocross
for k = -5:1.1:5
k * (k - 1)
endfor
endfunction

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #41124:  zerocross.m added by None (315B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mmuetzel (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Jul 2017 01:49:39 PM UTCmmuetzelSeverity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low
      Item GroupIncorrect Result=>Feature Request
      StatusNone=>Confirmed
      Release4.2.1=>dev
      Operating SystemMicrosoft Windows=>Any
      Summarydbstop does not on if clause=>Impossible to set breakpoints on lines with only "end" keyword
    Wed 05 Jul 2017 11:46:37 AM UTCNoneAttached File-=>Added zerocross.m, #41124

    Back to the top


    Powered by Savane 3.1-cleanup1