Norway







I think, the point of the question is an ability to generate custom runtime issues R;by hand”, at will.
– FreeNickname
2 hours ago

Can you create these at will? Yes, if you do anything that’s listed above. Can you do it as a sort of logging or debugging facility? No, not really. That’s not what it’s supposed to be used for.
– Saagar Jha
2 hours ago

Well, to my mind it actually kind of is what it’s supposed to be used for 🙂 Not for general logging, but for addressing outstanding runtime issues quickly, with an ability to see additional metadata and to jump quickly to the place in code that caused it. It would be quite awesome. And based on the interest to this question, looks like quite a lot of people agree. But yes, most likely it’s not possible. It would be cool if somebody showed up and told us that it actually is though.
– FreeNickname
2 hours ago

Well, you can always kill your program with assertionFailure or the like to get a similar effect, but it has the side effect of stopping your program. I see how what you want is useful, so I’d suggest filing a bug with Apple and seeing if they expose this to users.
– Saagar Jha
1 hour ago

That’s definitely something we need to do if this question doesn’t take us anywhere… Although since Apple can’t even manage colours in the console, or proper tabs, I don’t really think it’d get us anywhere. Still, that’s better than doing nothing and complaining ¯_(ツ)_/¯
– FreeNickname
1 hour ago





Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here