Skip to content

Instantly share code, notes, and snippets.

@smtlaissezfaire
Created February 21, 2011 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smtlaissezfaire/837861 to your computer and use it in GitHub Desktop.
Save smtlaissezfaire/837861 to your computer and use it in GitHub Desktop.
(gdb)
__NSCFDictionary
(gdb) po dictionary
{
available = 1;
code = "CAL-01uj-003";
color = {
deleted = 0;
"hide_name" = 0;
id = 3053;
"image_source" = "<null>";
name = Charcoal;
position = 0;
"product_id" = 2395;
"publishable_flag" = 1;
"updated_at" = "2011/01/31 19:40:40 -0500";
};
id = 4509;
size = L;
"vendor_name" = "calvin klein";
}
(gdb) p (int) [dictionary hash]
$2 = 6
(gdb) n
(gdb)
(gdb)
(gdb)
(gdb) po dictionary
{
available = 1;
code = "CAL-01uj-004";
color = {
deleted = 0;
"hide_name" = 0;
id = 3053;
"image_source" = "<null>";
name = Charcoal;
position = 0;
"product_id" = 2395;
"publishable_flag" = 1;
"updated_at" = "2011/01/31 19:40:40 -0500";
};
id = 4511;
size = XL;
"vendor_name" = "calvin klein";
}
(gdb) p (int) [dictionary hash]
$3 = 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment