Skip to content

Commit a10d81e

Browse files
debuginfo: Try to get minimal version of LLDB autotest framework running without crash with old LLDB version: Improve error output for exceptions in breakpoint listener
1 parent 9513a4b commit a10d81e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/lldb_batchmode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ def listen():
124124
breakpoint = lldb.SBBreakpoint.GetBreakpointFromEvent(event)
125125
print_debug("breakpoint added (not really...), id = " + str(breakpoint.id))
126126
new_breakpoints.append(breakpoint.id)
127-
except:
128-
print_debug("breakpoint listener shutting down")
127+
except Exception as e:
128+
print_debug("exception in breakpoint listener (shutting down): " + str(e))
129129

130130
# Start the listener and let it run as a daemon
131131
print_debug("Creating listener thread")

0 commit comments

Comments
 (0)