[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32089] no debugging info after an error in fu
From: |
Eric Chassande-Mottin |
Subject: |
[Octave-bug-tracker] [bug #32089] no debugging info after an error in function |
Date: |
Mon, 10 Jan 2011 14:04:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15) |
URL:
<http://savannah.gnu.org/bugs/?32089>
Summary: no debugging info after an error in function
Project: GNU Octave
Submitted by: ecm
Submitted on: Mon 10 Jan 2011 02:04:28 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Eric Chassande-Mottin
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: GNU/Linux
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32089>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32089] no debugging info after an error in function,
Eric Chassande-Mottin <=