Visual Studio debugging - ignore exception in one place while breaking at it elsewhere?

前端 未结 5 2006
你的背包
你的背包 2020-12-14 06:09

I have some code which generates a large quantity of ArgumentExceptions on one particular line (which is in a different developer\'s code, so I can\'t just change it), which

5条回答
  •  渐次进展
    2020-12-14 06:14

    If you know how you are calling it, I would set the break point in your code and then step into (F11) from there. You could also smack the programmer until they fix their code, which would have the effect of making you feel better (unless you are a pacifist) and maybe they won't have so many ArgumentExceptions in their code (which would probably make you feel better even if you are a pacifist).

提交回复
热议问题