January 16, 2007

dotNET - Debugging

Debugging with .NET MSIL assemblies Visual Studio and debugging the CLR are different, I'll talk about both.

MSIL Assemblies
Assemblies compiled with .NET tools such as the CLR compiler are compiled into a file which contains MSIL (Microsoft Intermediate Language). At runtime the contents of the assembly are loaded into the CLR and ran as machine code. When you compile an assembly in debug a PDB file is generated alongside the DLL or EXE you've just created. The link between these 2 files is that the PDB contains the line numbers of the methods and classes as well as the file names of the original source code that created the assembly. When you launch the debugger in Visual Studio the assembly is loaded into the Debugger (similar to the CLR) along with the PDB file. The debugger now uses your PDB file contents to match the running code found in the assembly to locations in source files (hopefully in your present project).

CLR Inside Out (msdn magazine)
.NET Framework Tools: CLR Debugger


john mathew said...

Good explanation

dot net training in chennai

PHP course in chennai said...

This is very useful information. Thanks for sharing.

Roshini RS said...

Thanks for sharing this useful information to my vision...
Web design training in Chennai

varshini devi said...

It's really informative blog. thanks for sharing this useful information to our knowledge...
JAVA Training in Chennai

jhansi joe said...

This post having niche information to make myself updated. Angularjs is the extended version of HTML with new attributes. It’s a JavaScript framework that can be added to an html page with a tag of script.if you want to study
Angular training in chennai get into FITA.
Angular course in chennai | Angular training institutes in Chennai

Melisa said...

I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
PHP Training Institute in Chennai

caroline jesi said...

Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
PHP Training in Chennai

jhansi joe said...

Thanks of sharing this post…Python is the fastest growing language that helps to get your dream job in a best way, so if you wants to become a expertise in python get some training on that language.
Python Training in Chennai|Python Training|Python Training Institutes in Chennai