Darin_dbtools 2015-01-05.zip

Version 1.1.0.0 (11.3 KB) by Darin
Tools to interrupt code (w/o preset breakpoints), add display and ops, and continue w/o restart.
254 Downloads
Updated 12 Jan 2015

View License

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 (2024). Darin_dbtools 2015-01-05.zip (https://www.mathworks.com/matlabcentral/fileexchange/46604-darin_dbtools-2015-01-05-zip), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Debugging and Analysis in Help Center and MATLAB Answers
Acknowledgements

Inspired: breakpoint_command

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

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

1.0.0.0