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

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

[Octave-bug-tracker] [bug #60675] the call debug_on_error(1) generates a


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60675] the call debug_on_error(1) generates a warning: implicit conversion from matrix to sq_string
Date: Fri, 28 May 2021 22:18:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #17, bug #60675 (project octave):

I'm unable to duplicate the problem on Windows.

I also don't see the funny characters.  What is your language setting?  I
think mine is set to UTF8.

I wouldn't expect debug_on_error(1) to cause Octave to enter the debugger on a
warning message.  We have a separate setting for that, enabled by
debug_on_warning(1).  Both seem to work for me with the simple tests I tried:


octave:1> debug_on_error (1)
octave:2> function f () g (), end
octave:3> function g () error ("foobar"), end
octave:4> f
error: foobar
error: called from
    g at line 1 column 15
    f at line 1 column 15
stopped in g at line 1 [] 
1: function g () error ("foobar"), end
debug> dbstack
stopped in:

  --> g at line 1 []
      f at line 1 []


and again for warnings:


octave:1> debug_on_warning (1)
octave:2> function f () g (), end
octave:3> function g () warning ("foobar"), end
octave:4> f
warning: foobar
warning: called from
    g at line 1 column 15
    f at line 1 column 15

stopped in g at line 1 [] 
1: function g () warning ("foobar"), end
debug> dbstack
stopped in:

  --> g at line 1 []
      f at line 1 []


I used Octave 6.2.0 for these tests.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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