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

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

[Octave-bug-tracker] [bug #48082] Cannot set breakpoint on files that ha


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #48082] Cannot set breakpoint on files that have invalid identifiers as names
Date: Thu, 2 Jun 2016 00:24:20 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Update of bug #48082 (project octave):

                  Status:                    None => Confirmed              
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #1:

Thanks for the report, Emma.

A breakpoint is set by placing a note in the parse tree of the function, and
so the function must be syntactically correct, which by default includes
having a valid name.

Matlab is also unable to place breakpoints in invalid functions, although
trying to set a breakpoint in the GUI causes it to remember the line of the
request and place the breakpoint once the syntax errors are fixed.


However, if the only syntax error is the name, then I think it is possible to
make the breakpoint work by explicitly loading the file into the symbol table.
 If the more senior developers thing that that is the right approach, I'm
happy to take a go at implementing it.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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