bugGNU Octave - Bugs: bug #32089, no debugging info after an error...

 
 

bug #32089: no debugging info after an error in function

Submitted by:  Eric Chassande-Mottin <ecm>
Submitted on:  Mon 10 Jan 2011 02:04:28 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Eric Chassande-MottinOpen/Closed: Closed
Release: 3.2.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 10 Jan 2011 07:58:56 PM UTC, comment #1:

I see the following behavior in a copy of Octave built from the current development sources:

so I think this problem has been fixed.

John W. Eaton <jwe>
Project Administrator
Mon 10 Jan 2011 02:04:28 PM UTC, original submission:

not completely sure this is a bug really. the following line results in an error but does not return the line at which the error occurred.

octave3.2:2> clear; idx=find([1 2]==3), a(1).a=1; a(2).a=2; b=a(idx); foo(b)
idx = [](1x0)
error: Invalid call to deal. Correct usage is:

-- Function File: [R1, R2, ..., RN] = deal (A)
-- Function File: [R1, R2, ..., RN] = deal (A1, A2, ..., AN)

function y=foo(x)

y=deal(x.a)

endfunction

Eric Chassande-Mottin <ecm>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by ecm (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 Jan 2011 07:58:56 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1