?
Solved

.Net Debugger is not displaying the values for highlighted variabled

Posted on 2014-10-02
10
Medium Priority
?
152 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 1000 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 1000 total points
ID: 40358474
it sometimes happen to me. Normally, a clean and rebuild do the trick
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

771 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