mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
Merge branch 'bugfix/add-resolution-suggestion-for-coredump_v4.3' into 'release/v4.3'
idf_monitor.py: Remove line finalization when coredump is in progress to avoid coredump failure (v4.3) See merge request espressif/esp-idf!17365
This commit is contained in:
@@ -594,8 +594,11 @@ class Monitor(object):
|
|||||||
# generates an event which will result in the finishing of
|
# generates an event which will result in the finishing of
|
||||||
# the last line. This is fix for handling lines sent
|
# the last line. This is fix for handling lines sent
|
||||||
# without EOL.
|
# without EOL.
|
||||||
|
# finalizing the line when coredump is in progress causes decoding issues
|
||||||
|
# the espcoredump loader uses empty line as a sign for end-of-coredump
|
||||||
|
# line is finalized only for non coredump data
|
||||||
elif event_tag == TAG_SERIAL_FLUSH:
|
elif event_tag == TAG_SERIAL_FLUSH:
|
||||||
self.handle_serial_input(data, finalize_line=True)
|
self.handle_serial_input(data, finalize_line=not self._coredump_buffer)
|
||||||
else:
|
else:
|
||||||
raise RuntimeError('Bad event data %r' % ((event_tag,data),))
|
raise RuntimeError('Bad event data %r' % ((event_tag,data),))
|
||||||
except SerialStopException:
|
except SerialStopException:
|
||||||
|
Reference in New Issue
Block a user