Skip to content

Commit

Permalink
Fix of the issue astashov#41
Browse files Browse the repository at this point in the history
The error of missing self.debugger_id was happened due to incorrect
returning of control from ruby_debugger.rb when start command is given.
Adding of stripping of leading/trailing whitespaces in comparement fixed
that issue.
  • Loading branch information
Anton Astashov committed May 1, 2011
1 parent bc981b3 commit 3900a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ruby_debugger.rb
Expand Up @@ -108,7 +108,7 @@ def handle_queue
log("Putting message to rdebug-ide: #{message}")
@rdebug.puts(message)
# Start command doesn't return any response, so send message immediatly
send_message if message == 'start'
send_message if message.strip == 'start'
else
send_message
end
Expand Down

0 comments on commit 3900a62

Please sign in to comment.