back soft

مطالب مرتبط با «lldb how to» در back soft | نویسنده: استخدام کار

LLDB: how to make a custom function that pretty prints a dynamic array of structs

Vote count: 0 I have an dynamically allocated array of structs that I need to print inside LLDB, while in a breakpoint. All this happening in some pure C code outside ObjC. I've written a static function that does the printing job and while I can call it inside LLDB, it will only print about 60 lines before silently stopping. Sometimes, it will not print anything unless I press Enter again inside LLDB. I assume this is due to threading somehow, but I tried to do a dispatch_async inside that function without any success - it wouldn't print anything. Therefore, I am looking into alteative solutions (maybe a Python script) to get a pretty print of that array as it is vital for my debugging effo...

ادامه مطلب

برچسب‌های مرتبط

lldb how to | lldb how to execute function