Debugging IGPFunction

Discussion created by bveldkamp on Feb 18, 2011
Latest reply on Oct 30, 2013 by FGibson-esristaff
Hi all,

I developed a custom tool for ArcGIS Desktop (implementing IGPFunction). Now this seems to works fine, the only problem is that I cannot debug the Execute() method. The actual execution works, but a breakpoint that I set inside the method is never hit. The only workaround I found so far is to put System.Diagnostics.Debugger.Break(); inside the Execute method: This will fire up a 2nd instance of Visual Studio, in which I can debug properly.

I was wondering if there's an easier way to do this.