gpu - Wierd behavior with Visual Studio Debugger -


i experienced weird behavior visual studio's debugger when running vs dedicated gpu.

what weird when terminate program building, debugger stays on. don't see when running vs integrated graphics. - checked if there threads or com-objects still alive , there active thread, no com references.

i think it's weird. have of experienced it? missing obvious? there settings changed or special rules when running vs dedicated gpu?

it doesn't hurt - makes ocd explode. ;)

thank in advance constructive input :d

most sincerely alpha silverback

i have been surfing around long time find answer. difference between running application different graphics accelerators thread doesn't die after winmain has returned when app running using dedicated gpu.

to fix - found through experimenting explicitly calling destructors of live object , calling std::exit( return code ) right before winmain's return call kill threads correctly. still weird different hardware produces different behavior, though. solution works both.

**example**: winmain(...){ . . . object.~class(); std::exit( return-code ); //return return-code; } 

i don't answer, because should not necessary.

please make sure add solutions if have found way. thank in advance.

most sincerely, alpha silverback


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -