remedybg-issues
remedybg-issues copied to clipboard
Flickering when stepping through code
Contents of windows like 'Call Stack' or 'Threads' are flickering when stepping through code. I guess this is because these windows are empty while the program is running. Although the current behavior seems to be 'correct' (because the program is actually running for a short period of time) it feels annoying and distracting to me personally.
Thanks for your great work! I love the speed and snappiness of RemedyBG!
Addendum: The flickering only occurs in a large application that consists of hundreds of modules. In smaller programs everything looks fine.
It also happens if you have sleep in your code. For example, I have only main.cpp where I open a window, process messages and sleep:
int WinMain(HINSTANCE Instance, HINSTANCE PrevInstance, LPSTR CommandLine, Int32 ShowCode))
{
// RegisterClassA call
// AdjustWindowRect call
// CreateWindowExA call
Running = true;
while (Running)
{
MSG Message;
while (PeekMessageA(&Message, 0, 0, 0, PM_REMOVE)) {
if (Message.message == WM_QUIT) Running = false;
TranslateMessage(&Message);
DispatchMessageA(&Message);
}
Sleep(30);
}
return 0;
}
This code already makes debugger flicker when I go over Sleep by pressing F5, F10, etc.
My use case is about simple steps, like assigning an integer. In large programs this is no longer as fast as in small ones. In RemedyBG, the slowdown is considerably less than in VS.