Solved

.Net Debugger is not displaying the values for highlighted variabled

Posted on 2014-10-02
10
149 Views
Last Modified: 2014-10-23
For some reasons, this specific project debugger is not displaying the values for the highlighted variable. I have tested for other projects which are working fine.

My Windows Application calls the Web service - which calls this Class Project. I was able to debug in the past, I am not sure what i am missing for now. I couldnt debug it.
C--Users-ZHQ8HPV-Desktop-DebuggerVariabl
0
Comment
Question by:chokka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
10 Comments
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 250 total points
ID: 40358304
in the immediate window did you try typing
?_userId

I'm assuming you're looking for the right hand side?

Where are those variables defined?
0
 

Author Comment

by:chokka
ID: 40358324
Thank you @Kyle, I have to try again by running the project !!
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 40358474
it sometimes happen to me. Normally, a clean and rebuild do the trick
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 

Author Comment

by:chokka
ID: 40359814
@kyle, My command window is not detecting the variable values.

I tested in a separate project, Command window automatically pulls the variable and can see the values.

This Project has a different architecture.


Windows App - Calls Web Layer Application -

I am not able to see the debugger in the Web Layer Application.

I was able to see till Yesterday.
C--Users-ZHQ8HPV-Desktop-DebuggerCommand
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 40359897
What URL are you hitting for the webservice?  If you're not hitting local host you may have to attach the debugger manually.
0
 

Author Comment

by:chokka
ID: 40360230
I am using the local host. I have attached the asp.net worker process w3wp.exe
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 40363777
You're not breaking on that line  (otherwise you'd have the yellow arrow with it).  The variable might be out of scope.  

Also I don't see _userId declared anywhere, is it somewhere else in the class?

Try first calling that function (even with a test button) and then seeing if you can get at it.
0
 

Author Comment

by:chokka
ID: 40373669
Still now, i am not able to give an exact reason. Sometime debugger works and sometimes, it fail to work !! Couldnt able to find out the exact reason
0
 

Author Comment

by:chokka
ID: 40399617
@kyle and @Éric Moreau, Thank you guys !!

But i feel like, i found the solution.

.suo file is the debugger for the .sln file.

Delete the .suo file. Probably debugger might have corrupted.

.suo will create automatically when we run the solution. We can debug.
0
 

Author Closing Comment

by:chokka
ID: 40399625
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question