bugGNU Octave - Bugs: bug #46608, error() always prints backtrace

 
 

bug #46608: error() always prints backtrace

Submitted by:  Rik <rik5>
Submitted on:  Sat 05 Dec 2015 01:15:22 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: John W. Eaton <jwe>
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 08 Dec 2015 02:46:27 PM UTC, comment #3:

Verified fix. Thanks jwe. Closing report.

Rik <rik5>
Project Administrator
Tue 08 Dec 2015 06:45:17 AM UTC, comment #2:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/40fc94a24a97

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Tue 08 Dec 2015 06:19:23 AM UTC, comment #1:

This is an unintended change due to my recent work on errors with exception handling. I'll try to take a look at it soon.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Sat 05 Dec 2015 01:15:22 AM UTC, original submission:

In 4.0.0, the backtrace from an error could be disabled by ending the error message with a newline. That is no longer possible in the development version of Octave and the documentation for error() and warning() should be updated.

However, there is a new mechanism to disable backtraces.

Unfortunately, this seems to be inoperative.

With the following function tst_err.m,

the sample session is

Rik <rik5>
Project Administrator

 

(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 rik5 (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Dec 2015 02:46:27 PM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 08 Dec 2015 06:45:17 AM UTCjweStatusNone=>Ready For Test
    Tue 08 Dec 2015 06:19:23 AM UTCjweAssigned toNone=>jwe

    Back to the top


    Powered by Savane 3.1-cleanup1