VS2012 Breakpoints are not getting hit

后端 未结 24 1676
小鲜肉
小鲜肉 2020-12-13 12:44

I have a class that looks like this:

public class MyService
{
    private MyService(){}
    public static string GetStuff()
    {
        var stuffDid = new          


        
24条回答
  •  不思量自难忘°
    2020-12-13 13:27

    You could try to add a Thread.Sleep(5000) in GetStuff method and use Attach to Process

    Visual Studio > Tools > Attach To Process and see if breakpoints below that line gets hit.

提交回复
热议问题