[Debugger] minor code cleanup