When OpenGL extensions are used that have been referenced by wglGetProcAddress, the debugger gets stuck when calling this extension, i.e. executing a single step with that extension is not possible:
As a possible workaround, I usually set a further breakpoint after the critical line (containing the extension) and press "Continue" to jump to that breakpoint.
The example code above unfortunately does need some preparation, you also need to use -lopengl32 -lgdi32 as a linker setting. The minimal working example is:
When OpenGL extensions are used that have been referenced by wglGetProcAddress, the debugger gets stuck when calling this extension, i.e. executing a single step with that extension is not possible:
As a possible workaround, I usually set a further breakpoint after the critical line (containing the extension) and press "Continue" to jump to that breakpoint.
The example code above unfortunately does need some preparation, you also need to use
-lopengl32 -lgdi32
as a linker setting. The minimal working example is: