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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55178] Improved debug on error behaviour inside octave core functions
Date: Wed, 10 Nov 2021 09:20:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.44

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

@jwe: Your proposed change works for me on Windows 10 with Octave 6.4.0:

>> debug_on_error (true); plot
C:\PROGRA~1\GNUOCT~1\OCTAVE~1.0\mingw64\bin\makeinfo: warning: error loading
./Config: Can't locate ./Config at
C:\PROGRA~1\GNUOCT~1\OCTAVE~1.0\mingw64\bin\makeinfo line 345.

error: Invalid call to plot.  Correct usage is:

 -- plot (Y)
 -- plot (X, Y)
 -- plot (X, Y, FMT)
 -- plot (..., PROPERTY, VALUE, ...)
 -- plot (X1, Y1, ..., XN, YN)
 -- plot (HAX, ...)
 -- H = plot (...)

Additional help for built-in functions and operators is
available in the online version of the manual.  Use the command
'doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at https://www.octave.org and via the help@octave.org
mailing list.
debug> dbstack
stopped in:

  --> plot at line 220 [C:\Program Files\GNU
Octave\Octave-6.4.0\mingw64\share\octave\6.4.0\m\plot\draw\plot.m]


@gwiora: Did you actually edit print_usage.m with the change jwe proposed in
comment #15?


    _______________________________________________________

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]