bugGNU Octave - Bugs: bug #44455, GUI: workspace pane remains empty...

 
 

bug #44455: GUI: workspace pane remains empty during debugging

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Fri 06 Mar 2015 06:30:10 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  lostbard
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 02 Jun 2015 04:37:34 PM UTC, comment #10: 

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Group administrator
Mon 23 Mar 2015 11:56:28 AM UTC, comment #9: 

Closing report

John Donoghue <lostbard>
Group Member
Fri 20 Mar 2015 12:45:30 PM UTC, comment #8: 
John Donoghue <lostbard>
Group Member
Thu 19 Mar 2015 02:33:23 PM UTC, comment #7: 

Patch to update workspace also when in debug mode.


(file #33398)

John Donoghue <lostbard>
Group Member
Sat 14 Mar 2015 08:09:41 PM UTC, comment #6: 

So we fully agree there (see my comment #2).

Maybe workspace/directory updates should be triggered whenever the CLI is waiting for user input? (some command or "dbnext" or whatever debug stmt)

Philip Nienhuis <philipnienhuis>
Group Member
Sat 14 Mar 2015 06:13:55 PM UTC, comment #5: 

To my personal opinion, being able to see function variables in the workspace widget at a breakpoint is more useful than avoiding unnecessary updates of this widgets.

Torsten Lilge <ttl>
Group Member
Sun 08 Mar 2015 06:54:05 PM UTC, comment #4: 

I know Torsten, but

  • it is a bit beside the point (which is somewhat needless updating of panes while Octave is doing something)
  • I can follow that it might help but that to do that every time before and after I run a script.....
Philip Nienhuis <philipnienhuis>
Group Member
Sun 08 Mar 2015 12:49:20 PM UTC, comment #3: 

Concerning the directory pane: You can switch off the synchronization of the octave directory and the directory shown in the browser (settings dialog, pane "File Browser").

Torsten Lilge <ttl>
Group Member
Sun 08 Mar 2015 11:04:14 AM UTC, comment #2: 

"regression" ok, that's somewhat arguable.
IMO the regression is that the workspace viewer became unusable when it is the most useful/needed, i.e., while debugging.

BTW it's not only updating the workspace pane that takes time while scripts are running; the directory pane is also a hog in this respect, maybe even worse, continuously updating when Octave changes directory in scripts.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 08 Mar 2015 06:02:39 AM UTC, comment #1: 

Confirmed here on Linux. You're probably right about the change making the workspace view not update. Not sure that I'd call this a regression since that was the point of the change, to avoid updating the workspace view except when control returns to the command prompt. I guess the question is can we keep that change but also update the workspace view when a breakpoint prompt is hit?

Mike Miller <mtmiller>
Group Member
Fri 06 Mar 2015 06:30:10 PM UTC, original submission:  

After starting a debugging session as one of the first things after starting Octave (when no variables have been defined yet) I can see no variables / objects / etc. in the workspace pane. I'd expect to see/in earlier Octave versions I saw, the variables belonging to the debugged function/subfunction.

"whos" gives me a complete listing.

Investigating further, when defining just one var in the terminal ("a = 10"), that workspace remains the only visible one during a debug session.

Is this related to cs 793230bb81d4 "don't update workspace viewer unless at top level (bug #44156)"?

Pic of Octave's window attached

Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #33398:  debugfix.patch added by lostbard (6KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by lostbard (Updated the item)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by philipnienhuis (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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-02 jwe Release4.0.0-rc1 4.0.0
    2015-03-23 lostbard Assigned toNone lostbard
        Open/ClosedOpen Closed
    2015-03-23 lostbard StatusReady For Test Fixed
    2015-03-20 lostbard StatusPatch Submitted Ready For Test
    2015-03-19 lostbard Attached File- Added debugfix.patch, #33398
        StatusConfirmed Patch Submitted
    2015-03-08 mtmiller StatusNone Confirmed
        Operating SystemMicrosoft Windows Any
    2015-03-06 philipnienhuis Attached File- Added debug_wo_workspace.png, #33266

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code