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

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

[Octave-bug-tracker] [bug #54231] GUI attempts to open file for function


From: Rik
Subject: [Octave-bug-tracker] [bug #54231] GUI attempts to open file for function declared at top-level
Date: Mon, 2 Jul 2018 12:58:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #54231 (project octave):

                  Status:               Need Info => Confirmed              
                 Summary: In debug mode an inline function is not known. =>
GUI attempts to open file for function declared at top-level

    _______________________________________________________

Follow-up Comment #3:

I'm adding jwe to the CC list.

The issue is when the GUI needs access to a function, say to follow the code
execution line-by-line when operating in the debugger, and that function is
not associated with any file, for example it was declared on the command line,
then the editor can't find said function and throws up a warning dialog
window.

Steps to reproduce:

1) Use the built-in editor of the GUI (Preferences)
2) Launch the GUI (run-octave --gui)
3) Declare a function at the command line


function r = myfunc ()
  r = pi
end


4) Set a breakpoint in the function


dbstop myfunc


5) Execute the function


myfunc


This throws up the warning dialog, "File myfunc does not exist. Do you want to
create it?"



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54231>

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




reply via email to

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