none
System.OverflowException RRS feed

  • Question

  • "A first chance exception of type 'System.OverflowException' occurred in VBIntru.exe "

    this type of exception is generated and my project get closed...

    and In OUTPUT window i got above statement as an Exception

    so give me proper direction about this exception.. 

    Sunday, January 19, 2014 5:58 AM

Answers

  • Hi Sharma,

    A first chance exception is when an exception is thrown but there is a catch block to handle it. When running your program you won’t know the exception was thrown because of the catch block. Enabling first chance exceptions stops the debugger whenever an exception is thrown, whether there is a catch block or not.

    To enable first chance exceptions, go to Debug - > Exceptions - > check the “Thrown” checkbox next to Common Language Runtime Exceptions.

    I pick up an article about first chance exception, please refer to the following link.

    http://malvinly.com/2012/05/25/net-4-0-and-first-chance-exceptions/.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 20, 2014 5:32 AM
    Moderator