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

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

[Octave-bug-tracker] [bug #62105] Wrong line numbers when encountering e


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62105] Wrong line numbers when encountering errors using F9 to run selected code
Date: Wed, 23 Mar 2022 17:09:49 -0400 (EDT)

Follow-up Comment #5, bug #62105 (project octave):

(testing using 6.4.0 at the moment)

simple example:

edit mean

scroll down to beginning of code, highlight a variable not initialized. e.g.,
nd in line 101.  press F9:


>> nd
error: 'nd' undefined


set a breakpoint in the file at line 101 so that nd is not yet initialized.  


>> mean(1)
stopped in mean at line 101
[C:\Octave\octave-6.4.0-w64\mingw64\share\octave\6.4.0\m\statistics\mean.m]
101:   nd = ndims (x);


highlight nd again, press F9:

debug> nd
error: 'nd' undefined near line 1, column 1
error: called from
    C:/Users/USERNAME/AppData/Local/Temp/octave/octave_cKMXlQ.m at line 1
column 1


this is also a bit disturbing because I've set tmpdir to be a different folder
outside of my user profile. but that should maybe be a separate report.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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