You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@brianyu28 and I looked a bit into this. When the CS50 library makes a Logger.debug() call (or any student code writes anything I imagine), that ends up calling LoggerWriter.write(), presumably because of how the output streams are being temporarily redirected when we enter the CheckRunner context. LoggerWriter.write() calls self.logger.log(), which writes to the "check50" logger, which we think tries to write to stdout or stderr, which causes LoggerWriter.write() to be called again and so on.
The text was updated successfully, but these errors were encountered:
@brianyu28 and I looked a bit into this. When the CS50 library makes a
Logger.debug()
call (or any student code writes anything I imagine), that ends up callingLoggerWriter.write()
, presumably because of how the output streams are being temporarily redirected when we enter theCheckRunner
context.LoggerWriter.write()
callsself.logger.log()
, which writes to the"check50"
logger, which we think tries to write tostdout
orstderr
, which causesLoggerWriter.write()
to be called again and so on.The text was updated successfully, but these errors were encountered: