1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

LibIMAP: Add useful dbgln_if() printouts to IMAP::Parser

I couldn't run the parser in a debugger like I normally would, so I
added printouts to understand where the parser is failing.
More could be added, but these are enough to get a good idea of what
the parser is doing. It's very spammy, though, so enable it by flicking
the IMAP_PARSER_DEBUG switch :^)
This commit is contained in:
Valtteri Koskivuori 2023-07-28 23:28:26 +03:00 committed by Andrew Kaster
parent c2ed1547ba
commit 8451c4d91c
3 changed files with 32 additions and 5 deletions

View file

@ -73,6 +73,7 @@ set(ICMP_DEBUG ON)
set(ICO_DEBUG ON)
set(IMAGE_DECODER_DEBUG ON)
set(IMAGE_LOADER_DEBUG ON)
set(IMAP_PARSER_DEBUG ON)
set(INTEL_GRAPHICS_DEBUG ON)
set(INTEL_HDA_DEBUG ON)
set(INTERRUPT_DEBUG ON)