bugGNU Octave - Bugs: bug #60264, Octave error messages omit...

 
 

bug #60264: Octave error messages omit filename, thus locating error is difficult

Submitted by:  PIERRE LABRECHE <pierre5018>
Submitted on:  Sat 20 Mar 2021 08:55:11 PM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  PIERRE LABRECHE Open/Closed:  Open
Release:  6.2.0 Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Sat 20 Mar 2021 08:55:11 PM UTC, original submission:  

When an error message is displayed, the function name is listed, but not the file name.

When OO style is used the same function name can exist in many classdef structures.  A function name and its classdef name can be totally unrelated.

It would be advisable to add the filename to error messages.

For example, this error message

error: no such method or property 'foo'
error: called from
    function_fct at line 36 column 24

... is less user-friendly than

error: no such method or property 'foo'
error: called from
    function_fct in file myclass.m at line 36 column 24

PIERRE LABRECHE <pierre5018>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pierre5018 (Submitted the item)
  • -email is unavailable- added by pierre5018
  •  

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

    Only project members can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-20 pierre5018 Carbon-Copy- => Added pierrelabreche@gmail.com

    Back to the top


    Powered by Savane 3.6