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: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55178] Improved debug on error behaviour inside octave core functions
Date: Wed, 10 Nov 2021 08:43:56 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

Strange, here is what I see with my proposed change:


octave:1> debug_on_error (true); plot
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.
stopped in plot at line 222
[/net/devtty/scratch/jwe/src/octave/scripts/plot/draw/plot.m] 
222:     print_usage ();
debug> dbwhere
stopped in plot at line 222
[/net/devtty/scratch/jwe/src/octave/scripts/plot/draw/plot.m] 
debug> dbstack
stopped in:

  --> plot at line 222
[/net/devtty/scratch/jwe/src/octave/scripts/plot/draw/plot.m]


So it seems to work for me.


    _______________________________________________________

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]