1

I have a web application in .netcore, I have two Solution and from one of them I have just a class library and create nuget package from that, from another solution I used that nuget package in it and call some methods but how can I use breakpoint for debugging methods in that class library?

eli eli
  • 33
  • 3
  • This will probably be useful: https://geeklearning.io/how-to-debug-a-net-core-nuget-package/ – Alfie May 24 '19 at 15:29
  • 1
    Possible duplicate of [Debugging private NuGet packages?](https://stackoverflow.com/questions/12739662/debugging-private-nuget-packages) – Alfie May 24 '19 at 15:31

1 Answers1

0

you can used this Debugger.Break() in your method and when call that method its stop on this line and you can debug it, use this one:

System.Diagnostics.Debugger.Break();
hassan.ef
  • 1,300
  • 2
  • 11
  • 19