Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
42 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
0 votes
1 answer
37 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
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, ...
Graham Leggett's user avatar
0 votes
0 answers
117 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
0 votes
2 answers
58 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
0 votes
1 answer
113 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
1 answer
95 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
-1 votes
1 answer
184 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,624
0 votes
1 answer
44 views

I created a ~/.lldbinit file with only one setting: settings set prompt "\x1b[0;33m(lldb) \x1b[0m" hoping only to change the color of prompt. It works, very well, but then there comes an ...
GntlBlly's user avatar
0 votes
1 answer
76 views

I want a LLDB breakpoint callback to add another breakpoint on the next frame in the callstack. For this I have a file trace_mvp.py with the following code: import lldb def syscall_callback(frame: ...
Billbucket's user avatar
0 votes
1 answer
148 views

I am debugging Rust in VSCode using LLDB. Why do some of the local variables that appear in the debugger disappear when I place a breakpoint at the end of the scope in the image code? Is there a ...
cjk's user avatar
  • 3
1 vote
0 answers
50 views

New to assembly, trying to write some fibonacci recursive code .section __TEXT,__text,regular,pure_instructions _main: mov X0, 5 bl fib bl exit fib_end: mov X0, 0 b exit .align 2 fib: ...
Adar Maori's user avatar
0 votes
1 answer
51 views

Please note: this question is not about statically determined conditional code compilation. My question is: how do I determine at runtime that my process is being debugged by LLDB by analyzing the ...
Isaaс Weisberg's user avatar
0 votes
1 answer
45 views

I'm using lldb to debug an application and I have this breakpoint right before a call SCNetworkReachability imp___stubs__SCNetworkReachabilityCreateWithAddress: jmp qword [...
IRP_HANDLER's user avatar
0 votes
1 answer
57 views

I'm trying to run a Python debug script in LLDB, but I'm getting invalid thread errors. I'm not sure why. Here are my programs: main.c: #include <stdio.h> #include <stdlib.h> int addNumbs(...
tadm123's user avatar
  • 8,889
0 votes
0 answers
38 views

I have compiled a very simple file with the command clang++ main.cpp -g -o test then lldb ./test b main , r, gui, n n n n n … and as you can see in the upper part of the following screenshot, the ...
ebkgne's user avatar
  • 39
0 votes
1 answer
140 views

image add will add a new module to the current target list, but how can I remove a module afterwards?
Kotosif's user avatar
  • 353
0 votes
0 answers
160 views

I'm using bazel 7.4.1-homebrew on MacOS 15.1.1 within VS Code. The issue I'm having, is that I want to debug a target with lldb. I have setup my launch.json like this: { "name": &...
Peter Baintner's user avatar
1 vote
0 answers
258 views

I ran a small C++ program: #include <iostream> #include <map> #include <vector> using namespace std; class Solution { public: string minWindow(string s, string t) { ...
Bob 's user avatar
  • 21
0 votes
0 answers
101 views

I live on a Macintosh. I want to be able to build and debug my code on Macintosh and Windows both. So I set up my Windows world in a parallels VM running Windows 11, on my Apple Silicon 1 Macintosh. (...
Joymaker's user avatar
  • 1,624
0 votes
0 answers
32 views

I want to debug my native library libtestnative.so at the low level using lldb. In order to do that I have to know what is the base address of the target shared object. I wrote a lldb script ...
Thành Vũ's user avatar
0 votes
2 answers
58 views

In GDB I have a Python script which uses gdb.prompt_hook to send a command to an open vim session whenever the current file/line number changes. Effectively giving me a "live updating" ...
Jacob's user avatar
  • 80
0 votes
1 answer
203 views

In GDB you can do add-symbol-file <library> <address> to load symbols files at a particular address. What's the equivalent in LLDB? I have already tried image add <symbol file> ...
Kotosif's user avatar
  • 353
0 votes
1 answer
135 views

CLion SIGABRT I am using CLion 2024.1.6, lldb-1600.0.39.3. In debug mode, the program triggered SIGABRT. It is expected that breakpoints should be triggered here. I want to know what the problem is. I ...
user21129838's user avatar
1 vote
0 answers
91 views

I am building an MPI C project in Xcode. In order to do run it, I had to: Specify /path/to/mpiexec in Edit Scheme -> Run -> Info -> Executable, instead of the "default" one, say ...
FueledByPizza's user avatar

1
2 3 4 5
41