Ability to export object while debugging
I have been using Rider for about a month (maybe two) now and its a great product. I'm getting better at it everyday. However, I haven't been able to figure out is this functionality is possible. In Visual Studio there was an extension called OzCode which has the ability to export the contents of a variable, while in debug mode, to either:
- A C# object
- A json structure
- A XML object
Does Rider have this functionality that I'm maybe not finding?
J
Please sign in to leave a comment.
Hi J!
Rider does not support functionality from OzCode. However, we have a corresponding feature request for the described feature: RIDER-65817. Feel free to follow it and upvote to raise its priority.
Haven't tried it yet, but maybe this has a solution: https://stackoverflow.com/questions/53776048/get-object-as-json-in-intellij-idea-from-debugger
I use such approach from years to export variables while debugging:
Newtonsoft.Json.JsonConvert.SerializeObject(var_name)
orSystem.Text.Json.JsonSerializer.Serialize(var_name)