Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Turns out my test file had other issues. I might write up my own answer... Commented May 3, 2023 at 17:08
  • After I added this, the breakpoint in question was hit. Afterwards, I removed this line and the breakpoint still continued to be hit... Some voodoo mix going on there. Commented Aug 5, 2023 at 12:21
  • @JamesJohnMcGuire'Jahmic': Was the project really built after removing that line? Maybe the exe/dll was still in use and could not be written by VS. Rebuild it and watch the compiler output window! You can also surround it by conditional compile with #if DEBUG ...code... #endif to ensure it's removed from the release version. Commented Aug 7, 2023 at 5:26
  • @huha - You may be onto something. It was a while ago, but if I come to this situation again, I will check more carefully. Commented Aug 24, 2023 at 16:11