Skip to content

Commit

Permalink
Modified pause_regex to properly match the thread number. Fixes pausi…
Browse files Browse the repository at this point in the history
…ng issue in RubyMine.

Thanks to @seraku24
  • Loading branch information
BugraBarin committed Dec 23, 2016
1 parent 0d0a1b5 commit 5a4b9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DebugServer/UI/RDIP/RDIP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void RDIP::Impl::evaluateCommand(const std::string &command) {
static const std::regex continue_regex("^c(?:ont)?$", std::regex_constants::icase);
static const std::regex finish_regex("^fin(?:ish)?$", std::regex_constants::icase);
static const std::regex next_regex("^n(?:ext)?$", std::regex_constants::icase);
static const std::regex pause_regex("^(?:pause|i(?:nterrupt)?)$", std::regex_constants::icase);
static const std::regex pause_regex("^(?:pause(?:\\s+(\\d+))?|i(?:nterrupt)?)$", std::regex_constants::icase);
static const std::regex quit_regex("^(?:q(?:uit)?|exit|detach)$", std::regex_constants::icase);
static const std::regex start_regex("^start$", std::regex_constants::icase);
static const std::regex step_regex("^s(?:tep)?$", std::regex_constants::icase);
Expand Down

0 comments on commit 5a4b9fc

Please sign in to comment.