AnsweredAssumed Answered

Difficultly Debugging an automated ArcMap extension

Question asked by craigpatterson on Dec 11, 2013
Latest reply on Dec 12, 2013 by craigpatterson
I'm developing a console application that launches ArcMap and executes a custom developed extension. The idea is that the the extension will be able to be scheduled to run in the off hours. The console app and extension work great most of the time but from time to time it throws errors. I'd like to be able to step through the extension's code when ArcMap is launched via the console application but I can't figure how to do so.

I can step through the console application's code. If I launch the extension via VS, I can step through it's code. I just can't step through the extension's code when launched via the console. I think the problem is that since I creating the ArcMap instance within the console app, it's treating the extension as an external DLL, even though the source code is in the same solution.

Is anyone aware of any settings I can set to allow me to debug the extension?

Thanks!

Craig

Outcomes