Not able to set breakpoint in visual studio

后端 未结 8 960
后悔当初
后悔当初 2021-01-11 15:36

I am using Visual Studio 2013 and I am facing a weird issue from last few days. Whenever I try to set a break point, I get an error

\"The Following breakpoint can         


        
8条回答
  •  南笙
    南笙 (楼主)
    2021-01-11 16:08

    Check your program for subtle bugs. My failure chain that caused this error was:

    1. I inadvertently put a duplicate key/value pair in App.config
    2. Code that read that key/value via the ConfigurationManager silently failed
    3. Structs returned by that code were invalid
    4. Breakpoints on any line that referenced the invalid structs failed to bind

    Once I fixed Item 1, everything started working again.

提交回复
热议问题