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

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

[Octave-bug-tracker] [bug #60264] Octave error messages omit filename, t


From: PIERRE LABRECHE
Subject: [Octave-bug-tracker] [bug #60264] Octave error messages omit filename, thus locating error is difficult
Date: Sat, 20 Mar 2021 16:55:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?60264>

                 Summary: Octave error messages omit filename, thus locating
error is difficult
                 Project: GNU Octave
            Submitted by: pierre5018
            Submitted on: sam. 20 mars 2021 20:55:11 UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: PIERRE LABRECHE
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

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





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60264>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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