emacs-matlab/toolbox/ebstatus.m
Eric Ludlam cd70817b60 matlab-shell-gud.el:
(mlg-breakpoint): New slot: name.
(mlg-breakpooints::mlg-print): New method to print in a buffer.
(mlg-add-breakpoint): Add 'fcn' input - put in name slot.
(mlg-del-breakpoint): Add 'fcn' input - then ignore.  Needed to line up w/ add.
(mlg-refresh-breakpoint-buffer, mlg-show-breakpoints): New
Manage contents of a buffer listing all the breakpoints.
(mlg-breakpoint-mode-map, mlg-breakpoint-mode-syntax-table): New.
(mlg-breakpoint-mode): New mode.
(mlg-breakpoint-quit, mlg-breakpoint-next, mlg-breakpoint-prev)
(mlg-breakpoint-click, mlg-breakpoint-choose):
New commands for breakpoint mode.
(matlab-shell-gud-minor-mode-map): Add 'w' to show breakpoints.
(easy-menu-define): Add Show Breakpoints menu item.

toolbox/ebstatus.m:
Always show the breakpoint buffer in emacs when called.

toolbox/+emacs/@Breakpoints/Breakpoints.m:
(updateEmacs): Add show input arg.
This forces breakpoints to show.
If not showing, update breakpoint buffer.
2019-12-15 15:05:18 -05:00

7 lines
129 B
Matlab

function ebstatus
% Send emacs some breakpoints
bp = getappdata(groot, 'EmacsBreakpoints');
bp.updateEmacs(true);
end