Patch (modified to take HiDPI into account) applied in r13747 (https://sourceforge.net/p/codeblocks/code/13747/), thank you.
The new patch of r13747 makes the fonts of debugging windows especially large. It doesn't match well with the GUI's font at all.
So, my suggestion is, calling SetFont in the released patch such as,
m_pText->SetFont(font.Scaled(cbGetContentScaleFactor(*this)));
might be much better like this, just as my original patch.
The users can change the editor's font to ensure the debugging windows' font size is right.