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.

FAQ_Visual_C++_Debugger_Freezes_at_Breakpoints (last edited 2008-04-17 08:18:12 by localhost)