Skip to content

Trace failing silently or with overflow errors #1

@Qix-

Description

@Qix-

Trying to get this to work, and for some reason it's refusing to run.

(lldb) trace -f /tmp/TRACE2 -v
Traceback (most recent call last):
  File "/Users/junon/.lldb/ext/lldb-trace/trace.py", line 314, in trace
    parent_frame = thread.GetFrameAtIndex(frame.GetFrameID() + 1)
  File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb/__init__.py", line 9508, in GetFrameAtIndex
    return _lldb.SBThread_GetFrameAtIndex(self, *args)
OverflowError: in method 'SBThread_GetFrameAtIndex', argument 2 of type 'uint32_t'

Sometimes it will fail silently and produce no output, too. Why would this be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions