question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

using command 'pjson' to print a NSDictionary unsuccessfully

See original GitHub issue

My code is below: NSDictionary *dict = @{@"key" : @"value"};
(void)dict; I make a break at line 2. And then I input ‘pjson dict’ to xcode debug area. The error was printed:

error: error: cannot initialize a parameter of type 'NSData * _Nonnull' with an rvalue of type 'long' note: passing argument to parameter 'data' here error: 1 errors parsing expression None

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

0reactions
kastiglionecommented, Jul 25, 2016

@Ashton-W nice!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a way to pretty print Swift dictionaries to the console?
I use Facebook's chisel which has a pjson command to print a Swift dictionary. Eg: (lldb) pjson dict as NSDictionary.
Read more >
Parse JSON NSDictionary? | Apple Developer Forums
Hello all: I am getting JSON data from a URL and then putting it into an array, and then I need to get...
Read more >
Advanced Xcode debugging: Creating an lldb alias for printing ...
One of the first LLDB commands I learned was po , which prints out the description of an Objective c or Swift object....
Read more >
How to print NSString / Dictionary ? #7 - frida/frida-core - GitHub
I want to print the parameter, which have a string stored in NSString/NSDictionary, etc. I tried Memory.readUtf8String and ObjC.selectorAsString, both give me " ......
Read more >
Pro iOS 5 Augmented Reality
This eagle icon is printed and used by the USPS to augment your camera's view with a ... First, run the following commands...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found