Is there a way to retroactively debug an execution?

b15 :

I have a suite of integration tests that are intermittently failing rarely enough that I can't debug them locally but often enough that my 400 test suite will often have 1 or two failures.

I use Intellij so I can "Run Until Failure", but that doesn't help me debug what's going on.

Is there a way to spit out some sort of debugging information on Exception that lets me do a mock run of the test under the exact conditions of the failure? If not, is there another way to do this rather than just adding tons of logging and running the tests until one fails?

CrazyCoder :

IntelliJ IDEA has support for Chronon, the time-travelling debugger which may help in your case.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=97762&siteId=1