You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "arosien (via GitHub)" <gi...@apache.org> on 2024/01/11 01:04:43 UTC

[PR] Ignore requests for stale state. [daffodil-vscode]

arosien opened a new pull request, #933:
URL: https://github.com/apache/daffodil-vscode/pull/933

   During 'continue' or 'next' events the frontend makes a sequence of requests to get the current state: asking for threads, the stack frames of each thread, the scopes listing the variables, and the values of the variables. If a rapid sequence of 'continue' or 'next' requests come in during this sequence, the debugger state is advanced and late-arriving requests from previous stepping will fail.
   
   Rather than abort, we ignore the stale requests and log them. The later requests will still request the current state and the frontend will have the correct data.
   
   Fixes #844.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Ignore requests for stale state. [daffodil-vscode]

Posted by "arosien (via GitHub)" <gi...@apache.org>.
arosien commented on PR #933:
URL: https://github.com/apache/daffodil-vscode/pull/933#issuecomment-1889781847

   > @arosien so in order to test this PR, i should step over rapidly while debugging any schema or were you working with any particular schema?
   
   @hdalsania yes, rapidly press "continue" and/or "step over". you may see intermittent warning messages in the logs, along with the same warning in the "Variables" pane, but the UI will resolve to a consistent state.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Ignore requests for stale state. [daffodil-vscode]

Posted by "hdalsania (via GitHub)" <gi...@apache.org>.
hdalsania commented on PR #933:
URL: https://github.com/apache/daffodil-vscode/pull/933#issuecomment-1889435431

   @arosien so in order to test this PR, i should step over rapidly while debugging any schema or were you working with any particular schema?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Ignore requests for stale state. [daffodil-vscode]

Posted by "arosien (via GitHub)" <gi...@apache.org>.
arosien merged PR #933:
URL: https://github.com/apache/daffodil-vscode/pull/933


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org