Run-time instant debug mode

This script allows you to enter debug mode at anytime, while running your code.

You are now following this Submission

Very simple code,
the script creates a small gui, placed a the left corner of the screen with a single button: debug.
Pressing the button while your code is running will send you instantly (max 1 sec delay) to debug mode.
continue running by typing "return" in the command window.

Cite As

A Millo (2026). Run-time instant debug mode (https://www.mathworks.com/matlabcentral/fileexchange/35386-run-time-instant-debug-mode), MATLAB Central File Exchange. Retrieved .

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.0.0.0