Break-in request hangs indefinitely

If you encounter problems debugging and VisualGDB states that the break-in request is taking too long, you may be affected by a race condition in GDB. The race condition occurs when VisualGDB requests GDB to stop shortly after resuming execution. You can work around this bug by increasing the minimal delay between resuming a GDB session and requesting a break-in. The setting can be found in Tools->Options->VisualGDB->General->Tweaking:

Initially try setting the value to 300 milliseconds and if that does not help, increase it to 500 and then 1000.