I was trying to debug a non-working scenario in our add-in. I’ve used the Visual Studio Start button in the toolbar a few times, PowerPoint was launched, but the breakpoints were not hit.

I’ve inserted more breakpoints, restarted, nothing …

I’ve then realized that Visual Studio title did not contain the (Running) text, although PowerPoint was running …

What could be the cause ?? Well, in the same solution we have a helper application that, among other things, starts PowerPoint. And the helper application project was the active project, so every time I’ve pressed Start, the helper started, launched PowerPoint and then exited. Of course the breakpoints were not hit, as they were set in a completely unrelated project.

Advertisements