Skip to content

Commit 98046b6

Browse files
authored
Allow uppercase registers in exception decoder (#1020)
It now also successfully handles backtraces where the register has upper case letters
1 parent c49915a commit 98046b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monitor/filter_exception_decoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Esp32ExceptionDecoder(DeviceMonitorFilterBase):
3333
NAME = "esp32_exception_decoder"
3434

3535
BACKTRACE_PATTERN = re.compile(r"^Backtrace:(((\s?0x[0-9a-fA-F]{8}:0x[0-9a-fA-F]{8}))+)")
36-
BACKTRACE_ADDRESS_PATTERN = re.compile(r'0x[0-9a-f]{8}:0x[0-9a-f]{8}')
36+
BACKTRACE_ADDRESS_PATTERN = re.compile(r'0x[0-9a-fA-F]{8}:0x[0-9a-fA-F]{8}')
3737

3838
def __call__(self):
3939
self.buffer = ""

0 commit comments

Comments
 (0)