Need tip on debugging

  • Thread starter Thread starter Alexander Muylaert
  • Start date Start date
A

Alexander Muylaert

Hi

I got stuck.

I Implemented a structure that supports ITypedList. I also have my own
inherited class of PropertyDescriptor, ...

Everything works. It shows the right properties inside the grid and these
values shown are what they are supposed to be.

Now when I change this value and go to another field, it will take the app a
3 seconds to do something. I know an exception occurs here. I just don't
know wich one and I cannot find wich one.

When I link my class through databinding to an editbox, I change the value,
it restores the original value after 3 seconds. So an exception has
occured. The problem is that this exception is probably caught somewhere in
another assembly and fully handled. I know I'm doing something wrong, but I
cannot find where.

How can I have VS stop on any exception that occurs. Also on the handled
ones?

Kind regards

Alexander
 
Okay

I figured out how to show all exceptions.

I have an "InvalidCastException. Invalid cast from System.String to
System.Reflection.RuntimePropertyInfo".

The problem is that I have nothing in my call stack, I only have the
Application.Run statement there. Anybody has an idea how to get this a bit
more specified?

kind regards

Alexander
 
Back
Top