Skip to content

Commit 8adc4cd

Browse files
committed
Add message on prompt for DEBUG mode
1 parent 8964e10 commit 8adc4cd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

initPTB.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,17 @@ function initDebug(cfg)
110110
% init PTB with different options in concordance to the debug Parameters
111111
Screen('Preference','SkipSyncTests', 0);
112112
if cfg.debug
113+
113114
Screen('Preference', 'SkipSyncTests', 2);
114115
Screen('Preference', 'Verbosity', 0);
115116
Screen('Preferences', 'SuppressAllWarnings', 2);
117+
118+
fprintf('\n\n\n\n')
119+
fprintf('########################################\n')
120+
fprintf('## DEBUG MODE. TIMING WILL BE OFF. ##\n')
121+
fprintf('########################################')
122+
fprintf('\n\n\n\n')
123+
116124
end
117125

118126
if cfg.testingTranspScreen

0 commit comments

Comments
 (0)