-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve description of cmderr "busy" #1076
base: main
Are you sure you want to change the base?
Conversation
- Improve the wording of what happens if another abstract command is started while the previous one still executes. Make the order of events very clear. - Unify the wording of cmderr "busy" requirement for all concerned DM registers. Make it clearer to the reader that the prescribed behavior is the same in all the cases.
See #1072 for the related discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are in line with ticket #1072 comments and aligned to expectations after discussing with Jan.
unavailable, or because they encounter an error during execution. | ||
unavailable, because they encounter an error during execution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you do need "or" here.
{abstractcs-cmderr} to be set to 1 (busy) if it is 0. | ||
{abstractcs-cmderr} to become 1 (busy) once the command completes | ||
(once {abstractcs-busy} becomes 0). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm on the fence about "become 1" while "becomes 0" reads OK to me. Not sure why but I wanted to point it out. Thoughts?
If the debugger attempts to start a new command while {abstractcs-busy} is set, | ||
the new command will not get started and the currently executing command still | ||
gets to run to completion. After that, {abstractcs-cmderr} becomes 1 (busy), | ||
and any error generated by the completed command is lost. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the meat of this change is to move this into its own paragraph so that it's more obvious to a reader that this is the behavior no matter how an abstract command is started? (Can you start one without writing to dm.command?) Did I get that right?
Improve the wording of what happens if another abstract command is started while the previous one still executes. Make the order of events very clear.
Unify the wording of cmderr "busy" requirement for all concerned DM registers. Make it clearer to the reader that the prescribed behavior is the same in all the cases.