Windows Vista Beta | WinVistaBeta.com - Message | VC++ 2008 Express: watch managed expressions

November 20, 2008  
Subject: VC++ 2008 Express: watch managed expressions
Group: microsoft.public.vstudio.general
Date: 8/27/2008 8:15:10 PM
From: "Armin Zingler" [Email Address Protection]

Hi,

according to this page
http://msdn.microsoft.com/en-us/library/ms164906.aspx
even in the Express version it should be possible to watch managed
expressions when debugging a managed application that has been compiled with
full debug information. Is this really true? I wasn't successful. Symbol
information could be loaded successfully according to the modules window.

I can set break points, single step through the code. However, the locals
window is always empty (yes, in break mode). I can't add expressions to the
watch window or print values in the immediate window because I always get
the message "expression can not be evaluated", be it only an existing
variable name.

Is there anything else I have to do to make it possible? Or does it just not
work in the Express version?


Armin


Back
Subject: Re: VC++ 2008 Express: watch managed expressions
Group: microsoft.public.vstudio.general
Date: 9/2/2008 4:57:51 AM
From: "Armin Zingler" [Email Address Protection]

"Armin Zingler" <az.nospam@freenet.de> schrieb
> Hi,
>
> according to this page
> http://msdn.microsoft.com/en-us/library/ms164906.aspx
> even in the Express version it should be possible to watch managed
> expressions when debugging a managed application that has been compiled
> with
> full debug information. Is this really true? I wasn't successful. Symbol
> information could be loaded successfully according to the modules window.
> [...]

Maybe this gives a picture...
http://freenet-homepage.de/armin.zingler/vc.PNG

At least I expect a value in the locals window (bottom center "Lokal").


Armin


Back
Subject: Re: VC++ 2008 Express: watch managed expressions
Group: microsoft.public.vstudio.general
Date: 9/9/2008 8:53:35 AM
From: "Armin Zingler" [Email Address Protection]

"Armin Zingler" <az.nospam@freenet.de> schrieb
> "Armin Zingler" <az.nospam@freenet.de> schrieb
> > Hi,
> >
> > according to this page
> > http://msdn.microsoft.com/en-us/library/ms164906.aspx
> > even in the Express version it should be possible to watch managed
> > expressions when debugging a managed application that has been
> > compiled with
> > full debug information. Is this really true? I wasn't successful.
> > Symbol information could be loaded successfully according to the
> > modules window. [...]
>
> Maybe this gives a picture...
> http://freenet-homepage.de/armin.zingler/vc.PNG
>
> At least I expect a value in the locals window (bottom center
> "Lokal").

It seems I have to live with it. I thought it also works in the Express
version. Obviously not.


Armin


Back