Disable windows thread naming doesn't work
The SDL_GetHint(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING); returns "1" still throw exception 0x406d1388 when I using pure managed .NET debugger launch the app. I set SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING via environment variable.
Someone knows how to fix it? Thanks.
The environment variables are the values of the hint macros, so you should set SDL_WINDOWS_DISABLE_THREAD_NAMING instead.
Try this out.
Also please don't run binaries, randomly posted on forums.
edit Looks like GitHub flagged and removed this post themselves.
@madebr
@madebr His personal page is 404 now.
@madebr No. I have set both "SDL_WINDOWS_DISABLE_THREAD_NAMING", "SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING" to "1" before I post the issue.
docs/README-migration.md
849:* SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING - SDL now properly handles the 0x406D1388 Exception if no debugger intercepts it, preventing its propagation.
(Perhaps that isn't true, though. But that hint is gone in SDL3.)