dropbox / json11

A tiny JSON library for C++11.
MIT License
2.55k stars 613 forks source link

Crash with Json(o).dump() in Xcode 7+8 #81

Closed weepy closed 7 years ago

weepy commented 7 years ago

I found Json(o).dump() extremely useful for debugging.

Unfortunately I'm finding that it now crashes XCode 7 and 8. Anyone getting similar problems ?

J

artwyman commented 7 years ago

What's "o" in the case you're looking at? Can you create some example code? We definitely use dump() in our code, and build with Xcode 7 and 8, so I don't think the crash is quite as broad as you're describing, but it might be specific to particular JSON structures.

weepy commented 7 years ago

Sorry I wasn't explicit. It occurs during debugging when using the console. As in :

expr Json(o).dump()

o is jump some arbitrary Json11 object.

artwyman commented 7 years ago

Oh, if it's a debugger-specific problem, then I don't have any experience with it in order to help. I've found that kind of debugger feature to be unreliable at best when I've used it.