Can I set breakpoints to all methods in a class at once in Visual Studio?

前端 未结 6 1871
盖世英雄少女心
盖世英雄少女心 2020-12-28 13:06

I have 40-50 methods in a class, I want to add breakpoints to all of them. Can I add breakpoints to all of them at once?

6条回答
  •  春和景丽
    2020-12-28 13:48

    There's a class breakpoint add-in you could try, or you could use a replace expression to add a __debugbreak() at the start of each method.

提交回复
热议问题