LLDB printing dynamic C arrays
LLDB printing dynamic C arrays
- Subject: LLDB printing dynamic C arrays
- From: Andreas Grosam <email@hidden>
- Date: Mon, 04 Jun 2012 09:48:18 +0200
Say, I have a dynamic buffer:
int* buffer = (int*)malloc(len*sizeof(int));
In Xcode's debug console using gdb, I would print the content of the array using this syntax:
(gdb) p *buffer@10 $1 = { … }
How do I accomplish this in LLDB?
It seems, it is not yet implemented - but this is sort of unbelievable (since it is now the recommended debugger).
Andreas
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden