octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57711] Cannot toggle breakpoint in classdef m


From: Dennis
Subject: [Octave-bug-tracker] [bug #57711] Cannot toggle breakpoint in classdef m-file
Date: Fri, 31 Jan 2020 12:07:11 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?57711>

                 Summary: Cannot toggle breakpoint in classdef m-file
                 Project: GNU Octave
            Submitted by: dizze
            Submitted on: Fri 31 Jan 2020 05:07:09 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.90
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 31 Jan 2020 05:07:09 PM UTC  Name: Recipe.m  Size: 2KiB   By: dizze

<http://savannah.gnu.org/bugs/download.php?file_id=48316>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57711>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]