bugGNU Octave - Bugs: bug #46468, Cannot set class function break...


bug #46468: Cannot set class function break point in Octave 4.0.0

Submitter:  None
Submitted:  Wed 18 Nov 2015 02:16:57 AM UTC
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Duplicate Assigned to:  None
Originator Name:  Heng Sun Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Thu 19 Nov 2015 06:55:50 AM UTC, comment #2: 

@devs: please add depend on bug #46451. Thanks

Avinoam Kalma <avinoam>
Project Member
Wed 18 Nov 2015 07:09:21 AM UTC, comment #1: 


Thanks for your report. It is clearly a duplicate of bug #46451 which was posted a few days ago.

Closing report as duplicate.

Pantxo Diribarne <pantxo>
Project Member
Wed 18 Nov 2015 02:16:57 AM UTC, original submission:  

I cannot set a break point for a class function. I am using Octave 4.0.0 on Window 7. Octave documentation https://www.gnu.org/software/octave/doc/interpreter/Breakpoints.html mentions:

Breakpoints in class methods are also supported (e.g., dbstop ("@class/method")).

In my work dir, I have a folder named "@DebugTest". It has two m files:

File DebugTest.m has contents (2 lines):

classdef DebugTest

File d.m has contents (3 lines):

function d(dt)
  disp('Break here please.');

I run the following three lines in command window (Octave GUI):

dt = DebugTest();

Here is the output screen shot:

>> dt = DebugTest();
>> dt.d();
Break here please.
>> dbstop("@DebugTest/d");
error: add_breakpoint: unable to find the requested function

We see desired output. So my class function is recognized without any problem. But the error message shows I cannot set a break point. Remark that I cannot set break point on the GUI  by mouse click either.



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

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by avinoam (Posted a comment)
  • -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 project members can vote.





    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-19 pantxo Dependencies- Depends on bugs #46451
    2015-11-18 pantxo StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.9