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 14 May 2013 03:50:19 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Patch SubmittedAssigned 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 20 Mar 2014 03:38:49 PM UTC, 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 18 Oct 2013 10:53:08 AM UTC, 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 14 May 2013 03:50:19 AM UTC, 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 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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Apr 2014 01:11:04 AM UTCrik5Open/ClosedOpen=>Closed
    Fri 18 Oct 2013 02:43:44 PM UTCrik5StatusNone=>Patch Submitted
    Fri 18 Oct 2013 10:53:08 AM UTCttlAttached File-=>Added bug38983_p01.diff, #29400
    Thu 17 Oct 2013 09:41:58 PM UTCrik5CategoryInterpreter=>GUI

    Back to the top


    Powered by Savane 3.1-cleanup