bugGNU Octave - Bugs: bug #38983, Debugger does a dbcont in response...

 
 

bug #38983: Debugger does a dbcont in response to workspace right mouse button function

Submitted by:  Dan Sebald <sebald>
Submitted on:  Tue May 14 03:50:19 2013  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu Mar 20 15:38:49 2014, comment #2:

Is this bug still a problem? There has been a lot of work on the GUI and debugger. I just tried debugging a function and right-clicking and no dbcont occurred. This was on the development branch with tip 89a8a90ac850.

Rik <rik5>
Project Administrator
Fri Oct 18 10:53:08 2013, comment #1:

The attached patch fixes the issue for me. It replaces

by

in the callback function for executing commands. My knowledge of the command editor is very limited and I have no idea what side effects may occur (except for the extra newline that is displayed for every command) but maybe this is a hint into the right direction.

(file #29400)

Torsten <ttl>
Project Member
Tue May 14 03:50:19 2013, original submission:

When in debug mode, looking at the workspace variable using the right mouse click "disp()" routine will cause the debugger to continue. As an example, open uigetfile.m in the editor window and set a breakpoint at the first line inside the function, i.e.,

then type "uigetfile" at the command line in the terminal window.

When the debugger breaks, type "disp(varargin)". I see:

Now, do the equivalent command via the workspace. Right click on the variable "varargin" in the workspace window and select "disp(varargin)". The debugger will continue as though a "dbcont" was issued and the file selector pops up. Pressing "cancel" results in

Dan Sebald <sebald>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29400:  bug38983_p01.diff added by ttl (522B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by siko1056 (Updated the item)
  • -unavailable- added by ttl (Updated the item)
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by sebald (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Sep 28 14:44:40 2015siko1056StatusPatch Submitted=>Fixed
    Tue Apr 8 01:11:04 2014rik5Open/ClosedOpen=>Closed
    Fri Oct 18 14:43:44 2013rik5StatusNone=>Patch Submitted
    Fri Oct 18 10:53:08 2013ttlAttached File-=>Added bug38983_p01.diff, #29400
    Thu Oct 17 21:41:58 2013rik5CategoryInterpreter=>GUI

    Back to the top


    Powered by Savane 3.1-cleanup