Any way to debug using the server GC on a workstation? RRS feed

  • Question

  • Hi,

    We have a race condition somewhere in (some rather twisted) Dispose() logic that only shows up when the app is hosted on a server running under IIS.  If we try and repro on a dev machine (even multi-core), the problem never happens.  It's a pain trying to attach the debugger to IIS for a number of reasons (mainly because some assemblies are dymanically loaded and lifetimes are managed by WCF).  Is there any way to run a console app from dev studio with the Server GC enabled to our unit tests can attempt to reproduce and diagnose our problem?  Thanks!


    Erik Johnson
    Wednesday, December 1, 2010 12:54 AM


All replies