Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
48 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,652
1 vote
0 answers
95 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....
0 votes
1 answer
49 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 ...
1 vote
1 answer
51 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, ...
0 votes
0 answers
23 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, ...
1 vote
2 answers
117 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
141 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 ...
2 votes
1 answer
117 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
66 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
184 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 ...
0 votes
1 answer
137 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 ...
0 votes
0 answers
44 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 ...
0 votes
1 answer
118 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
66 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-170009.502 ...
DannyNiu's user avatar
  • 1,671
-1 votes
1 answer
233 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, ...

15 30 50 per page
1
2 3 4 5
...
136

AltStyle によって変換されたページ (->オリジナル) /