开发者

How to debug into AutoMapper code?

开发者 https://www.devze.com 2023-03-29 22:56 出处:网络
I am using AutoMapper to map my business objects to my view model and there is a custom type I wrote that 开发者_如何学Cis not mapping correctly resulting in an exception.I am trying to figure out how

I am using AutoMapper to map my business objects to my view model and there is a custom type I wrote that 开发者_如何学Cis not mapping correctly resulting in an exception. I am trying to figure out how to setup my system so that I can debug into AutoMapper.DLL. Does anyone know how to do this without downloading the source and building the source first?

If anyone has a link to instructions for doing this or knows how to set this up, I would greatly appreciate it.


AutoMapper has SourceLink enabled and a symbols package on NuGet (the same is true for the MyGet build). So debugging into AM works without building from source. You cannot debug into the mapping code per se, but check the execution plan.

0

精彩评论

暂无评论...
验证码 换一张
取 消