Skip to main content
Filter by
Sorted by
Tagged with
4 votes
2 answers
7k views

I have got three files: main.cpp #include <iostream> #include "log.h" int main() { int a = 8; // Breakpoint on this line a++; const char *string = "Hello"; ...
Solus's user avatar
  • 41
0 votes
1 answer
446 views

I using CodeLite 17.0.0 on MacOS 12 Monterey 12.6.6 I followed the steps on the Debug Adapter Client page of CodeLite to download the llvm through brew but when I run lldb I get a time out error which,...
Matthew-Freedman's user avatar
1 vote
1 answer
2k views

I'm trying to learn to debug using VS Code. I created a launch configuration in launch.json, for attaching to my process (a C++ program). I'm on macOS, so it uses LLDB. It attaches, and I can stop in ...
Rob N's user avatar
  • 16.7k
0 votes
0 answers
448 views

So I'm running windows with llvm and msvc. When I compile my program with clang++ and try to debug it with lldb and inspect a string variable I get "error: summary string parsing error". #...
narcomoeba's user avatar
0 votes
2 answers
949 views

I installed clang tools in Visual Studio. Clang works fine. But when running lldb.exe, it says liblldb.dll not found
Gary Allen's user avatar
2 votes
2 answers
2k views

I am able to run lldb directly from the terminal, but VSCode debug mode raises an error My config is Version: 1.79.1 (Universal) Commit: 4cb974a7aed77a74c7813bdccd99ee0d04901215 Date: 2023-06-12T16:16:...
ClementWalter's user avatar
0 votes
1 answer
365 views

I've got the following code that define an Instance method in static class. namepsace AAA { class BBB { static BBB& Instance() { static BBB bbb(); return bbb; } } I'd like ...
Zohar81's user avatar
  • 5,214
1 vote
1 answer
380 views

after compiling my hello world program with clang -g .\main.cpp -o .\main.exe I then run and try to set a breakpoint but it does not resolve. lldb .\main.exe (lldb) target create ".\\main.exe&...
narcomoeba's user avatar
0 votes
0 answers
872 views

I am using LLDB to debug my Google Unit Test binary in Visual Code. I have added debug breakpoints in the Debug console But the test executes without waiting at any of the breakpoints. What am I ...
RASHMI INGLE's user avatar
0 votes
1 answer
118 views

How do I know if an SBThread has exited or finished running the code ? I wrote an LLDB script to track all the fn calls made by a program since its start. The loop is supposed to end after the last ...
draklor40's user avatar
  • 483
0 votes
1 answer
156 views

Here's a snippet from a session with lldb: * thread #1, name = 'so', stop reason = breakpoint 5.1 frame #0: 0x000000000040113c so`test(hello="Hello, world!") at so.c:5:18 2 3 ...
Dan Piponi's user avatar
  • 8,157
2 votes
2 answers
2k views

I'm working on a JIT compiler on the ARM64 platform. In order to debug the machine code it emits, sometimes I will have the compiler emit a brk instruction so that I can inspect the state of things ...
Aaron Patterson's user avatar
6 votes
2 answers
3k views

I'm trying to debug a very simple C program on OSX and the debugger is taking MINUTES for each step over instruction, with instructions as simple as doing a single multiplication. I've googled a lot ...
Jason Boyd's user avatar
  • 1,240
0 votes
0 answers
215 views

I've got a XCode workspace. This workspace holds the main target (Swift) and a target with a dynamic library embedded in a framework. The entry of the framework is a wrapper class written in Objective-...
xarly's user avatar
  • 2,134
0 votes
0 answers
662 views

I'm trying to debug a remote application that runs inside a Kubernetes Pod using LLDB. The remote application is started with the following command: lldb-server platform --verbose --listen *:40007 --...
user3067395's user avatar
-1 votes
1 answer
160 views

I have read that is it possible to run case-insensitive image lookup in lldb (I'm using Xcode 13) by using (?i). However, I cannot get it to work; I must be doing something wrong, and I cannot find ...
Torrontés's user avatar
1 vote
0 answers
210 views

I have written a C++-library with bindings for python. My python code (a jupyer notebook) calling the library makes crashes. The problem lies within the library. I would like to debug this (using lldb,...
Bubaya's user avatar
  • 893
0 votes
1 answer
584 views

I am trying to debug my code and want to follow the progression of my code line by line. How do I view the values inside the linked list and the current value in an integer array? I have tried the ...
jdagz's user avatar
  • 43
0 votes
1 answer
271 views

I have a script in Python where I check value of x0 register which is a pointer to some memory address and read memory from there. But in my Python script, ReadMemory return None and because of that ...
DrawBacksYo's user avatar
2 votes
1 answer
226 views

I maintain a Python library that's written in C++ (using Pybind11). For the past couple of years, I've been able to debug it just fine with lldb, just by compiling the extension in debug mode (i.e.: ...
Peter Sobot's user avatar
  • 2,557
0 votes
1 answer
342 views

I'm trying to debug a native C++ App that is crashing using lldb I also have a sleep(5) at the start of android_main so that I can attach to my app in that time, if that matters After attaching the ...
user avatar
0 votes
0 answers
44 views

#include<iostream> using namespace std; int main(){ int a; cin >> a; cout << a; return 0; } This is my code. When you apply a breakpoint to the cin function, the ...
blacksheep's user avatar
0 votes
1 answer
1k views

My large application with codelite builds fine with g++ and comes up and runs. When I try to start either LLDB or GDB either something flashes on the monitor and stops or simply just does nothing. I ...
user20940451's user avatar
2 votes
1 answer
8k views

I cannot uninstall a certain VS Code extension (CodeLLDB) that is installed in my WSL. If I try with the VS Code GUI after reopening the program the extension is still there. If I try with the console ...
drpe's user avatar
  • 101
1 vote
1 answer
123 views

I'm trying to print the reference value of std::optional which is from the following type: boost::beast::ssl_stream<boost::beast::basic_stream<boost::asio::ip::tcp, boost::asio::any_io_executor,...
Zohar81's user avatar
  • 5,214

1 2 3
4
5
41