8000 Honor strange stacktrace artifact. · me21/EspArduinoExceptionDecoder@dea170c · GitHub
[go: up one dir, main page]

Skip to content

Commit dea170c

Browse files
committed
Honor strange stacktrace artifact.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
1 parent 5b67a0b commit dea170c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
STACK_BEGIN = '>>>stack>>>'
5656
STACK_END = '<<<stack<<<'
5757
STACK_REGEX = re.compile(
58-
'^(?P<off>[0-9a-f]+):\W+(?P<c1>[0-9a-f]+) (?P<c2>[0-9a-f]+) (?P<c3>[0-9a-f]+) (?P<c4>[0-9a-f]+)$')
58+
'^(?P<off>[0-9a-f]+):\W+(?P<c1>[0-9a-f]+) (?P<c2>[0-9a-f]+) (?P<c3>[0-9a-f]+) (?P<c4>[0-9a-f]+)(\W.*)?$')
5959

6060
StackLine = namedtuple("StackLine", ["offset", "content"])
6161

0 commit comments

Comments
 (0)
0