Open perlun opened 6 years ago
@perlun It seems that this problem is on the VS Code plugin side. Perhaps it is related to sending a start
message to debugger
@perlun @rebornix @seraku24 Most likely the problem is due to the fact that VS Code plugin do not correctly add initial breakpoints. The problem is that after adding each breakpoint, you need to wait for the notification that it was successfully added. Instead, in current implementation all breakpoints adding at the same time, and then all responses are processed. https://github.com/rubyide/vscode-ruby/commit/399145024a8c214d0c9aaeaf00afdf2fdfaf30d8
@ViugiNick thanks for the info. Is there any batch operation that we can add breakpoints at the same time?
@rebornix I have not yet fully understood this limitation, I'll try to get rid of it asap
I noted this while running a debug session in VS Code right now. The next time I tried it worked, so it's probably timing related.