Add alert() calls to PathTracer.

It would be nice to have a more general solution at some point.