I have quite a few objects in my project and something is printing out "null" to the console a bunch of times. I have absolutely no idea what script is doing this. is there an easy way to figure out where this print statement is?

If it's from your own code you could use print_debug instead of print which will give you the script, line number and function name. But I'm not sure if that's the case here or the print comes from someplace you have little control over.

14 days later

@anatol said: If it's from your own code you could use print_debug instead of print which will give you the script, line number and function name. But I'm not sure if that's the case here or the print comes from someplace you have little control over.

I will definitely be using that in the future. I put the print statement in, I just forgot which script its in. Is there any way to search all of my code for phrases?

Is there any way to search all of my code for phrases?

Sure, in the code editor menu Search > Find in Files … (Shift + Command + F) will search in your entire project or in a part thereof.

2 years later