bugGNU Octave - Bugs: bug #59027, dbstop function does load function...

 
 

bug #59027: dbstop function does load function automatically

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Fri 28 Aug 2020 07:07:03 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Confirmed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * 6.0.90 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 02 Sep 2020 09:18:21 PM UTC, comment #10: 

Closing as this is solely due to an options setting.

Rik <rik5>
Group administrator
Sun 30 Aug 2020 04:30:57 AM UTC, comment #9: 

I have uninstalled Octave (and also deleted octave-gui.ini and qt-settings), and re-install 6.0.90a, but could not see this problem again.

Should we close this bug report?

Avinoam Kalma <avinoam>
Group Member
Sat 29 Aug 2020 03:08:28 PM UTC, comment #8: 

The test in debug.cc changes the pref to "false" during the test and restores it afterwards. Maybe this is related?

Torsten Lilge <ttl>
Group Member
Sat 29 Aug 2020 02:41:43 PM UTC, comment #7: 

Since cset http://hg.savannah.gnu.org/hgweb/octave/rev/9e2f69c1a05d the GUI uses the system's standard location for configuration files. AFAIK, on windows, this should be %APPDATA%. Please refer to bug #55855 for more details. When there is no config file available at the new location, the GUI looks for it at the old location and imports the old config when available.

Therefore, the show_dbg_file option should be imported or, if not available, set to its default value "true". That's why it is strange that it was set to "false" on your and Avnoam's system.

Torsten Lilge <ttl>
Group Member
Sat 29 Aug 2020 02:15:17 PM UTC, comment #6: 

The option was enabled on my Debian system but not in the install I did for Windows using the binary installer for 6.0.90.

Where are the qt settings stored now?

I see .config/octave/qt-settings file in my user directory on Windows, but even after enabling the option, that file has show_dbg_file=false, but the option is enabled when I restart Octave and examine the preferences in the dialog.

John W. Eaton <jwe>
Group administrator
Fri 28 Aug 2020 09:43:12 PM UTC, comment #5: 

I didn't see your comment #3 when writing comment #4. The default value (and therefore the initial value) for this preference is "true". I have no idea why the behavior of your 6.0.90 version mentioned in the OP was different, except that you - possibly accidentally - have changed the pref to "false".

@jwe, is the pref on your Windows installation also set to "false"?

Torsten Lilge <ttl>
Group Member
Fri 28 Aug 2020 09:33:09 PM UTC, comment #4: 

I have just realized that this preferences was already added in July 2018 (cset http://hg.savannah.gnu.org/hgweb/octave/rev/a7ee69d23f32, bug #49119). Thus, it should have been included in version 5.2.0 already and it does not explain the change in the behavior that you are seeing between 5.2.0 and 6.0.90.

Torsten Lilge <ttl>
Group Member
Fri 28 Aug 2020 09:28:39 PM UTC, comment #3: 

Thanks for your comment.

Indeed this option was not checked. Checking it solved the problem.

When installing 6.0.90a on another machine, the option was initially checked and there was no problem. Is it related to previous settings?

Avinoam Kalma <avinoam>
Group Member
Fri 28 Aug 2020 08:58:23 PM UTC, comment #2: 

Could you please check in the preferences, tab "Editor", section "Debugging", if the option "Always show debug breakpoints ..." is checked?

Torsten Lilge <ttl>
Group Member
Fri 28 Aug 2020 04:46:53 PM UTC, comment #1: 

That's strange.  It works with 6.0.90 on my Debian system but not on Windows.

John W. Eaton <jwe>
Group administrator
Fri 28 Aug 2020 07:07:03 AM UTC, original submission:  


In version 5.2.0, the command "dbstop function_name", automatically loads function_name in editor.
In 6.0.90 under Win-10 the function is not loaded.

Avinoam Kalma <avinoam>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-02 rik5 Open/ClosedOpen Closed
    2020-08-28 jwe StatusNone Confirmed
    2020-08-28 avinoam Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code