How to debug SOE

2762
1
10-22-2013 11:40 AM
FernandoGonzales
New Contributor
Hello, does anybody know how to DEBUG SOE (Server Object Extension) in ArcGis 10? I have allready installed a SOE in a server and I want to debug from my pc (VS2010).

thanks in advance
0 Kudos
1 Reply
RichardWatson
Frequent Contributor
In your SOE startup code you can add DEBUG only code which calls the following functions:

System.Diagnostics.Debugger.Launch()
System.Diagnostics.Debugger.Break()

Works like a charm!
0 Kudos