The watch window is used for evaluating/manipulating variables and
expressions. You may be more interested in the immediate window to perform
actions such as ToString(), Count, etc on your object.
If you're just interested in evaluating variables (such as the items in an
ArrayList) then make sure you have instantiated and populated your object
members with something. What type of object is it? An ArrayList, for
example, will not show what varaibles make up the arraylist until you
populate the ArrayList.
[quoted text, click to view] "Toby Te Rupe" wrote:
> VS.NET 2003 1.1 Framework. When I add an object into the watch window I can
> not see any of the properties of the object. :( Can anyone please tell me
> why.
> TIA
>
>
Sorry, but the object is a strongly typed object.
eg Datarow. I can not see any properties of any object.
example
Readonly property Test as System.Data.DataRow
Set(ByVal Value As System.Data.DataRow)
moValue = Value
End Set
End Property
If I stop the debugger on moValue and add movalue to the watch window I can
not see any object properties of Datarow.
[quoted text, click to view] "JP.Sklenka" <JPSklenka@discussions.microsoft.com> wrote in message
news:CFDFEEBE-9920-4216-B5DE-15EE88DC55B6@microsoft.com...
> The watch window is used for evaluating/manipulating variables and
> expressions. You may be more interested in the immediate window to
> perform
> actions such as ToString(), Count, etc on your object.
>
> If you're just interested in evaluating variables (such as the items in an
> ArrayList) then make sure you have instantiated and populated your object
> members with something. What type of object is it? An ArrayList, for
> example, will not show what varaibles make up the arraylist until you
> populate the ArrayList.
>
> "Toby Te Rupe" wrote:
>
>> VS.NET 2003 1.1 Framework. When I add an object into the watch window I
>> can
>> not see any of the properties of the object. :( Can anyone please tell me
>> why.
>> TIA
>>
>>
>>
Can you tell us the message if you are trying to watch the said variable?
Have you tried using the immediate window?
[quoted text, click to view] "Toby Te Rupe" <toby@NOSPAM.smarttrade.net.nz> wrote in message
news:%23fnpK275EHA.1400@TK2MSFTNGP11.phx.gbl...
> Sorry, but the object is a strongly typed object.
> eg Datarow. I can not see any properties of any object.
> example
>
> Readonly property Test as System.Data.DataRow
> Set(ByVal Value As System.Data.DataRow)
> moValue = Value
> End Set
> End Property
>
> If I stop the debugger on moValue and add movalue to the watch window I
can
> not see any object properties of Datarow.
>
> "JP.Sklenka" <JPSklenka@discussions.microsoft.com> wrote in message
> news:CFDFEEBE-9920-4216-B5DE-15EE88DC55B6@microsoft.com...
> > The watch window is used for evaluating/manipulating variables and
> > expressions. You may be more interested in the immediate window to
> > perform
> > actions such as ToString(), Count, etc on your object.
> >
> > If you're just interested in evaluating variables (such as the items in
an
> > ArrayList) then make sure you have instantiated and populated your
object
> > members with something. What type of object is it? An ArrayList, for
> > example, will not show what varaibles make up the arraylist until you
> > populate the ArrayList.
> >
> > "Toby Te Rupe" wrote:
> >
> >> VS.NET 2003 1.1 Framework. When I add an object into the watch window
I
> >> can
> >> not see any of the properties of the object. :( Can anyone please tell
me
> >> why.
> >> TIA
> >>
> >>
> >>
>
>
Actually resolved this problem!
We found that it was due to adding an empty porject to our solution, can you
beleive that. i.e the project included had no files. just a place for future
development.
We found that when we removed this empty project from the solution the
debugger worked fine!
If you add one class to empty project all is well too, a bug in VS.NET
prehaps?!
Oh well, I am a much happier camper now.
Cheers everyone.
[quoted text, click to view] "Toby Te Rupe" <toby@NOSPAM.smarttrade.net.nz> wrote in message
news:OBZ3SL75EHA.3120@TK2MSFTNGP12.phx.gbl...
> VS.NET 2003 1.1 Framework. When I add an object into the watch window I
> can not see any of the properties of the object. :( Can anyone please tell
> me why.
> TIA
>