Click here to Skip to main content
15,882,152 members
Articles / All Topics
Technical Blog

How To: ESRI SDEIntercept

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
17 Jul 2015CPOL1 min read 6.4K   3  
How To: ESRI SDEIntercept

I have worked with GIS systems for many years now, working with both ESRI, Intergraph, and Bentley (if you count that MicroStation class I took in college) systems. Sometimes when you are working on client-side code, it is useful to see the actual calls from the client back to the database. One of the most useful and simple tools that I have found when working with ESRI’s ArcMap is to set up an SDE intercept. By doing this, intercept files are generated on the client machine that contain very verbose output pertaining to every transaction with the underlying geodatabase. The output can be overwhelming, but it can also be very revealing.

Setting up the intercept is very easy. You only need to add 2 environment variables to your system. The following are the variables and their values:

  • SDEINTERCEPTLOC = c:\temp\<the subfolder you created to contain intercept files>
  • SDEINTERCEPT = crwtf

You could also set these up with a bat file if you want.

After you have set these environment variables, run ArcMap and the workflow that you want to examine. You can then investigate the log generated to diagnose your issue.

Be sure to remove these environment variables when you are finished. The output is very verbose and can quickly fill up your hard drive!

This article was originally posted at http://www.keithholloway.net/blog/esri-sdeintercept

License

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


Written By
Technical Lead
United States United States
I'm a learner/coder/leader who is curious about how technologies and people work together to solve interesting problems. I have a passion for software and doing what I can to improve the lives of the people who create and use it.

Comments and Discussions

 
-- There are no messages in this forum --