c++ - Suppress debug output of SetThreadName exception in MSVC -


i using suggested way set name of thread via setthreadname. works, , see names changing in thread view tool window. however, exception message printed out debug output window. since have several threads, may several of these messages, none. example message:

first-chance exception @ 0x75419558 (kernelbase.dll) in myprogram.exe : 0x406d1388 (parameters: 0x00001000, 0x00e1eb70, 0x00000a40, 0x00000000). 

although exception gets handled/ignored should __except block, , continues without problem, concerns me. there explanation why happens, , happens intermittently? there other way avoid message, or there way suppress output of exception message debug output?

note: seems happen in versions of visual studio - have tested vc2010-2015rc.

what first chance exception?

when have debugger attached, exceptions thrown given debugger first. why displaying exception though handle exception __except(exception_execute_handler) clause. debugger gets first chance handle it. in case seems print received , pass along normally.

to disable these messages, can right click on output menu , uncheck exception messages.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -