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

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

[Octave-bug-tracker] [bug #54789] 'keyboard' in function inside script f


From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #54789] 'keyboard' in function inside script file no longer gives debugging console
Date: Fri, 5 Oct 2018 13:15:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

                 Summary: 'keyboard' in function inside script file no longer
gives debugging console
                 Project: GNU Octave
            Submitted by: andy1978
            Submitted on: Fri 05 Oct 2018 05:15:43 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In Octave 4.2.2 it was possible to use "keyboard" inside a function defined in
a script file.

file foobar.m

1;

function z = add (x, y)
  z = x + y;
  keyboard
endfunction

add (2, 3)


In 4.2.2 this gave "stopped in add at line 6"

In 4.4.1:

octave:1> foobar
error: add: no such file, ''
error: called from
   add at line 6 column 3
   foobar at line 10 column 1





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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