-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul handling of breakpoints in classdef methods (bug #46451).
* libinterp/parse-tree/bp-table.h (bp_table::add_breakpoint_in_function, bp_table::add_breakpoints_in_function, bp_table::remove_breakpoint_from_function, bp_table::remove_breakpoints_from_function): Remove separate argument for class name. Use identifiers like "@class_name/method_name" instead. * libinterp/parse-tree/bp-table.cc (user_code_provider): Extract class name from function identifier. (bp_table::add_breakpoint_in_file, bp_table::add_breakpoints_in_file): Create function identifier for method in class. (remaining functions): Adapt for those changes. Rename argument "fname" to "fcn_ident" for clarity. * libinterp/parse-tree/pt-eval.cc, pt-eval.h (tree_evaluator::get_user_code): Remove input argument "class_name". Use similar code and identifiers to get methods of classdef and legacy classes. * libinterp/corefcn/debug.cc (Fdbstop, Fdbclear): Create function identifier for method in class. * libinterp/fcn-info.cc (out_of_date_check): Remove class_name argument of "remove_all_breakpoints_from_function".
- Loading branch information
Showing
6 changed files
with
129 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.