Debugging Assembly loading

Does a referenced assembly get loaded if no types in the assembly are “not used”? The term used is is very subjective. For a developer it would mean that you probably never created an instance or called a method on it. But this does not cover the whole story. You can instead consider what are…

0

ServiceHosts & executing Operations from a crash/hang dump

Incase you are not sure of how to debug managed code with with a crash/hang dump, then you most likely need to read this first. Once you have SOS and mscordacwks(.net 3.5 and up)  loaded you first dump the heap to find out if you have any services hosts at all. We quickly find the…

0

Throttling using managed semaphores and named monitors

Firstly I would like to explain what is a managed semaphore. This was introduced to me during a session by Andy Clymer (developmetor). Basically the requirement of a semaphore is pretty clear but then again we don’t have to resort to kernel objects and mutexes if not required to step out from our little managed…

1

Disabling JIT Optimizations

INI files are not dead yet 🙂 Now if you wanted to disable JIT optimization then place this into your application directory as a <appName>.ini file [.NET Framework Debugging Control]GenerateTrackingInfo=1 AllowOptimize=0 Why would you want to do this?Mostly when debugging in release mode you might not the get the correct stack dump. Eg: JIT might…

1