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

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

[Octave-bug-tracker] [bug #46795] dbstop lacks much Matlab functionality


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #46795] dbstop lacks much Matlab functionality
Date: Wed, 13 Jan 2016 06:41:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #22, bug #46795 (project octave):

Thanks for the feedback in comment #18, Philip. I hadn't tested conditions
with quotes before.  The problem is with the parser, before it gets to the
dbstop command at all.  For example,


dbstop in strread at 209 if format == '"%f"'


works fine, as does


dbstop ("in", "strread.m", "at", "209", "if", 'format', '==', '"%f"')


Somehow, the parser is treating the % as a comment character, even though it
is in quotes.

For the CLI, I think the best option is simply to document the fact that
"special" characters in the condition need to be in quotes.  I've improved the
validation of the condition so it should sometimes give clearer messages.  The
GUI works fine, since it bypasses the parser.


The three changesets are attached, to be applied in the order markers, cli,
gui.

(file #36007, file #36008, file #36009)
    _______________________________________________________

Additional Item Attachment:

File name: dbstop_20160113_cli.cset       Size:72 KB
File name: dbstop_20160113_markers.cset   Size:8 KB
File name: dbstop_20160113_gui.cset       Size:44 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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