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:
parent
c2ed1547ba
commit
8451c4d91c
3 changed files with 32 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue