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

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

[Octave-bug-tracker] [bug #47685] debug_on_error fails in erroneous call


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47685] debug_on_error fails in erroneous calls to line ()
Date: Wed, 13 Apr 2016 09:55:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

URL:
  <http://savannah.gnu.org/bugs/?47685>

                 Summary: debug_on_error fails in erroneous calls to line ()
                 Project: GNU Octave
            Submitted by: lachlan
            Submitted on: Wed 13 Apr 2016 09:55:17 AM GMT
                Category: Interpreter
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Lachlan
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When debug_on_error is 1, errors should cause debug mode to be entered, but
this doesn't always happen.

In snapshot 32cd60419b61, the following script


function bad_line
  debug_on_error (1);
  line ([1 2 3; 4 5 6], [1 1], 'Color', 'm');
endfunction


throws the error


error: line: number of X, Y, and Z points must be equal
error: called from
    __line__ at line 53 column 7
    line at line 56 column 8
    bad_line at line 3 column 3


without entering debug mode.

(The error itself is solved by the patch for bug #47149.  This bug report is
about the failure to enter debug mode.)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47685>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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