Debugging and Guids

G

Guest

VB2005
in an app i have a variable defined as a Guid.
This variable is populated from a sql server database.
If i look at it using myGuid.ToString i see the expected value of the guid,
however if i look at it using quickwatch or by hovering over it it shows as
'empty'

any idea why?
 
M

Michael Nemtsev

Hello Guy,

Could you show the short but complete code demonstrating this issue?

G> VB2005
G> in an app i have a variable defined as a Guid.
G> This variable is populated from a sql server database.
G> If i look at it using myGuid.ToString i see the expected value of the
G> guid,
G> however if i look at it using quickwatch or by hovering over it it
G> shows as
G> 'empty'
G> any idea why?
G>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
G

Guest

hi Michael,
fut this in a winforms form load:-

Dim g As System.Guid
g = Guid.NewGuid
Dim s As String = g.ToString

hover over g and is shows as empty as does a quickwatch on it, but s
displays the value

cheers

guy
 
M

Michael Nemtsev

Hello Guy,

Hmmm, strange. The code is ok
Do you have this behavior with any project or only with this specific one?

Did you install some 3rd party tools/addon?

G> hi Michael,
G> fut this in a winforms form load:-
G> Dim g As System.Guid
G> g = Guid.NewGuid
G> Dim s As String = g.ToString
G> hover over g and is shows as empty as does a quickwatch on it, but s
G> displays the value
G>
G> cheers
G>
G> guy
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
G

Guest

Hi Michael,
this example is somethin i just knocked up, orignally it occurred on an
ASP.NET 2 application where the GUID was read from a sql server database.
both on my box though. i have no addins loaded up, just VS2005 professional,
also SQL Server 2005 and the normal office apps etc.

are you seeing this too?

cheers

guy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top