Click here to Skip to main content
15,797,721 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a VSTO add-in that works perfectly when running normally. However whenever I try to debug, PowerPoint closes and debugging stops shortly after starting up. No exception thrown, no messages.

Again, works perfectly as long as i'm not debugging. Seems to be a problem with VS or the environment because this isnt experienced on other developer machines.

Any thoughts on why the debugger is crashing on this particular machine or how to diagnose?

What I have tried:

I have tried other machines and it works fine.
Richard MacCutchan 29-Aug-19 6:38am    
Try to find what is different between the machine where it fails and the ones where it succeeds. It may be a Visual Studio problem or a Windows problem, but without much more information it is impossible to guess.
BMauk 29-Aug-19 10:30am    
What i'm struggling with is how to get more information as to what is causing the debugger to stop. Does VS log this stuff anywhere?
Richard MacCutchan 29-Aug-19 11:04am    
The only way to find out is look at the VSTO documentation, or the documentation that is specific to the add-in you are using. Also look at the debug output Windows to see if it is displaying any messages.
BMauk 29-Aug-19 11:47am    
Not sure what you mean. I am building this add-in myself.
Richard MacCutchan 29-Aug-19 12:38pm    
Then you are the best person to understand why it is not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900