You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an MI parse error: message:"Invalid escape sequence" when calling: evalExpression("(ptr->data)" )
GDB return the following string: "17^done,value="0x5d2310 '\253' <repeats 16 times>"
The problem is that string contains invalid js escape sequence with \253 which causing the MI parser to fail.
A possible fix: modify GDB.prototype._line_output_handler function by adding:
line = line.replace('\'', '\\')
Thanks,
Gil
The text was updated successfully, but these errors were encountered:
hi,
I'm getting an MI parse error: message:"Invalid escape sequence" when calling: evalExpression("(ptr->data)" )
GDB return the following string: "17^done,value="0x5d2310 '\253' <repeats 16 times>"
The problem is that string contains invalid js escape sequence with \253 which causing the MI parser to fail.
A possible fix: modify GDB.prototype._line_output_handler function by adding:
line = line.replace('\'', '\\')
Thanks,
Gil
The text was updated successfully, but these errors were encountered: