How do I switch thread when debugging a muti-threaded program?

Answered

When I am debugging a multi threaded application, and I hit a break-point from another thread, I see the following notification.

 

Now if I click on 'Switch thread' Intellij takes me to the new thread.

But how do I go back to my previous thread?

4 comments
Comment actions Permalink

Hi, there is threads combo box on the top of the frames view

1
Comment actions Permalink

Perfect. Thank you.

Can you tell me what's the difference between a 'frame' and a 'stack' in intellij idea?

0
Comment actions Permalink

Frame here is a short version of stack frame, the view is called Frames just because it is focused on stack frames, not threads.

Historically, Frames and Threads views show the same things in a slightly different manner, most probably they will be joined in future.

1
Comment actions Permalink

Thank you. Yes, it makes sense to have them together or at-least there should be an faster way to switch between threads.

0

Please sign in to leave a comment.