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

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

[Octave-bug-tracker] [bug #47917] dbstop skips nested functions


From: Rik
Subject: [Octave-bug-tracker] [bug #47917] dbstop skips nested functions
Date: Mon, 16 May 2016 04:58:29 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #4, bug #47917 (project octave):

The new issue is probably the result of this construct


          // The breakpoint is either in the subfunction found above,
          // or in the main function, which we check now.
          if (main_fcn->is_user_function ())
            {
              int e = dynamic_cast<octave_user_function*> (main_fcn)
                      ->ending_line ();
              if (e >= lineno && e < earliest_end)
                dbg_fcn = main_fcn;
            }


I'm pretty sure a different case needs to exist for is_user_script ().



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47917>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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