Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JanMatCodasip
Copy link
Contributor

  • 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.

- 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.
@JanMatCodasip
Copy link
Contributor Author

See #1072 for the related discussion.

Copy link
Contributor

@stefano-codasip stefano-codasip left a 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.

Comment on lines -336 to +334
unavailable, or because they encounter an error during execution.
unavailable, because they encounter an error during execution.
Copy link
Collaborator

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.

Comment on lines -680 to +681
{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).
Copy link
Collaborator

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?

Comment on lines +336 to +339
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.
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants