[Mono-devel-list] mcs

Miguel de Icaza miguel at ximian.com
Fri Jul 29 22:32:45 EDT 2005


Hello,

> As part of a project I have to study the mcs, especially those  
> structures corresponding to a symbol table, which shall later be used  
> in a source code analyzer. In the mcs, those symbol-table-like data  
> structures are just parts of the tree created when parsing. To get  
> some snapshots of these data-structures it would be fine to simply  
> dump the tree and watch its contents, because using a debugger is  
> quite cumbersome in this case.

mcs contains various different symbol tables.

The main repository though is "Reflection" so you wont really find it in
mcs.

> There is this ITreeDump Interface in tree.cs in line 16,  but it is  
> never implemented. Maybe anyone (of the developers) has used this for  
> debugging purposes when writing the compiler and later, when  
> everything went stable, removed those additional code. I'd be quite  
> grateful to get access to such code or otherwise some information on  
> how this whole tree used to be debugged when writing the compiler.

That is code from the early days, it has not been touched in many years.

You will have to dump your own data am afraid.

Miguel.



More information about the Mono-devel-list mailing list