No, its not a winforms ... And theres no other threads changing the value ..
-----Mensagem original----- De: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Em nome de Aranki, Tim Enviada em: quinta-feira, 16 de fevereiro de 2006 19:52 Para: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Assunto: Re: [ADVANCED-DOTNET] RES: [ADVANCED-DOTNET] .NET IS CRAZY ... Just a thought, but is this a WinForms app? Is it possible that there is another thread that is updating that value? /tim -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Russ Alan Sent: Thursday, February 16, 2006 3:07 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] RES: [ADVANCED-DOTNET] .NET IS CRAZY ... If it's not a pdb out of sync issue, it's probably a side-effect. I've seen "crazy" stuff when I had unexpected side effects. For instance, what is in your watch window? Sometimes a property displayed in the watch window has side-effects that change what is happening in the normal flow of control. Same for functions evaluated in the watch or immediate windows, or even evaluating for display in "fly over" tool tips! This is particularly common when debugging "lazy init" logic where you want to step through the init portion, but it got initialized before what you *know* is the first execution. Russ -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vitor Dantas de Andrade Sent: Thursday, February 16, 2006 2:37 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] RES: [ADVANCED-DOTNET] .NET IS CRAZY ... I´m sorry guys, I only check this list from time to time ... Here´s the link to the screenshot... http://201.17.129.58/publico/code.jpg The tooltip shows the value of Count, but the yellow line shows that the code did what it should´nt ... 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:12 Para: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Assunto: 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 =================================== 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