Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add command to remove all breakpoints #1500

Merged
merged 3 commits into from
Dec 7, 2018
Merged

Add command to remove all breakpoints #1500

merged 3 commits into from
Dec 7, 2018

Conversation

haltman-at
Copy link
Contributor

This pull request allows the user to remove all breakpoints by entering B all. (b all will yield an error message -- you can't add all breakpoints.)

Also, it marks B as a non-repeatable command, which (like b) it obviously should be.

Copy link
Contributor

@gnidan gnidan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

easy!

else if (args[0] === "all") {
if (setOrClear) {
// only "B all" is legal, not "b all"
config.logger.log("Cannot add breakpoint everywhere.\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay! programmer humor!

@haltman-at haltman-at merged commit c2995a0 into next Dec 7, 2018
@haltman-at haltman-at deleted the ball branch December 7, 2018 06:57
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 69.868% when pulling a156e23 on ball into 9048922 on next.

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

Successfully merging this pull request may close these issues.

3 participants