Problem: Timer triggered at the debug prompt may cause trouble.
Solution: Do not trigger any timer at the debug prompt. (closes #9481)
int need_update_screen = FALSE;
long current_id = last_timer_id;
- // Don't run any timers while exiting or dealing with an error.
- if (exiting || aborting())
+ // Don't run any timers while exiting, dealing with an error or at the
+ // debug prompt.
+ if (exiting || aborting() || debug_mode)
return next_due;
profile_start(&now);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4035,
/**/
4034,
/**/