Bug Vanquisher

6 April 2008

‘The’ Source Code

Filed under: Dev inside! — Tanveer Badar @ 2:51 AM

If you haven’t heard that .Net framework source code is available while debugging under Visual Studio 2008 Professional (may be standard too?) or higher, I suggest you crawl out of the rock you are living under so far.

Specific details about how to set up your environment to enable source level debugging in FX assemblies is here. And it works too. :)

However, what amazes me is that the build tree is even more cryptic than ROTOR. Take a look at the monstrous path to AppDomain.cs.

F:\NetFX Symbols\src\source\FX1434\1.0\DEVDIV\depot\DevDiv\releases\whidbey\REDBITS\ndp\clr\src\BCL\System\AppDomain.cs\7

Yes, the actual .cs file is under <blah blah blah>\AppDomain.cs\7 directory.

[Update: about one hour later]

1- Go to definition does not use this particular source server for whatever reason. Bug filed here.

2- Downloaded source code is not persisted for whatever reason. Suggestion filed here.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: