Frame switching doesn't work properly with exception chains
Video highlighting the problem
https://user-images.githubusercontent.com/153191/196199576-3c2f83c8-4ad5-4841-8496-ceef65732522.mp4
When a new frame is selected JS hides the very first open code snippet and reveals snippet corresponding to the selected frame. It works fine when there is only one stack trace on the page or when you pick frames from the very first stack trace.
Solution is simple:
add corresponding stack trace id to each frame
on frame click perform selector queries only inside div with matching stack trace id
Video showing the fix
https://user-images.githubusercontent.com/153191/196199935-9c3581b4-4c22-4af3-bb15-d7dddd819edf.mp4
Frame switching doesn't work properly with exception chains
Video highlighting the problem
https://user-images.githubusercontent.com/153191/196199576-3c2f83c8-4ad5-4841-8496-ceef65732522.mp4When a new frame is selected JS hides the very first open code snippet and reveals snippet corresponding to the selected frame. It works fine when there is only one stack trace on the page or when you pick frames from the very first stack trace.
Solution is simple:
Video showing the fix
https://user-images.githubusercontent.com/153191/196199935-9c3581b4-4c22-4af3-bb15-d7dddd819edf.mp4