.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification