Hi
I use system.reflection.emit to create runtime subclasses of some classes.
all works very well with one little problem.
I cannot use quickwatch on my proxies , they just show up in quickwatch as
"{}" instead of showing a tree with properties etc.
also , when hovering an proxyinstance with the mouse in break mode , it also
only shows "{}" instead of "{myclassname}" which normal instances do
do i have to set some special settings in the assembly builder to make the
debugger able to view the contents of a proxy?
Vadym Stetsyak - 07 Oct 2005 15:30 GMT
AFAIK the debugger uses *.pdb files to collect the information about the
data you're debugging. Runtime class doesn't contain such info...
You can create not runtime class, that will give you the possiblity to
"quickwatch" on your runtime proxies

Signature
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
> Hi
>
[quoted text clipped - 10 lines]
> do i have to set some special settings in the assembly builder to make the
> debugger able to view the contents of a proxy?
Roger - 08 Oct 2005 20:05 GMT
that cannot be true since its very possible to quickwatch objects from
releasemode assemblies..
Vadym Stetsyak - 10 Oct 2005 11:55 GMT
If the debug information is included it will be debuggable...
For dynamic assemblies it is necessary to emit also symbolic info. With this
info debugger can map your names with parts in the code
Also you can look through these links ( watch for word wrap ):
(
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conemittingsymbolicinformationwithreflectionemit.asp )
( http://blogs.msdn.com/jmstall/archive/2005/02/03/366429.aspx )

Signature
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
> that cannot be true since its very possible to quickwatch objects from
> releasemode assemblies..