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

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

[Octave-bug-tracker] [bug #55178] Improved debug on error behaviour insi


From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #55178] Improved debug on error behaviour inside octave core functions
Date: Mon, 8 Nov 2021 04:27:20 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0

Follow-up Comment #5, bug #55178 (project octave):

This problem may be related to the implementation of error command.
I have created a test case calling imresize() in image package with illegal
parameters. The debugger stops in "print_usage" function instead of where the
"error" command is called. Just run the file and enter 


> dbstack

  --> print_usage at line 98 [C:\Program Files\GNU
Octave\Octave-6.3.0\mingw64\share\octave\6.3.0\m\help\print_usage.m]
         imresize at line 64 [C:\Program Files\GNU
Octave\Octave-6.3.0\mingw64\share\octave\packages\image-2.12.0\imresize.m]
       dbtestfunc at line 9 [Z:\Software\DebugTest.m]
        DebugTest at line 13 [Z:\Software\DebugTest.m]


I would like to see this result instead:

> dbstack

  --> imresize at line 64 [C:\Program Files\GNU
Octave\Octave-6.3.0\mingw64\share\octave\packages\image-2.12.0\imresize.m]
       dbtestfunc at line 9 [Z:\Software\DebugTest.m]
        DebugTest at line 13 [Z:\Software\DebugTest.m]



(file #52222)
    _______________________________________________________

Additional Item Attachment:

File name: DebugTest.m                    Size:0 KB
    <https://file.savannah.gnu.org/file/DebugTest.m?file_id=52222>



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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