bugGNU Octave - Bugs: bug #43822, debugger path conflicts with...


bug #43822: debugger path conflicts with search path

Submitted by:  None
Submitted on:  Sun 14 Dec 2014 08:52:08 PM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Wolfgang Rosner Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  dev
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 26 Dec 2014 07:15:44 PM UTC, comment #1: 

Thank you for the report. What do you mean by 'qtfm will not work anymore'? Does it work before setting the breakpoint in a file located in a subdirectoy?

I tried to reproduce the issue but it works for me:

  • Create a file in /tmp/d00.m that is calling the function d01 in /tmp/@d01/d01.m
  • Adding the path by 'addpath /tmp'
  • Setting a breakpoint in /tmp/@d01/d01.m
  • Selecting 'Add to search path' or 'Change directory' in message box that is showing up
  • Starting d00 from editor or from console
  • Result: Function d00 is running as expected and stops at breakpoint in d01

If you need a recursive search path you can use 'genpath'.

Torsten Lilge <ttl>
Project Member
Sun 14 Dec 2014 08:52:08 PM UTC, original submission:  

I`m debugging a port from qtfm (matlab classref style) to octave.
this requires

addpath /home/wrosner/qtfm

When I try to set breakpoints in a file lower in this path, I encounter an Error message like follows (retranslated from German, screen shot attached)
"/home/wrosner/qtfm/@octonions/s.m is missing in the search path.
To debug this function, you can change to this directory or add directory to search path"

When I do either, qtfm will not work any more, presumably since it does a lot of shadowing builtin functions.

Proposed solutions
- recursive search
- allow independent extensions for debugger search path

octave Build:
4.1.0+ from hg repo
default branch
checkout 2014-12-13



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

Attach Files:

Attached Files
file #32665:  octave-debugger-path-issue.xcf added by None (61KiB - image/x-xcf)


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-01 rik5 Open/ClosedOpen => Closed
    2014-12-29 rik5 StatusNone => Works For Me
    2014-12-14 None Attached File- => Added octave-debugger-path-issue.xcf, #32665

    Back to the top

    Powered by Savane 3.6