خرید بک لینک

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 alternative solutions (maybe a Python script) to get a pretty print of that array as it is vital for my debugging efforts.

asked 43 secs ago

برچسب: lldb how to,lldb how to execute function, نویسنده: استخدام کار تاريخ: جمعه 22 مرداد 1395 ساعت: 20:35

صفحه بندی