bugGNU Octave - Bugs: bug #42344, debug mode always returns last ans

 
 

bug #42344: debug mode always returns last ans

Submitted by:  Muhali <muhali>
Submitted on:  Tue 13 May 2014 11:14:31 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Wont FixAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 13 May 2014 12:11:27 PM UTC, comment #1:

Thanks for your bug report. This is the expected behavior. In debug mode, the shell is intended to execute the previous command when pressing enter, to mimic the way gdb works. This is to allow easier stepping with dbstep, for example.

This is documented in the manual, see the last paragraph of http://www.gnu.org/software/octave/doc/interpreter/Debug-Mode.html.

Mike Miller <mtmiller>
Project Administrator
Tue 13 May 2014 11:14:31 AM UTC, original submission:

in debug mode, issuing a command with output, e.g.

octave returns 'ans = 1' as expected. But the same answer is returned when this is followed by the empty command (just pressing return).

Muhali <muhali>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by muhali (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 13 May 2014 12:11:27 PM UTCmtmillerStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1