Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
0 votes
0 answers
61 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 ...
Marek H's user avatar
  • 5,732
1 vote
0 answers
123 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....
martin's user avatar
  • 125
0 votes
1 answer
62 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 ...
martin's user avatar
  • 125
1 vote
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, ...
Karoly Horvath's user avatar
0 votes
1 answer
38 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, ...
Graham Leggett's user avatar
1 vote
2 answers
178 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 ...
demonguy's user avatar
  • 2,131
0 votes
0 answers
200 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 ...
Nikolaj's user avatar
2 votes
1 answer
139 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++) { "...
JVApen's user avatar
  • 11.5k
0 votes
2 answers
78 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 ...
Sam Estep's user avatar
  • 13.4k
1 vote
0 answers
244 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 ...
John Joker's user avatar
0 votes
1 answer
172 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 ...
demonguy's user avatar
  • 2,131
0 votes
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 ...
Adonis's user avatar
  • 1
0 votes
1 answer
146 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 ...
xiaoqiang-wang's user avatar
0 votes
1 answer
76 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 ...
DannyNiu's user avatar
  • 1,681
-1 votes
1 answer
307 views

I just learned about the lldb-dap extension for VSCode and set about using it on a trivial hello world program. Well, things are running, but not comfortably. I set a breakpoint on the printf line, ...
Joymaker's user avatar
  • 1,650

15 30 50 per page
1
2 3 4 5
136