bugGNU Octave - Bugs: bug #56220, GUI debugger does not follow frame

 
 

bug #56220: GUI debugger does not follow frame

Submitter:  eflister <eflister>
Submitted:  Thu 25 Apr 2019 09:38:09 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  eflister Open/Closed:  * Open
Release:  * 5.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 13 Oct 2025 11:30:20 AM UTC, comment #2: 

Just noting that this issue is still present on the current development branch of Octave (11.0.0).  While the execution pointer (yellow arrow) does not change when dbup or dbdown is used, I will note that using dbstop in the Command Window will add a breakpoint to the file in the Editor Window.

It would seem that there needs to be some sort of listener, as there is for dbstop, on both dbup and dbdown to move the execution pointer.

Attached is a trivial file for testing: tst_gui_dbstack_symbol.m.

function tst_gui_dbstack_symbol ()
  disp ('In function tst_gui_dbstack_symbol');
  subfcn1 ();
end

function subfcn1
  disp ('In function subfcn1');
  subfcn2 ();
end

function subfcn2
  disp ('In function subfcn2');
end


To test, set a breakpoint at subfcn2 with

dbstop tst_gui_dbstack_symbol>subfcn2

and then run tst_gui_dbstack_symbol.

Use dbup to move up the call stack.  When fixed, the yellow arrow should move up successively into subfcn1 and then the main function.


(file #57712)

Rik <rik5>
Group administrator
Sun 28 Apr 2019 02:12:22 PM UTC, comment #1: 

I agree that the current behavior is pretty much completely broken.  I may be wrong, but given the recent changes to the call stack and symbol table, the changes needed to fix the debugger display in the GUI are probably completely different for 5.x and the current development sources.  If we can fix both, then that's great but my priority will be to fix the current development sources and get this all working correctly for Octave 6.

John W. Eaton <jwe>
Group administrator
Thu 25 Apr 2019 09:38:09 PM UTC, original submission:  

the little yellow arrow marking the line of execution does not follow the frame as i issue 'dbup' and 'dbdown'.  it is helpful to show all points in the execution stack with an "inactive" colored arrow, and the current frame with an "active" colored arrow.

also, it is helpful to show a tooltip when hovering over any variable in the editor or command window showing its value (or at least dimensions) in its frame (regardless of the debugger frame) when in the debugger.

eflister <eflister>

 

Attached Files

Attached Files
file #57712:  tst_gui_dbstack_symbol.m added by rik5 (222B - text/x-octave)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by eflister (Submitted the item)
  •  

    Votes

    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.

     

    History

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-10-13 rik5 Attached File- Added tst_gui_dbstack_symbol.m, #57712
        Operating SystemMac OS Any
        Summarydebugger gui does not follow frame GUI debugger does not follow frame

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code