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: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Wolfgang RosnerOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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 <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

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 01 Feb 2015 10:19:34 PM UTCrik5Open/ClosedOpen=>Closed
    Mon 29 Dec 2014 04:52:34 PM UTCrik5StatusNone=>Works For Me
    Sun 14 Dec 2014 08:52:08 PM UTCNoneAttached File-=>Added octave-debugger-path-issue.xcf, #32665

    Back to the top


    Powered by Savane 3.1-cleanup1