Re: Difference between F5 et running directly the debug exe
- From: garyusenet@xxxxxxxxx
- Date: 29 Nov 2006 08:45:07 -0800
When you run an object in debug mode (F5) objects aren't cleared by the
GC in the same way that they are when you run the release version. The
reason being that they are kept alive so you can do things like view
them in the debugger and check what there values are etc... This
probabally has a lot to do with your problem.
caveat: *i'm a complete novice, what i say may be completely wrong...*
HTH Gary.
Antoine P. wrote:
Hello there -
I've got the following problem: my C# app (an .exe using different
dlls) has a different behaviour regarding the way I launch it.
The right behaviour when I press F5 from Visual C# Express, and the
wrong when I launch the exe file from the bin\debug directory.
What's the difference between the 2 calls ? This is the same .exe !
Are dll loaded differently ?
The difference is an object which becomes empty for an unknown reason.
Thanks!
Antoine.
.
- References:
- Difference between F5 et running directly the debug exe
- From: Antoine P.
- Difference between F5 et running directly the debug exe
- Prev by Date: RE: Problem Creating ListView Items - updated
- Next by Date: Re: Difference between F5 et running directly the debug exe
- Previous by thread: Difference between F5 et running directly the debug exe
- Next by thread: Re: Difference between F5 et running directly the debug exe
- Index(es):
Relevant Pages
|