gdb window you can use po to inspect the object.
set breakpoint after the objects are added you can inspect what is in the dictionary
Question what is GDB?
gdb is in fact a prompt in the Console, where you can input commands. By typing "po object_name" you got the object content printed in the console. For More Detail
NSMutableDictionary* dictForData = [[NSMutableDictionary alloc] init];
[dictForData setObject:@"test1" forKey:@"string1"];
[dictForData setObject:@"test2" forKey:@"string2"];
Output
(gdb) po dictForData
{
string1 = test1;
string2 = test2;
}
Another option for the Log Data.
setp 1 :
step 2 :
step 3 :
step 4 :
here is the methods which is use by me.