I've done a little more work with adding source stream information to pdb files. As it turns out visual studio only uses the source server functionality during debugging. It is too stupid to use it outside of the debugger. So unlike most Java IDE's which can navigate into the source code of referenced libraries (as long as the source jars are provided), Visual Studio can only step into the source code of a referenced library when debugging.

Assuming the hooks are there, a VS addin could probably add this functionality.

On Sep 24, 2008, at 5:27 PM, James Carpenter wrote:

Creation of the source stream to insert into the pdb files requires an understanding of which source files are associated with a given class/type in the associated assembly. Unlike Java, C# does not require the directory/filename structure to match the namespace/ classname. Is this information available as output from csc? Is there a utility in nmaven which already understands this association?

Although I haven't looked closely, I believe the perl files which come with srcsrv are doing a simple search of the source files. Generically speaking it would be much better to use information output by the relevant .NET compiler.

Sincerely,
James Carpenter
cell: 832-677-7247
email: [EMAIL PROTECTED]



Reply via email to