Can't add a variable watch!
-
Hello everyone! Okay, I have a variable that gets changed to 0 somewhere in my code, and I want to know where. So I added a variable watch (VS 2005), however, on the watches list, it displays as this with an error icon to the left:
((Server.Client)((new System.Collections.ArrayList.ArrayListDebugView(this.clients)).Items[0])).id The type name 'Client' does not exist in the type 'Server.Server'
First, I didn't know you could have a type inside another type. The variable I'm trying to add is public memberid
of the classClient
.Server.Server
is a class containing a custom ArrayList ofClient
s. Does anyone know why I'm getting that error? Thanks!Windows Calculator told me I will die at 28. :(
-
Hello everyone! Okay, I have a variable that gets changed to 0 somewhere in my code, and I want to know where. So I added a variable watch (VS 2005), however, on the watches list, it displays as this with an error icon to the left:
((Server.Client)((new System.Collections.ArrayList.ArrayListDebugView(this.clients)).Items[0])).id The type name 'Client' does not exist in the type 'Server.Server'
First, I didn't know you could have a type inside another type. The variable I'm trying to add is public memberid
of the classClient
.Server.Server
is a class containing a custom ArrayList ofClient
s. Does anyone know why I'm getting that error? Thanks!Windows Calculator told me I will die at 28. :(
Try typing the fully qualified name of Client in the watch window.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: How men in the Catholic Church replaced Passover with Easter The apostle Paul, modernly speaking: Epistles of Paul Judah Himango