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

SCI: Fix debugger bp_action help message #1480

Merged
merged 1 commit into from Jan 17, 2019

Conversation

Vhati
Copy link
Contributor

@Vhati Vhati commented Jan 16, 2019

Fixes the help for bp_action: 'none' arg should be 'ignore'
 

Source: console.cpp - Console::cmdBreakpointAction()

Usage: %s <breakpoint index> break|log|bt|inspect|none
                                                  ^^^^

Source: console.cpp - stringToBreakpointAction()

if (str == "break")
	action = BREAK_BREAK;
else if (str == "log")
	action = BREAK_LOG;
else if (str == "bt")
	action = BREAK_BACKTRACE;
else if (str == "inspect")
	action = BREAK_INSPECT;
else if (str == "ignore")
	action = BREAK_NONE;

Fixes the help for bp_action: 'none' arg should be 'ignore'
@bluegr
Copy link
Member

bluegr commented Jan 17, 2019

Nice catch! Merging

@bluegr bluegr merged commit ff45b1d into scummvm:master Jan 17, 2019
@Vhati Vhati deleted the console_bp_ignore branch January 17, 2019 14:20
ccawley2011 pushed a commit to ccawley2011/scummvm that referenced this pull request Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants