bugGNU Octave - Bugs: bug #57711, Cannot toggle breakpoint in...

 
 

bug #57711: Cannot toggle breakpoint in classdef m-file

Submitter:  Dennis <dizze>
Submitted:  Fri 31 Jan 2020 05:07:09 PM UTC
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.2.0 Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Fri 31 Jan 2020 07:00:03 PM UTC, comment #1: 

Hi, thank you for your bug report and example class. This looks like a duplicate of bug #46451 to me, so marking it and closing it as a duplicate.

There has been some work on allowing breakpoints to be set in classes by name or by method, but not yet by line number. I think the file/line-number syntax is needed for breakpoints from the GUI to work.

Mike Miller <mtmiller>
Project Administrator
Fri 31 Jan 2020 05:07:09 PM UTC, original submission:  

Possibly similar to bug #56860.

If I create a class definition type m-file, it appears to be impossible to toggle a breakpoint anywhere. See attached test case. Way to use this file:

>> clear all
>> addpath(pwd) %not sure if this is required for other OS.
>> [cat error] = Recipe.call_recipe('load_categories');


Toggling the breakpoint results in the following errors:

>> error: add_breakpoint: unable to find function 'Recipe'

error: parse error

Note: this is very difficult to work around, as such classdef file can become huge, with many functions and difficult to debug without breakpoints.

Dennis <dizze>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48316:  Recipe.m added by dizze (2KiB - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dizze (Submitted the item)
  • -email is unavailable- added by dizze
  •  

    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 project members can vote.

     

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-31 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #46451
    2020-01-31 rik5 Carbon-CopyRemoved 72865 -
    2020-01-31 rik5 Release5.1.90 5.2.0
    2020-01-31 dizze Attached File- Added Recipe.m, #48316
        Carbon-Copy- Added dizze

    Back to the top


    Powered by Savane 3.9