Darin_dbtools 2015-01-05.zip

Tools to interrupt code (w/o preset breakpoints), add display and ops, and continue w/o restart.

You are now following this Submission

By adding calls at initialization (to break_place_button) and in major loops (to break_place) you can allow your code to free run, then manually interrupt into the debugger by pressing an on-screen button, then continue at will.
Other routines allow adding display (dbdisp), operating statements (dbassign), and assignments (dbcall) into conditional breakpoints so that, in effect, you can modify running code without a quit and restart.

Examples and explanation are provided.

Cite As

Darin (2026). Darin_dbtools 2015-01-05.zip (https://uk.mathworks.com/matlabcentral/fileexchange/46604-darin_dbtools-2015-01-05-zip), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: breakpoint_command

Categories

Find more on Debugging and Improving Code in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Fixed to make button click reliable (Thanks to Adam in Matlab support for the hints!)

1.0.0.0