bugGNU Octave - Bugs: bug #57142, Cannot set breakpoint inside a...

 
 

bug #57142: Cannot set breakpoint inside a function in script file

Submitter:  None
Submitted:  Wed 30 Oct 2019 10:58:19 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Duplicate Assigned to:  None
Originator Name:  Konstantin Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.1.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 30 Oct 2019 03:34:30 PM UTC, comment #1: 

This is a known issue, see bug #56860.

Closing report as a duplicate.

Pantxo Diribarne <pantxo>
Group Member
Wed 30 Oct 2019 10:58:19 AM UTC, original submission:  

When putting a function into a script file, one cannot set breakpoint (at least from GUI) inside a function (see attached .m file).

when setting a breakpoint inside the function, the code does not even start:

error: holder: no such file, ''
error: called from
    holder at line 4 column 3
    test at line 8 column 1

This makes it impossible to debug functions when, for example, a function is called as a callback

There's related bugs marked as fixed (for example bug #54231 ), but the problem still exists at least in 4.4.* and 5.1.0

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #47767:  test.m added by None (103B - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-30 pantxo StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #56860
    2019-10-30 None Attached File- Added test.m, #47767

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code