How to disable GenTLCommon::ExceptionTyped<-1011>?

Hello,
I’m using CVB V 14.1 on Windows 64 bit and Visual Studio 2022. CVB floods the IDEs output window, making me a hard time debugging and stepping through my application while trying to follow my own OutputDebugStrings:

Exception thrown at 0x00007FFEA5DA933A in ImgAcq1.exe: Microsoft C++ exception: GenTLCommon::ExceptionTyped<-1011> at memory location 0x000000F8A8AFF018.
Exception thrown at 0x00007FFEA5DA933A in ImgAcq1.exe: Microsoft C++ exception: GenTLCommon::ExceptionTyped<-1011> at memory location 0x000000F8A8AFF148.
Exception thrown at 0x00007FFEA5DA933A in ImgAcq1.exe: Microsoft C++ exception: GenTLCommon::ExceptionTyped<-1011> at memory location 0x000000F8A8AFF018.
Exception thrown at 0x00007FFEA5DA933A in ImgAcq1.exe: Microsoft C++ exception: GenTLCommon::ExceptionTyped<-1011> at memory location 0x000000F8A8AFF148.

There is an old topic from 2023 on this forum, but it does not solve my problem.

Released libraries should not pollute the OutputDebutString space, because users of the library might need to use this api on their own.

So is there a way to disable the many exceptions thrown and handled by CVB internally or any other way to make these messages disappear from my VS2022 output window while leaving my own messages and exception notifications there?

Hi @Jan
I understand that this is not practical having such a huge number of Exception outputs. Especially as they do not refer to an issue.
Beyond that I did not find a way to supress these exception outputs from Visual Studio 2022.

I am in contact with the development team to discuss what options we have. For now I do not have no workaround for you.

1 Like

Hi @Jan ,
thank you for your question, and yes, we acknowledge the existence of those messages.

The fact, that we throw exceptions (which is normal in c++) is due to internal design and the root cause is not limited to a certain part of our libraries. Therefore, there is no fast and simple solution. This leads us to a very careful consideration on how to cope with that. We have ideas and will look into this.

1 Like