How to choose which thread to step through when breakpoints in multiple threads are hit?
I have a project with client and server. I want the server to pause while I step
through the client, and vice versa. I need to pause at breakpoints to avoid
connection timeouts. How can I pause at two breakpoints, and independently step
through each thread?
请先登录再写评论。
May I suggest dramatically increasing your connection timeouts for testing? Otherwise you're always going to be racing against time.
This is why I set the breakpoint, so the timeout is never reached.
Marc Stock wrote:
My point is that if you can adjust the timeout value to a high level, then you don't have to worry about it timing out while you're stepping through on the other machine. Perhaps I don't really get what you're saying. :)
Marc Stock wrote:
> value to a high level, then you don't have to
> worry about it timing out while you're stepping
> through on the other machine. Perhaps I don't
> really get what you're saying. :)
Perhaps what he's trying to do is debug both
application simultaneously in the same IDEA instance?
Yes, that's it. They're running in the same VM on our development machines.
Jens Voß wrote:
>> My point is that if you can adjust the timeout