Tomy.
A programming error. If you have things set up right, it will drop into
your code at the spot that triggers the exception, which may or may not
be where the actual error occurs depending on what type of exception it
is (and "first-chance exception" is NOT descriptive, that could be
anything from an access violation to a division by zero).
Craig Powers wrote:
>
> Tomislav Petrovic wrote:
> >
> > I'm a multithreading newbie....
> > I get first-chance exception debugging my program....
> > What action can cause such exception?
>
> A programming error.
Or not. A first chance exception may just be a page fault, that is,
an access to a piece of your address space not currently resident
in memory. The operating system handles this exception by allocating
some memory, filling it with the appropriate data (generally either
zeroing it out or reading it from disk), and restarting the faulting
instruction.
It's only if the first-chance fails that your program will be delivered
a real system exception.
exceptions arent necessarily evil; lots of code relies on them to
perform their tasks...
_unhandled_ exceptions are another chapter though....
/johan
"Tomislav Petrovic" <tomi...@envox.hr> wrote in message
news:93jsoc$86i3$1...@as121.tel.hr...
I am getting hundreds of these 'first chance..' trace logs
in my debug window in MVC++, is there a way to turn this off???
Please????
Since it only means a page fault, it is destracting me from
important traces.
Marc Wentink
Sent via Deja.com
http://www.deja.com/