@@ -139,7 +139,7 @@ import { isSsrNode } from '../reactive-primitives/subscriber';
139139import { logWarn } from './utils/log' ;
140140
141141// Turn this on to get debug output of what the scheduler is doing.
142- const DEBUG : boolean = false ;
142+ const DEBUG : boolean = true ;
143143
144144enum ChoreState {
145145 NONE = 0 ,
@@ -491,7 +491,6 @@ This is often caused by modifying a signal in an already rendered component duri
491491
492492 result
493493 . then ( ( value ) => {
494- DEBUG && debugTrace ( 'execute.DONE' , chore , choreQueue , blockedChores ) ;
495494 finishChore ( chore , value ) ;
496495 } )
497496 . catch ( ( e ) => {
@@ -511,7 +510,6 @@ This is often caused by modifying a signal in an already rendered component duri
511510 }
512511 } ) ;
513512 } else {
514- DEBUG && debugTrace ( 'execute.DONE' , chore , choreQueue , blockedChores ) ;
515513 finishChore ( chore , result ) ;
516514 scheduleBlockedChoresAndDrainIfNeeded ( chore ) ;
517515 }
@@ -535,6 +533,7 @@ This is often caused by modifying a signal in an already rendered component duri
535533 chore . $state$ = ChoreState . DONE ;
536534 chore . $returnValue$ = value ;
537535 chore . $resolve$ ?.( value ) ;
536+ DEBUG && debugTrace ( 'execute.DONE' , chore , choreQueue , blockedChores ) ;
538537 }
539538
540539 function handleError ( chore : Chore , e : any ) {
0 commit comments