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

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

[Octave-bug-tracker] [bug #56157] Setting breakpoint in non-existent sub


From: Rik
Subject: [Octave-bug-tracker] [bug #56157] Setting breakpoint in non-existent subfunction now produces obtuse error
Date: Wed, 12 Jun 2019 00:58:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #1, bug #56157 (project octave):

The problem is in tree_evaluator::get_user_code at the end of the function. 
These lines are the problem.  


        fcn = user_code->find_subfunction (subfuns);

        user_code = fcn.user_code_value ();


In the example given, subfuns contains "foo" as it should.  But
find_subfunction() returns a nil_rep.  The next line then fails.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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