[Debugger] fixed some long-standing compiler warnings