Can't enter break mode at this time

Break mode is the state in which a program is still running, but its activity is suspended. This error has the following cause and solution:

  • You tried to enter break mode, for example, by pressing CTRL+BREAK, pressing the Break button on the Standard toolbar or the Debug toolbar, or by executing a breakpoint in the running code.

    A change was made programmatically to the project using the extensibility (add-in) object model. This prevents the program from having execution suspended. You can continue running, or end execution, but can't suspend execution.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.