You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"continue" response sent after the following "stopped" event - should be opposite #134
I tried on VSCode, the order of sending the StoppedEvent and ContinueResponse doesn't matter.
DA sequences [ContinueRequest, StoppedEvent, ContinueResponse] and [ContinueRequest, ContinueResponse, StoppEvent] both work.
For logger issue, it's the log handler to control where to print the log. Can you share your Log Handler implementation (a class extends java.util.logging.Handler)?
We are implementing our own client on top of your debugger core.
If the order of response doesn't matter - on what should we rely in our client in order to perform the resume operation in the UI?
Currently we rely on successful response of 'continue' in order to reflect the operation to the user (as no 'continued' event is sent).
As we want to reflect the user the real status of the debugee application - we don't mark the thread as resumed in UI until a succesful response is actually returned.
When a following 'stopped' event arrives (from a second breakpoint, for example) we reflect in the UI that the thread was stopped in the appropriate location.
But when the response of 'continue' arrives after the 'stopped' event, our client reflects this to the user by resuming the thread in UI (even though it is actually stopped in the debugee app).
Activity
testforstephen commentedon Dec 19, 2017
I tried on VSCode, the order of sending the StoppedEvent and ContinueResponse doesn't matter.
DA sequences
[ContinueRequest, StoppedEvent, ContinueResponse]and[ContinueRequest, ContinueResponse, StoppEvent]both work.What debugger client are you using?
testforstephen commentedon Dec 19, 2017
For logger issue, it's the log handler to control where to print the log. Can you share your Log Handler implementation (a class extends
java.util.logging.Handler)?rotemso commentedon Dec 19, 2017
We are implementing our own client on top of your debugger core.
If the order of response doesn't matter - on what should we rely in our client in order to perform the resume operation in the UI?
Currently we rely on successful response of 'continue' in order to reflect the operation to the user (as no 'continued' event is sent).
As we want to reflect the user the real status of the debugee application - we don't mark the thread as resumed in UI until a succesful response is actually returned.
When a following 'stopped' event arrives (from a second breakpoint, for example) we reflect in the UI that the thread was stopped in the appropriate location.
But when the response of 'continue' arrives after the 'stopped' event, our client reflects this to the user by resuming the thread in UI (even though it is actually stopped in the debugee app).
testforstephen commentedon Sep 19, 2018
this issue is fixed in 0.13.0.