We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b36371 + ff854b1 commit 6c91384Copy full SHA for 6c91384
src/uk/co/cwspencer/gdb/gdbmi/GdbMiParser2.java
@@ -126,7 +126,11 @@ private String[] convertGoOutput(byte[] data) {
126
}
127
128
private Boolean isGdbMiLine(String line) {
129
- if (START_TOKENS.contains(line.substring(0, 1))) {
+ if (line.length() < 2) {
130
+ return false;
131
+ }
132
+ if (START_TOKENS.contains(line.substring(0, 1)) &&
133
+ !line.substring(0, 1).equals(line.substring(1, 2))) {
134
return true;
135
136
0 commit comments