Why does the Visual C++ debugger freeze at every breakpoint when debugging SDL apps?
The DirectX drivers have a system lock while you have video surfaces locked. To avoid this, you can set the video driver to GDI by setting the SDL_VIDEODRIVER environment variable to: windib Since this changes video and mouse/keyboard input drivers, you’ll see a difference in performance and features available, but you’ll be able to debug your application more easily.