is there a plugin that helps automate this diverge compare debug technique?

Answered

I have 2 git worktrees running in Intellij IDEA.
I often find that I have a working version of some code in one worktree, and a broken version in another.
One debug strategy i use is to run them side by side, step by step until they diverge, then seeing if the difference is relevant to why the broken version is broken.
This is an effective technique, except it is often slow to do manually. I wonder if there is a plugin that does this task automatically 

 a.) run the same code simultaneously in 2 work trees. 

b.) stop when the states of the 2 processes diverge

c.) if the dev marks this divergence as unimportant, then continue running until the code diverges on some other criteria 

0
1 comment
Avatar
Yaroslav Bedrov

Hello,

Seems there is no such feature yet. Feel  free to create feature request on YouTrack: http://youtrack.jetbrains.com/issues/IDEA.

0

Please sign in to leave a comment.