Also, maybe put a messagebox or a print statement in there to check it. MessageBox.Show(lista.Count.ToString())
Greg -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Steve Welborn Sent: Monday, February 13, 2006 09:33 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: .NET IS CRAZY ... Crazy question, but are you checking the value before, during, or after you are in the debugger checking the code? If you check the value while the debugger is 'On' or 'before' the code you want to check then it might not be updated to the correct value yet. You might have to f10 past it to get a correct value. I know it's basic, but it happens. -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Miley Sent: Monday, February 13, 2006 9:12 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] .NET IS CRAZY ... Perhaps upload the image to your website and provide a link. Thanks, Greg -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vitor Dantas de Andrade Sent: Sunday, February 12, 2006 10:25 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: RES: [ADVANCED-DOTNET] .NET IS CRAZY ... HI, The code is right, i´m doing it in VB ... It´s realy a bug on Vstudio, i sent a screenshot to prove it, but i can´t post it on this list. Thanks, Vitor -----Mensagem original----- De: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Em nome de Gregory Miley Enviada em: segunda-feira, 13 de fevereiro de 2006 11:01 Para: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Assunto: Re: [ADVANCED-DOTNET] .NET IS CRAZY ... If you are writing in C# then I would make sure you are comparing not setting: if( lista.Count == 0) { /* ... */ } Instead of: if( lista.Count = 0) { /* ... */ } Since we still do not have any real code to go by, I can only assume this might be the problem. Greg -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vitor Dantas de Andrade Sent: Sunday, February 12, 2006 10:07 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: RES: [ADVANCED-DOTNET] .NET IS CRAZY ... Hi everybody, Sorry about the code ... I sent the picture but you didn´t get it ... The code is very simple, its like : If lista.Count = 0 then FillFunction() The problem is, when i get to this line, the debugger shows lista.Count = 3, but the code enters the FillFunction() Lista is a generics list I found that the code is running right, but Visual Studio is showing the wrong value on the watch list. It´s a bug, but on Vstudio rather then the framework ... Thanks, Vitor -----Mensagem original----- De: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Em nome de Frans Bouma Enviada em: sexta-feira, 10 de fevereiro de 2006 06:32 Para: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Assunto: Re: [ADVANCED-DOTNET] .NET IS CRAZY ... > Sorry, I was only joking, I do not suspect the framework is crazy. I know, Paul ;) > My COM days are thankfully a distant memory!!! I don't understand this that much, but perhaps you had a horrific experience with the wonderful world of COM and DCOM and I can fully understand you therefore are happy with every millimeter you can get away from it ;) FB, who has to admit 'Essential COM' was a bit complex > > [EMAIL PROTECTED] > > > > > >From: Frans Bouma <[EMAIL PROTECTED]> > >Reply-To: "Discussion of advanced .NET topics." > ><ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > >To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > >Subject: Re: [ADVANCED-DOTNET] .NET IS CRAZY ... > >Date: Fri, 10 Feb 2006 10:12:10 +0100 > > > > > The whole framework is corrupt!!!!! > > > > > > I'm going back to ASP et. COM!!!! > > > > COM and DCOM aren't that bad, the performance of DCOM still > >beats .NET's equivalents hands down and ATL is pretty cool too. > >It's just that this cool tech is simply lacking easy to use > tooling ala > >delphi. I mean: delphi managed to offer C++ speed > programming and also > >COM/DCOM creating abilities without the 'don't touch this comments, > >bubba! we know they're just comments but they're precious material, > >alright?'-goo. > > > > FB > > > >=================================== > >This list is hosted by DevelopMentorR http://www.develop.com > > > >View archives and manage your subscription(s) at > >http://discuss.develop.com > > =================================== > This list is hosted by DevelopMentorR http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com