title: How can I see if and where execution reaches a certain file in python?
body: <p>I'm trying to debug a server that raises a 404 error. I do not know where that 404 error is raised, but I can take a guess at a few files where it might be raised from. These files have dozens of methods inside and I can't figure out which specific method the error is being raised from. Is there any way to find that out? Knowing if execution even reaches those files might be helpful.</p>