title: How to debug Office add-in running in Citrix environment?
body: <p>I have a VSTO-based PowerPoint add-in that runs fine on Office 2007 and Office 2010.  I have users running this add-in every day, day-in, day-out.</p>
  
  <p>I'm now working with a new client that uses Citrix for their desktops. I've never really understood exactly how Citrix works, but it appears that no-one has locally-installed software - they just run everything off the Citrix box. It's a very locked-down environment. They use Office 2010 and what appears to be Vista.</p>
  
  <p>Anyway, my add-in is exhibiting strange behavior in this environment.  Simply clicking one of my buttons on the ribbon sometimes gives an error (if the "Show addin user interface errors" setting is ON). The error says "An error occurred when calling the callback "ButtonClick".</p>
  
  <p>Other times, clicking the button appears to have no effect at all (although I suspect that it's actually starting to do something and then crapping out before displaying any messages).</p>
  
  <p>I'm confused, because (a) it works elsewhere, and (b) I catch and report exceptions in all my button-click handlers, so I would expect to see an error reported.</p>
  
  <p>Because the environment is so locked down, and it takes literally weeks to get a new version of my add-in rolled out, I don't know how to diagnose this.</p>
  
  <p>Any ideas?</p>