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.
1 parent 93e9312 commit 9334c7eCopy full SHA for 9334c7e
gdbgui/server/ptylib.py
@@ -76,7 +76,7 @@ def read(self) -> Optional[str]:
76
if data_to_read:
77
try:
78
response = os.read(self.stdout, self.max_read_bytes).decode()
79
- except OSError:
+ except (OSError, UnicodeDecodeError):
80
return None
81
return response
82
0 commit comments