one other farout possibility is the weird problems that can happen in debug
mode when there are values being tracked in the watch window that actually
interfere with the debugging. (I am not making this up) 

If you do have anything in there, try clearing them out and see if that
makes .net less crazy.



-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Suter
Sent: Monday, February 13, 2006 3:23 PM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] RES: [ADVANCED-DOTNET] .NET IS CRAZY ...

On one troublesome occasion I found that on one users machine only, a
function that contained just one line of code was never run.
(this was to seperate code that could be obfuscated from code that couldn't)
Once I added a couple of extra lines for tracing the code ran fine.
I'd be looking at what happens if you expand 'If lista.Count = 0 then
FillFunction()' into multiple lines.


----- Original Message -----
From: "Vitor Dantas de Andrade" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 13, 2006 2:07 AM
Subject: [ADVANCED-DOTNET] 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: [email protected]
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."
> ><[email protected]>
> >To: [email protected]
> >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

Reply via email to