Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
56 views

I am developing a macOS app using AppKit. The app can have multiple windows open at the same time, similar to Finder or Safari. When a breakpoint is hit, or when I am inspecting state in LLDB, I ...
Score of 0
0 answers
65 views

I have previously used lldb to print structures like NSRect or NSSize of 3rd party processes without issues. But I am struggling in modern versions of Xcode to inspect them. Namely since the ...
Score of 1
0 answers
128 views

On a jailbroken iPhone, I'm attaching the debugserver to an iOS system daemon: debugserver 0.0.0.0:1234 -a <daemon-process>. It is possible to connect to the iOS debugserver using lldb on my Mac....
Score of 0
1 answer
69 views

In Xcode, I set a breakpoint to a function which is a part of an iOS framework and the disassembly view showed up. All function calls except one (0x1bb286280) were symbolicated (i.e. Xcode showed the ...
Score of 1
1 answer
57 views

I would like to skip the whole boost library details when stepping through the code in the debugger. Example uninteresting things I would like to skip: (lldb) n Process 577286 stopped * thread #1, ...
Score of 0
1 answer
41 views

How do I debug a macports provided package with the source code? I currently see the decompiled assembly language, what I need is the line on which the code crashed. Process 90037 stopped * thread #1, ...
Score of 1
2 answers
195 views

In ObjC++, I just use po $x0 to print the first argument of a function. If it's an object, it will display it in detail. However, in Swift when I do this for an swift object, I got an error: po $x0 ...
Score of 0
0 answers
209 views

I'm trying to debug my Rust project in VSCode but the debugger doesn't step through the code. I have lldb configured as the debugger, but breakpoints aren't hit, and I can't step through my code. I’m ...
Score of 2
1 answer
146 views

MSVC has a very useful flag /SOURCELINK. This allows you to tell where in your versioning system the sources are stored, such that they can be downloaded. For example: (Also holds for C++) { "...
Score of 0
2 answers
79 views

Consider this program.cpp: struct Foo { int field1; int field2; }; int main() { Foo foo{.field1 = -1, .field2 = -2}; return 0; } I've implemented a custom LLDB data formatter for the Foo ...
Score of 1
0 answers
259 views

I'm having trouble attaching lldb directly to a running process on macOS. When I try lldb -p <PID>, I always get error: Connection shut down by remote side while waiting for reply to initial ...
Score of 0
1 answer
230 views

In iOS development, I’ve noticed that when I set a breakpoint on a dispatch_* object (e.g., dispatch_async) in Xcode, it sometimes allows me to trace back to the original caller of the dispatch. In ...
Score of 0
0 answers
48 views

I've a command line process (https://mpv.io) running on its own terminal window on macOS. I'm attaching to it via an ssh'ed lldb -p <PID> and want to be able to control said app via key presses ...
Score of 0
1 answer
150 views

I used Clang to compile a large project to Linux X86_64 executable file my_out. ./my_out runs successfully. When I try to use lldb my_out to debug the execution of my_out. It can success launch the ...
Score of 0
1 answer
77 views

I'm debugging a C project on Mac using LLDB, and the relevant source codes no longer displays inside LLDB commandline, but instead in Xcode. How do I disable this? (lldb) version lldb-1700.0.9.502 ...

15 30 50 per page
1
2 3 4 5
136