Very Strange Debugging Issues
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngvs' list.


Martin Garins
I have a very strange problem that just started cropping up.
When debugging a Web Application Certain variables do not show up
correctly in Watch Window.

For example=20

...
Dim lngUID As Long =3D Session("UID")
Dim lngAID As Long =3D Request.QueryString("AID")
Dim ConnString As String =3D Application("ConnString")
Dim bolCanView As Boolean =3D False
Dim objUser As New User()
Dim objUtil As New EIWebEngine.CacheUtil()

If objUser.IsAdministrator(lngUID, ConnString) Then

....
If I set a breakpoint at the last line show and view the value of
ConnString
ConnString is Nothing
However when I Step into the IsAdministrator method and view the value
that get passed in I get what I expect.

This happens in other sections of code and is not limited to String
Variables and the Application object

I have already "repaired" my VS.NET installation with no luck.=20
I have tried aspnet_regiis.exe with no luck as well.

Any idea or suggestions would be appreciated

Thanks
Martin Garins, MCSD
Vice President - Technology
e-Intersect Corp.
http://www.e-intersect.com
http://www.jppex.com

Reply to this message...
 
    
Martin Garins
I solved my own problem .. It seemed to be an issue with Compuware
DevPartner profiling tool.

I uninstalled that tool an everything starting working.

Martin Garins, MCSD
Vice President - Technology
e-Intersect Corp.
http://www.e-intersect.com
http://www.jppex.com

-----Original Message-----
From: Martin Garins=20
Sent: Wednesday, July 17, 2002 2:09 PM
To: aspngvs
Subject: [aspngvs] Very Strange Debugging Issues

I have a very strange problem that just started cropping up. When
debugging a Web Application Certain variables do not show up correctly
in Watch Window.

For example=20

...
Dim lngUID As Long =3D Session("UID")
Dim lngAID As Long =3D Request.QueryString("AID")
Dim ConnString As String =3D Application("ConnString")
Dim bolCanView As Boolean =3D False
Dim objUser As New User()
Dim objUtil As New EIWebEngine.CacheUtil()

If objUser.IsAdministrator(lngUID, ConnString) Then

....
If I set a breakpoint at the last line show and view the value of
ConnString ConnString is Nothing However when I Step into the
IsAdministrator method and view the value that get passed in I get what
I expect.

This happens in other sections of code and is not limited to String
Variables and the Application object

I have already "repaired" my VS.NET installation with no luck.=20
I have tried aspnet_regiis.exe with no luck as well.

Any idea or suggestions would be appreciated

Thanks
Martin Garins, MCSD
Vice President - Technology
e-Intersect Corp.
http://www.e-intersect.com
http://www.jppex.com

| [aspngvs] member Click here to reveal e-mail address =3D YOUR ID=20
| http://www.asplists.com/asplists/aspngvs.asp =3D JOIN/QUIT=20
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com