Yesterday, my tactic was to search for “const char *” and print the text from the functions that have it.
Today, I changed my method to printing just the text, and searching “const char *text”, so that I didn’t need to modify the debug message every time I searched. Besides, for which function it comes from doesn’t matter, I’m on O(logN) complexity anyway, no need to print.
Fist in the air.
Now I will hurry back to see for exactly from which part of the code the message came from.