Visual Studio how to serialize object from debugger

后端 未结 10 1206
轻奢々
轻奢々 2020-12-22 16:39

I\'m trying to investigate a bug in a crash dump (so I can not change the code). I have a really complicated object (thousands of lines in the serialized representation) and

10条回答
  •  不思量自难忘°
    2020-12-22 17:37

    I've been using ObjectDumper.Net.

    It works well, especially if you have live unit testing. I can easily view a variable's value in the console when a test runs, saving me from debugging manually.

    This may help if you're using XUnit.

提交回复
热议问题