1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 12:17:36 +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

@ -210,6 +210,10 @@
# cmakedefine01 IMAGE_LOADER_DEBUG
#endif
#ifndef IMAP_PARSER_DEBUG
# cmakedefine01 IMAP_PARSER_DEBUG
#endif
#ifndef ITEM_RECTS_DEBUG
# cmakedefine01 ITEM_RECTS_DEBUG
#endif