Georged Weblog

Have you georged your mind?

Now it WON'T run differently under debugger

Scott Hanselman has blogged recently about our experience with nasty tricks Visual Studio debugger can play on you. Turns out, it's possible to run and debug normally without resorting to a secondary thread spin-off. But there is a price to pay: remote debugging for web services must be disabled. Add this to your app.config:
 
<configuration>
   <system.diagnostics>
      <switches>
         <add name="Remote.Disable" value="1" />
      </switches>
    </system.diagnostics>
</configuration>
 
Sweet.
Posted: Mar 17 2005, 11:43 AM by georged | with 3 comment(s)
Filed under:

Comments

TrackBack said:

^_^,Pretty Good!
# April 9, 2005 12:59 PM

António Pena said:

should that configuration be placed on the Consumer configuration, or on the webService configuration ?

# July 19, 2007 1:38 PM

Tom McNamee said:

Off Topic: George, a comment you left on egghead re: CRM Incidents just saved me a weekend.  Just wanted to say thanks!

- Tom

# December 4, 2008 3:00 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)