I can't catch an exception

Sysprogs forums Forums VisualGDB I can't catch an exception

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27780
    davidoz
    Participant

    Hi Support,

    This is probably not the right forum to ask this, but I thought I’d try.  I have some legacy code that throws an exception.  However, when it is thrown the c++ library is calling std::terminate().   That usually means there is no matching catch.  I’ve used all sorts of catch parameters, including catch(…) but all the same result.  I’ve tried catching the exception in the same function that throws it and using the -fexceptions switch.

    Has anyone got any suggestions?

    Cheers

    David

     

    #27781
    support
    Keymaster

    Sorry, this looks like a generic C++ question and is outside of the VisualGDB support scope. For generic programming questions please consider sites like StackOverflow.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.