bugGNU Octave - Bugs: bug #45737, Exiting debug mode unintentionally...

 
 

bug #45737: Exiting debug mode unintentionally (#42309)

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Tue 11 Aug 2015 10:01:27 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  ttl
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 05 Sep 2015 10:09:18 AM UTC, comment #3: 

Ihave pushed the patch with changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/3be09ebf2105

Torsten Lilge <ttl>
Group Member
Fri 21 Aug 2015 07:53:00 AM UTC, comment #2: 

The cset in comment #1 works fine for me on Linux & Windows.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 15 Aug 2015 07:56:44 AM UTC, comment #1: 

I can confirm this. It seems that this bug has returned with cset http://hg.savannah.gnu.org/hgweb/octave/rev/c5f0df2a7291 where command_editor::interrupt replaced command_editor::accept_line. Using the latter again fixes the bug for me and I do not encounter any problems using dbcont at the command line (which was the reason for the cset mentioned above).

I have attached a patch for testing.

(file #34650)

Torsten Lilge <ttl>
Group Member
Tue 11 Aug 2015 10:01:27 PM UTC, original submission:  

I'm running into bug 42309 again: debug mode is exited prematurely when executing from the Editor (Save File and Run).

http://savannah.gnu.org/bugs/?42309


Here is my test function:

function silly()

disp('here')

keyboard

disp('oops')


And here is the output from the terminal (note I launched the function from the Editor with the GUI button):

>> silly

stopped in /home/ceral/Documents/MATLAB/silly.m at line 5
5: keyboard
here
debug> qqq
oops

>> silly

stopped in /home/ceral/Documents/MATLAB/silly.m at line 5
5: keyboard
here
debug> qqq
oops

>>

Ceral Paquet <octavebugs>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34650:  bug45737_v01.patch added by ttl (827B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Updated the item)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 13 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-04 mtmiller Attached File#38103 Removed
    2016-08-04 mtmiller Attached File#38102 Removed
    2016-08-04 mtmiller Attached File#38101 Removed
    2016-08-04 mtmiller Attached File#38100 Removed
    2016-08-04 None Attached File- Added Landkaart Amikejo n-Moresnet.jpg, #38100
        Attached File- Added moresnet.png, #38101
        Attached File- Added Gebied Belgisch-NEUTRAAL-Pruizisch Moresnet.jpg, #38102
        Attached File- Added Amikejo - Neutral Area.jpg, #38103
    2015-09-05 ttl StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2015-08-15 ttl Assigned toNone ttl
    2015-08-15 ttl Attached File- Added bug45737_v01.patch, #34650
        StatusNone Patch Submitted

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code