go-lang-plugin-org/go-lang-idea-plugin — pull request #653 by twoolie (2014-03-12 07:41:31+00:00)
Title: Fixes #639: Debugger Failure when encountering "=" prefixed output

** This is a hack **. for some unknown reason, GDB is outputting lines which are clearly stdout from the debugged program, but are not `@` prefixed. This means that lines that happen to start with mi2 control characters are being passed into mi2 parsing functions that themselves do *very little* validation before `substring`ing everywhere.

That being said, it works, and it should protect against a whole class of invalid parsing.